docs now show nimExperimentalX APIs (#18345)

* docs now show nimExperimentalX APIs

* fix for windows
This commit is contained in:
Timothee Cour
2021-06-25 07:47:10 -07:00
committed by GitHub
parent ceb9e3efc9
commit 8535b26a75
4 changed files with 12 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
when not defined(js):
{.fatal: "Module jsfetch is designed to be used with the JavaScript backend.".}
when defined(nimExperimentalJsfetch) or defined(nimdoc):
when defined(nimExperimentalJsfetch):
import std/[asyncjs, jsheaders, jsformdata]
from std/httpcore import HttpMethod
from std/jsffi import JsObject