From b630c06773bb4ba960f8791b756c17a39d049501 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 16 May 2017 16:24:35 -0500 Subject: Sphinx no longer ignores first argument (#4243) * Sphinx no longer ignores first argument * Duplicate first argument for maximum compatibility --- lib/spack/docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 48f1fda47e..d124848542 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -103,7 +103,7 @@ with open('command_index.rst', 'a') as index: # Without this, the API Docs will never actually update # apidoc_args = [ - 'sphinx_apidoc', # The first arugment is ignored + '--force', # Older versions of Sphinx ignore the first argument '--force', # Overwrite existing files '--no-toc', # Don't create a table of contents file '--output-dir=.', # Directory to place all output -- cgit v1.2.3-70-g09d2