-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of .html
in documentation URLs
#158
Get rid of .html
in documentation URLs
#158
Comments
Note: Jupyter Book seems to generate the |
This can now partially be achieved on RTD with redirects: |
Another option: |
Solution: use Warning There is no good way yet to redirect the old |
Currently, ComPWA repos follow the following convention for files under the Sphinx source tree:
See URL structure for this example here. It would
Note
Updates since #158 (comment):
.html
can be removed from the URL with Sphinx'sdirhtml
builder. Read the Docs supports good redirects frompage.html
topage/
, so we can remove the.html
there. GitHub Pages already supports leaving out the.html
, so we can keep thehtml
builder there.Read the Docs repositories
.html
from page URLs qrules#245.html
from page URLs ampform#388.html
from page URLs tensorwaves#515.html
from page URLs PWA-pages#209.html
from page URLs redeboer/bossdoc#50Old solution
To get rid of the
.html
, you would need a structure like this:Disadvantages:
index.ipynb
Advantages:
compwa-org.rtfd.io/report/001
Perhaps there are other solutions, like some plugin that does the hierarchy conversion to
index.html
in a subfolder automatically?The text was updated successfully, but these errors were encountered: