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

Add live docs rebuilding using sphinx-autobuild #916

Merged
merged 2 commits into from
Feb 7, 2021

Conversation

tevansuk
Copy link
Contributor

Add a new tox target, livedocs, that uses sphinx-autobuild to monitor the docs and auto rebuild the HTML docs when they change.

It also starts a webserver on 127.0.0.1:8000 using livereload to serve the docs, which will automatically reload the pages in your browser as they are changed.

Add docs on updating the docs.

Add sphinx-rtd-theme so that the docs generated in development match the style that they are displayed in on readthedocs.

This shouldn't affect test run time; the livedocs tox target is only run when explicitly asked for, and packages are only installed when using livedocs

Description of the Change

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

Add a new tox target, `livedocs`, that uses sphinx-autobuild to monitor
the docs and auto rebuild the HTML docs when they change.

It also starts a webserver on 127.0.0.1:8000 using livereload to serve
the docs, which will automatically reload the pages in your browser as
they are changed.

Add docs on updating the docs.

Add sphinx-rtd-theme so that the docs generated in development match the
style that they are displayed in on readthedocs.
@codecov
Copy link

codecov bot commented Jan 28, 2021

Codecov Report

Merging #916 (eb18c8d) into master (331b49d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #916   +/-   ##
=======================================
  Coverage   95.04%   95.04%           
=======================================
  Files          25       25           
  Lines        1070     1070           
=======================================
  Hits         1017     1017           
  Misses         53       53           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 331b49d...eb18c8d. Read the comment docs.

@n2ygk n2ygk requested review from n2ygk and removed request for MattBlack85 February 7, 2021 16:53
@n2ygk n2ygk added this to the 1.3.4 milestone Feb 7, 2021
Copy link
Member

@n2ygk n2ygk left a comment

Choose a reason for hiding this comment

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

Hey, this is cool! Thanks.

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.

None yet

2 participants