docs: switch from sphinx to zensical#147
Conversation
f381f36 to
97bee64
Compare
|
This is now rebased, and I opened a PR to centralize the workflow inveniosoftware/workflows#31 |
| name = "idutils" | ||
| description = "Small library for persistent identifiers used in scholarly communication." | ||
| readme = "README.rst" | ||
| readme = "README.md" |
There was a problem hiding this comment.
👍
might be that in other packages we have other entries to update, but nothing that a little sed -e 's/\.rst/.md/g' couldn't solve
| SPDX-FileCopyrightText: 2026 California Institute of Technology. | ||
| --> | ||
|
|
||
| --8<-- "CHANGES.md" |
There was a problem hiding this comment.
looks like a little guy wearing glasses got sad because he got impaled
|
Moving from reStructuredText to MD is a great move IMHO... I suppose that the Python docstrings are still stuck with reST though? |
|
I think I got all of the reST stuff out of the docstrings. If you see any others let me know, and we can just use markdown there and it should work. I'll do a bit of digging to see if linking is possible. |
❤️ Thank you for your contribution!
Description
Here is a proposed pathway for finally getting the documentation for individual repos (where needed) to work.
You can see the rendered documentation at https://caltechlibrary.github.io/idutils/
It dumps makeTheDocs for a GitHub action-based workflow which should be much more robust. I think this workflow should probably go in the inveniosoftware workflows repo if this approach seems good.
It moves from Sphinx to Zensical and from rst to md. This should be easier to maintain, and nothing in the docs folder should need to be touched on a regular basis.
Claude helped with the styling. It looks nice to me but I have no attachment to any of it. Comments are very much appreciated.
I think it makes sense to merge #145 first, and then I'll rebase putting everything in pyproject.toml
Zensical doesn't have python 3.9 support, so we wouldn't be able to run document building in the CI. I think that's fine since it will run as a separate action.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: