Skip to content
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

🔧 Configure readthedocs documentation build #13

Merged
merged 4 commits into from
Jun 7, 2022
Merged

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented Jun 7, 2022

Getting our documentation built on Readthedocs following https://jupyterbook.org/en/stable/publish/readthedocs.html. Also documenting how to build the docs locally.

Preview at https://zen3geo--13.org.readthedocs.build/en/13/ or https://zen3geo.readthedocs.io

Supersedes #3.

Notes:

Turns out groups and extras can't be used together in pyproject.toml by poetry, see python-poetry/poetry#4897. Changed things around so that `pip install .[docs]` works!
@weiji14 weiji14 added the documentation Improvements or additions to documentation label Jun 7, 2022
@weiji14 weiji14 added this to the 0.1.0 milestone Jun 7, 2022
@weiji14 weiji14 self-assigned this Jun 7, 2022
Just use readthedocs. Sadly this means we can't skip docs build for files outside the docs/ folder anymore.
Sneaking in some extra notes on how people can clone the repo, setup a virtual environment, install dependencies and build the jupyter book docs!
@weiji14 weiji14 marked this pull request as ready for review June 7, 2022 04:28
@weiji14 weiji14 merged commit e4f8c96 into main Jun 7, 2022
@weiji14 weiji14 deleted the readthedocs branch June 7, 2022 04:32
@weiji14 weiji14 mentioned this pull request Jun 7, 2022
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant