gitdocs
gitdocs copied to clipboard
`gitdocs build` generates all links relative to the web server root
All static pages built with gitdocs build
have hyperlinks to each other starting with "/". This will only work if the website is going to be deployed in a separate web server. This will not work if you want to put the documentation in one of the subfolders of your website. Because of the same reason, you cannot deploy gitdocs even in github pages project, because the root for github pages is the folder of the user whereas projects root is always a folder inside the root.
P.S. Of course, you can always fix the links after each build, but this adds manual work.
Thanks for reporting @sargsyan, I think you're right. There should be a configuration option to turn allow relative/absolute urls.
+1
I tried setting baseURL
to an empty string but that did not have the effect I was hoping for