From 09d8c007705fe9da6e2b819fcdea631c1c9901df Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 30 May 2017 14:11:55 -0700 Subject: docs: Fix sphinx warnings (and build) on sphinx > 1.5.1 It turns out that commands was included in the toctree twice, which caused warnings which we treat as errors in CI. Fixes #994 --- .travis.yml | 2 +- docs/source/usage/index.rst | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31978a43..e8e025fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,7 +91,7 @@ install: printf '%s = None\n' NotmuchError NullPointerError > notmuch.py touch gpgme.py # install sphinx for building the html docs - pip install sphinx==1.5.1 + pip install sphinx else pip install .[test] fi diff --git a/docs/source/usage/index.rst b/docs/source/usage/index.rst index 9d469597..ad207e4a 100644 --- a/docs/source/usage/index.rst +++ b/docs/source/usage/index.rst @@ -23,7 +23,6 @@ First Steps .. toctree:: :hidden: - commands first_steps synopsis crypto -- cgit v1.2.3