Skip to content

Adopt Sphinx and RTD #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bjlittle opened this issue May 20, 2022 · 3 comments · Fixed by #174
Closed

Adopt Sphinx and RTD #157

bjlittle opened this issue May 20, 2022 · 3 comments · Fixed by #174

Comments

@bjlittle
Copy link
Contributor

Would you be willing to adopt sphinx and host on readthedocs ?

The README.rst is pretty large now, and light touch docs could offer a richer source of information to the community.

@Cadair
Copy link
Contributor

Cadair commented May 20, 2022

Yeah I think our complexity level has crossed the point where "real" docs would be better.

Does matplotlib have a sphinx theme we could use?

@ConorMacBride
Copy link
Member

There is mpl-sphinx-theme. The package matplotlib/cheatsheets (https://matplotlib.org/cheatsheets/) might be a good example of how to set this up. Configured here: https://github.com/matplotlib/cheatsheets/blob/master/docs/conf.py.

I think matplotlib have a list of packages they scrape to add the docs to their website so we should check with whoever does that. If it's to be accessible at https://matplotlib.org/pytest-mpl/ we'll probably have to use GitHub Pages or what matplotlib use for hosting.

@tacaswell
Copy link
Member

https://github.com/matplotlib/mpl-gui/tree/main/docs might be a better template than the cheatsheets because it is also a library ;)

Matplotlib moved over to self-hosting (for reasons), but it looks like we are already grabbing and hosting what ever is on the gh-pages branch of this repo: matplotlib/matplotlib.org#16

which appears to be 3 pngs for testing (e.g. https://matplotlib.org/pytest-mpl/2.0.x/test_succeeds_remote.png)?

I am 99% sure if you drop an index.html into the top-level on that branch you will have a website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants