aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Hermes <daniel.j.hermes@gmail.com>2015-08-07 13:49:00 -0700
committerDanny Hermes <daniel.j.hermes@gmail.com>2015-08-07 13:49:00 -0700
commita8b155081158ef9ca4f01616c50fcb9a8e7c5dbc (patch)
tree4d9e617c3003feba88ac305d2ab3503a7e695465
parent5a44c8c6e697528ea18d2e7d29096987ce0fa835 (diff)
downloadoauth2client-a8b155081158ef9ca4f01616c50fcb9a8e7c5dbc.tar.gz
Removing unnecessary top-level TOC for all modules.
If we had more than one base package, it would be relevant, but we only have oauth2client, so it is irrelevant and just visually distracting.
-rw-r--r--docs/index.rst2
-rw-r--r--docs/source/modules.rst7
-rwxr-xr-xscripts/build-docs2
3 files changed, 3 insertions, 8 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 673cb5e..39940da 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -50,7 +50,7 @@ contributor license agreement.
:maxdepth: 1
:hidden:
- source/modules
+ source/oauth2client
Supported Python Versions
-------------------------
diff --git a/docs/source/modules.rst b/docs/source/modules.rst
deleted file mode 100644
index 32a7349..0000000
--- a/docs/source/modules.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-oauth2client
-============
-
-.. toctree::
- :maxdepth: 4
-
- oauth2client
diff --git a/scripts/build-docs b/scripts/build-docs
index a896a50..be66396 100755
--- a/scripts/build-docs
+++ b/scripts/build-docs
@@ -25,6 +25,8 @@ fi
rm -rf docs/_build/* docs/source/*
sphinx-apidoc -f -o docs/source oauth2client
+# We only have one package, so modules.rst is overkill.
+rm -f docs/source/modules.rst
cd docs
make html
cd ..