From 4b247632e077707ac4d9d27f29d5f6a4a8f86caf Mon Sep 17 00:00:00 2001 From: Jesse Mapel <jmapel@usgs.gov> Date: Tue, 16 Mar 2021 16:05:49 -0700 Subject: [PATCH] Added autodoc sphinx module to doc builds (#406) * Added autodoc sphinx module to doc builds * Renamed doxyfile --- docs/{config => Doxyfile} | 0 docs/conf.py | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename docs/{config => Doxyfile} (100%) diff --git a/docs/config b/docs/Doxyfile similarity index 100% rename from docs/config rename to docs/Doxyfile diff --git a/docs/conf.py b/docs/conf.py index bce72af..0d0f1ab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,8 +30,7 @@ release = 'ale.__version__' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [ -] +extensions = ['sphinx.ext.autodoc'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -63,4 +62,4 @@ import subprocess, os read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' if read_the_docs_build: - subprocess.call('cd ../doxygen; doxygen', shell=True) + subprocess.call('doxygen', shell=True) -- GitLab