-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Hi,
In my gitbook there is an API documentation section, which is basically a static folder with tons of html files, generated by an external tool.
Right now I’m placing this folder in the gitbook build path, so that I can link to files inside it. However, gitbook serve does not allow the browser to access that folder.
A workaround is to open the local site via file browser and not via localhost:4000, but this approach is limited (think Disqus plugin). Running an additional HTTP server like python -m SimpleHTTPServer in the build path is another option, but that’s really awkward.
So perhaps there could be a setting allowing to access certain paths, like
{
...
"allowPaths": ["apidoc", "videos/public", ...]
...
}Or am I missing something?
Metadata
Metadata
Assignees
Labels
No labels