Closed GernotMaier closed 4 months ago
Hi @GernotMaier, thanks for this fix. It indeed fixed the issue. but I found another similar one. The link to the code in the documentation is broken because there is no docs/index.md
(see two screenshots below). I think we can fix that here too:
Action (click on show source):
Error message (same for main and this branch):
Could you have a look and fix it?
I looked into this and it seems that this is because sphinx-book-theme
expects an index.html
file inside ./docs
and not inside ./docs/source
. I couldn't find in simtools how to change the expected path (I imagine this is encoded in the theme). In any case I could move index.html
from ./docs/source
to ./docs
but this would motivate us to move all the other files as well and get rid of the source directory. This goes beyond my decision alone and I need your feedback.
Fixed this by setting the "path_to_docs":
as outlined in https://sphinx-book-theme.readthedocs.io/en/stable/components/source-files.html#add-a-button-to-the-page-source
Fix links in main README.md