pytest-check
pytest-check copied to clipboard
Setup docs under Sphinx
I'll make a PR to help on this, want to make a checklist for things that need to be done as well as have some discussion.
- [] Initial docs pages using MyST for Markdown
- []
api.mdwith sphinx.ext.autodoc - [] GHA for publishing docs
Questions
- Where do you want these hosted?
- Is everything "public"?
- Related: want to add some good docstrings, perhaps with the Google style (for sphinx.ext.napoleon formatting)
- You don't currently have type hints, if you plan to add them, I can setup the autodoc extension for that
Thanks Paul. I don't know the answers to any of those questions.
- Docstrings need to be in markdown. Not sure what Google docstring style is.
- type hints. probably a good idea.
- public: I'll have to look a bit
- hosted: ¯_(ツ)_/¯ Maybe GH pages?
Some suggestions here:
- This project is small enough that doesn't justify separate documentation. The Readme.MD is enough.
- If there was to be documentation, I would suggest using
mkdocs, especially with themkdocs-materialplugin, which makes writing docs using Markdown (on steroids) super easy and equally easy to deploy to GitHub Pages (just runmkdocs gh-deploy). No need to host and deployment is a one liner. - This ticket should be closed.
Agree with @joaonc . README is fine.