-
Notifications
You must be signed in to change notification settings - Fork 139
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
Use readthedocs for documentation #493
Conversation
- Add version warning - Auto deploy docs to `gh-pages` on github release The commit is kept here as a reference. We will switch to readthedocs to deploy multiple versions of the docs, since mike use `gh-pages` branch to host the docs, increasing the size of the repo in the long term. See wannier-developers#485 for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Another tip, in actions/setup-python
, python-version: 3.x
is equivalent with the latest released version.
(the project does not appear on readthedocs.org, but I guess the backend was not setup yet)
Thanks, fixed as well.
I don't have enough permission to import the repo on RTD, already asked Giovanni to do this. |
Python 3.12 does not install `setuptools` in virtual env, therefore `pkg_resources` is missing but `mkdocs-bibtex` explicitly imports it. The solution is to explicitly install `setuptools` in the virtual env. See https://docs.python.org/3/whatsnew/3.12.html Co-authored-by: Cristian Le <github@lecris.me>
Close #484
Close #485