-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Added make target to create a bare apidoc and nitpick test it. #270
Conversation
make.bat
Outdated
--full --separate --module-first ^ | ||
-o test_docs %PACKAGE_DIR% && ^ | ||
sphinx-build -nWT test_docs\ test_docs\_build\ |
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.
sphinx-build -nWT test_docs\ test_docs\_build\ | |
sphinx-build -nWT test_docs\ test_docs\_build\ |
This is amazing! Small nitpick otherwise it gives error ' sphinx-build' is not recognized...
.
I was trying to build docs on my windows system and got the error
Warning, treated as error:
autodoc: failed to import module 'pymc4'; the following exception was raised:
No module named 'pymc4'
and I am not able to build docs. Is there a way to get around this?
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.
Thanks @tirthasheshpatel. It looks like you hadn't installed pymc4 before trying to build the docs. You need to install it first
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.
Thanks! Works now!
This closes #264.
However, it highlights that some of the current docstrings are broken, so we will have to fix them before being able to merge. Also, we need to include the extensions for plotting and configure the intersphinx mapping to prevent the damned entity not found warnings.
If anyone is willing to help fixing the docstrings to prevent sphinx warnings, it would be great. Just push edits to
lucianopaz/pymc4 iss264