Skip to content

Commit

Permalink
Fix doc gen.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeform committed May 11, 2023
1 parent f5e5394 commit 137af57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/puppy.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import puppy/common

when defined(windows) and not defined(puppyLibcurl):
when defined(nimdoc):
# Used to work around the doc generator.
proc internalFetch*(req: Request): Response {.raises: [PuppyError].} =
discard
elif defined(windows) and not defined(puppyLibcurl):
# WinHTTP Windows
import puppy/platforms/win32/platform
elif defined(macosx) and not defined(puppyLibcurl):
Expand Down

0 comments on commit 137af57

Please sign in to comment.