-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes learned while working on docs for OneMod #7
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
.github/workflows/deploy.yml
Outdated
run: python -m pip install .[docs] --upgrade pip | ||
run: | | ||
python -m pip install .[docs] --upgrade pip | ||
pip install sphinx sphinx-rtd-theme |
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.
Thanks @geoffreyphipps-uw! I think we prefer the furo theme rather than the rtd theme. And it is include in the optional dependencies docs
, and probably want to stick with that
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.
ok
.github/workflows/deploy.yml
Outdated
cd docs | ||
python build.py | ||
cd .. | ||
sphinx-build -M html docs docs-out |
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.
The original build.py
contain methods to build documentations for multiple versions. And we probably still want to keep that.
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.
Within the build.py
we can switch to use sphinx-build
instead of make
from Makefile.
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.
I don't know why but I couldn't find build.py last week, now I see it. I will switch back to that and retest
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.
And also update OneMod to match
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.
Thanks @geoffreyphipps-uw!
No description provided.