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 readthedocs support #399

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

wllgrnt
Copy link

@wllgrnt wllgrnt commented Sep 29, 2022

Motivation and Context

Once merged, this will allow the Sphinx docs in docs/ (and the docstrings) to be built and served at typed-python.readthedocs.io. With an appropriate webhook the docs would be rebuilt automatically with every commit to dev but that's a separate discussion.

Apologies for the many commits - the RTD/sphinx-apidoc documentation is sparse, and learning which shells RTD and Make like to use, and which of those support the globstar operator, was non-trivial.

How Has This Been Tested?

This branch's docs are viewable at https://typed-python.readthedocs.io/en/will_grant-add_markdown_rtd_support/. Will delete once merged.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@wllgrnt
Copy link
Author

wllgrnt commented Sep 29, 2022

(We can hang fire on this until the docs are in a better state)

@braxtonmckee
Copy link
Collaborator

This looks good. Can we squash it down to one commit and then i'll merge it?

@wllgrnt wllgrnt force-pushed the will_grant/add_markdown_RTD_support branch from d1fc3a3 to c4165cb Compare October 10, 2022 18:39
Config code will regenerate the docs from the docstrings every rebuild.
Also excludes tests from the generated html. Docs will be available at
typed-python.readthedocs.io.
@wllgrnt wllgrnt force-pushed the will_grant/add_markdown_RTD_support branch from c4165cb to 538affa Compare March 7, 2023 22:22
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