Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Making tweaks to allow project to build on readthedocs.org. #237

Merged
merged 1 commit into from
Aug 7, 2015

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Aug 6, 2015

In particular

  • Adding a requirements.txt file to aid in installing docs-only
    dependencies (this is a feature of readthedocs, see
    https://docs.readthedocs.org/en/latest/builds.html)
  • Updating comment before import django in docs/conf.py. Without
    the setup that or tox docs env provides or the dependencies
    in docs/requirements.txt, sphinx-build will fail due to missing
    django
  • Adding a section to docs/conf.py which downloads the
    App Engine SDK and adds it to the import path
  • Adding base (non-docs) dir so sources get added when generating
    HTML (e.g. sys.path.append('..') within docs/ dir)
  • Using package distribution for docs version instead of manually
    importing oauth2client in docs/conf.py.

@nathanielmanistaatgoogle See http://oauth2client.readthedocs.org/en/rtd-test/ for a final view of what this looks like (and compare it to http://google.github.io/oauth2client/)

@dhermes
Copy link
Contributor Author

dhermes commented Aug 7, 2015

@nathanielmanistaatgoogle Anything holding back a review here?

django
flask
keyring
pycrypto==2.6

This comment was marked as spam.

This comment was marked as spam.

@nathanielmanistaatgoogle
Copy link
Contributor

Thanks for the poke.

@dhermes dhermes force-pushed the read-the-docs-build-helpers branch from 9f553e4 to f166fdb Compare August 7, 2015 16:29
In particular

- Adding a requirements.txt file to aid in installing docs-only
  dependencies (this is a feature of readthedocs, see
  https://docs.readthedocs.org/en/latest/builds.html)
- Updating comment before `import django` in docs/conf.py. Without
  the setup that or tox `docs` env provides or the dependencies
  in docs/requirements.txt, sphinx-build will fail due to missing
  `django`
- Adding a section to docs/conf.py which downloads the
  App Engine SDK and adds it to the import path
- Adding base (non-docs) dir so sources get added when generating
  HTML (e.g. sys.path.append('..') within docs/ dir)
- Using package distribution for docs version instead of manually
  importing oauth2client in docs/conf.py.
@dhermes dhermes force-pushed the read-the-docs-build-helpers branch from f166fdb to a39aa25 Compare August 7, 2015 17:13
@dhermes
Copy link
Contributor Author

dhermes commented Aug 7, 2015

@nathanielmanistaatgoogle Change (from '' to None) sent

@nathanielmanistaatgoogle
Copy link
Contributor

LGTM and waiting on test results (which I believe will be forthcoming...).

@dhermes
Copy link
Contributor Author

dhermes commented Aug 7, 2015

Looks like the docs env failed to fetch the GAE SDK, I restarted it and amazingly didn't have to restart the others (good job Travis?).

dhermes added a commit that referenced this pull request Aug 7, 2015
Making tweaks to allow project to build on readthedocs.org.
@dhermes dhermes merged commit 62b7f26 into googleapis:master Aug 7, 2015
@dhermes
Copy link
Contributor Author

dhermes commented Aug 7, 2015

Succeeded on rebuild.

@dhermes
Copy link
Contributor Author

dhermes commented Aug 7, 2015

Victory: http://oauth2client.readthedocs.org

@dhermes dhermes deleted the read-the-docs-build-helpers branch August 7, 2015 17:25
@dhermes dhermes mentioned this pull request Aug 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants