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

Fix documentation building on rtfd #46

Merged
merged 4 commits into from Dec 7, 2018
Merged

Fix documentation building on rtfd #46

merged 4 commits into from Dec 7, 2018

Conversation

skirpichev
Copy link
Contributor

Latest docs build was broken and you can see that API docs are missing on rtfd page, e.g. this. It seems, conda build doesn't install package itself, hence these import failures.

I don't sure how to fix this with conda (don't use it locally), so I switched RTFD config to use pip install .[docs]. (Additional setuptools extras was added to track documentation building requirements.) I believe, this should fix the problem - similar solution does work on the diofant, which also uses setuptools_scm to manage versions.

Also code quality tests on Travis CI now include building html docs.

If you think it's an acceptable solution, then after merging - please check docs building on the readthedocs this time.

"python setup.py build_sphinx -W" now works.  This is now
a default command to build html docs.

Also renamed makefile target "docs" -> "doc" (as there is the
docs/ directory, which conflicts with name "docs").
Also build html docs on Travis CI (quality stage).
@hbarthels
Copy link
Contributor

I don't know why we are using conda for this. Looks like a reasonable solution to me. @wheerd What do you think?

@wheerd
Copy link
Collaborator

wheerd commented Dec 7, 2018

I believe that was because at that time Python 3.6 was not available without Conda. We can definitely give it a try. If it works without Conda it's simpler.

@wheerd wheerd merged commit 11893ab into HPAC:master Dec 7, 2018
@skirpichev skirpichev deleted the docs branch December 7, 2018 22:54
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.506% when pulling 4359ecc on skirpichev:docs into 2b6ae39 on HPAC:master.

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

4 participants