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

Sphinx and Autodoc generation #50

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

Conversation

lili7h
Copy link
Contributor

@lili7h lili7h commented May 13, 2024

Add sphinx auto-doc generator to allow us to easily make html/web pages using the python pydoc comments

Supports both google style and reStructuredText style

Adds the various related sphinx python requirements to the dev dependencies of pdm.

Run with pdm run sphinx-build docs/source docs/build

You can view by running a python http server from the docs/build folder. I.e. cd docs/build/ && python -m http.server

Comment on lines +100 to 105
"""
Accumulate a trace of statistics for determining the likelihood of observed data under Markov transition
frequencies present in valid data.

Attributes:
length: The cumulative length of all inputs thus far.
Copy link
Contributor

Choose a reason for hiding this comment

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

does sphinx not work with google-notypes docstring convention? Or just favoring this style?

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