-
Notifications
You must be signed in to change notification settings - Fork 8
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 basic documentation + small fixes #4
Conversation
|
||
Then open `_build/html/index.html` to browse the docs locally. | ||
|
||
Note that if you updated docstrings, you'll need to re-build and re-install ssapy before re-building the docs. |
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.
You might add that you can also use the python package sphinx-autobuild
to build and host the documentation (https://pypi.org/project/sphinx-autobuild/). To view the documentation point the browser to http://127.0.0.1:8000/.
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.
Nice! I tried but I'm using python 3.9 and the version of sphinx-autobuild I have installed requires python 3.10+ (we should pin versions!)
I still added it to the README!
@@ -34,7 +34,7 @@ These requirements can be easily installed on most modern macOS and Linux system | |||
.. code-block:: console | |||
|
|||
brew update | |||
brew install gcc git git-lfs python3 svn graphviz | |||
brew install gcc git git-lfs python3 graphviz |
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.
Why did you remove svn
?
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.
It couldn't tell why it was needed, I didn't install it and didn't run into any issues, and it didn't seem required for other platforms (lines above) so I assumed it was outdated. Is it still needed?
Add basic documentation + small fixes
Add some basic documentation for the API reference. Also clean up some of the imports so that the imported classes don't appear as duplicates in the API reference. I wonder if there is a cleaner way to do that than importing
Thing as _Thing
like I did.Add a README in
docs/
to explain how to build the docs.Also fix some leftover
x2y
->x_to_y
references to util functions, mostly in tests.