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

Changes learned while working on docs for OneMod #7

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

geoffreyphipps-uw
Copy link

No description provided.

Copy link

codecov bot commented Aug 1, 2024

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 ☂️

run: python -m pip install .[docs] --upgrade pip
run: |
python -m pip install .[docs] --upgrade pip
pip install sphinx sphinx-rtd-theme
Copy link
Member

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

cd docs
python build.py
cd ..
sphinx-build -M html docs docs-out
Copy link
Member

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.

Copy link
Member

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.

Copy link
Author

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

Copy link
Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhengp0 zhengp0 merged commit 080c350 into main Sep 13, 2024
4 checks passed
@zhengp0 zhengp0 deleted the publish-docs branch September 13, 2024 15:32
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 this pull request may close these issues.

2 participants