An open API service indexing awesome lists of open source software.

https://github.com/raybellwaves/myfavdocs

My opinionated favourite (yes that u is left in favourite intentially) docs
https://github.com/raybellwaves/myfavdocs

Last synced: about 2 months ago
JSON representation

My opinionated favourite (yes that u is left in favourite intentially) docs

Awesome Lists containing this project

README

        

# myfavdocs
My opinionated favourite (yes that u is left in favourite intentially) docs.
Hosted at https://raybellwaves.github.io/myfavdocs/.

The code to generate the files is `make_files.sh` and is designed to run on a Mac.

This came about when starting with https://www.sphinx-doc.org/en/master/tutorial/getting-started.html and https://www.sphinx-doc.org/en/master/development/tutorials/index.html and building upon them.

What I like and why:
- xarray (https://docs.xarray.dev/en/stable/) has my favorite docs but I may be biased. I made decisions here based in their configuration.
- Using `sphinx.ext.napoleon` over `numpydoc` as it gives hyperlinks of types in the Parameters and Return. I also like the bullet points that it uses for Parameters.
- Using `pydata_sphinx_theme` for the html theme.
- In my case I left `autodoc_typehints` as the default. You can set it to `None` if you have types that get pretty long e.g. `Optional[dict[str | int, list[int | str], float]]...`