Skip to content
This repository was 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
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:read-the-docs-build-helpers
Aug 7, 2015
Merged

Making tweaks to allow project to build on readthedocs.org.#237
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:read-the-docs-build-helpers

Conversation

@dhermes
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

dhermes commented Aug 7, 2015

@nathanielmanistaatgoogle Anything holding back a review here?

This comment was marked as spam.

This comment was marked as spam.

@nathanielmanistaatgoogle
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

dhermes commented Aug 7, 2015

@nathanielmanistaatgoogle Change (from '' to None) sent

@nathanielmanistaatgoogle
Copy link
Copy Markdown
Contributor

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

@dhermes
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

dhermes commented Aug 7, 2015

Succeeded on rebuild.

@dhermes
Copy link
Copy Markdown
Contributor Author

dhermes commented Aug 7, 2015

@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