Transform .md links to .html for sphinx docs#469
Transform .md links to .html for sphinx docs#469talonchandler wants to merge 2 commits intodocs_updatefrom
Conversation
Did this solution work for waveorder/docs/sphinx_source/guide.rst Lines 4 to 5 in 0c9a2a7 It does work for .md files converted via the myst_parser directly (napari-plugin-guide.html) but does not seem to work for cases where its being included in a .rst.I am using the README.md in /guide as the landing page as it is used on github, if an Index view of the landing page is acceptable then this method can be used. I've shared the previews below..
vs
|
Have you tried it locally? In my tests I was able to see the landing page and click the links from the guide.html. The links are broken on this link https://waveorder.readthedocs.io/en/latest/guide.html, but I don't have control (or understanding) of which branch is being displayed there.
I prefer the landing page. The section navigation on the left seems to provide a top level view and the landing page gives a bit more guidance. Thanks for your help here @amitabhverma. |
@talonchandler If this still does not work, there is another work around using post-build job that can be setup. Once you confirm the above I'll look into that. I agree the landing page layout looks a lot better so we will work towards that. |
|
Update: The online version of guide.html is working but uses the post-build job. Please still confirm how your local copy of guide.html builds since that would be a cleaner way. Thanks. |
|
Apologies @amitabhverma, I accidentally misled myself and I think this PR was a false start. The problem is illustrated in the attached screen recording. The first tab shows the broken link on the webpage (which I'm hoping we can fix), the second tab shows my local build created with I'll let you solve this however you think is best. Pardon me for the false start. Screen.Recording.2025-08-18.at.3.05.38.PM.mov |
|
Closing in favor of #461. |


@amitabhverma I tested the docs locally and found this conversion to work well. Please check and use this if it solves your problem.