diff --git a/docs/Makefile b/docs/Makefile index 217f88c..3e9fecd 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -12,6 +12,7 @@ SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build SOURCEDIR = . BUILDDIR = _build +STATICDIR = _static # Put it first so that "make" without argument is like "make help". help: @@ -22,4 +23,5 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile + mkdir -p ${BUILDDIR} ${STATICDIR} @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/requirements.txt b/docs/requirements.txt index 5215769..e263ce4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,3 @@ sphinx>=4.0.0 +myst_parser>=1.0.0 +sphinx_rtd_theme>=1.2.0 diff --git a/wwvb/config.py b/wwvb/config.py index 236a4e6..7ecf8e0 100644 --- a/wwvb/config.py +++ b/wwvb/config.py @@ -11,6 +11,7 @@ def readconfig(filename='wwvb.ini'): """ readconfig() :param filename: config file name + Read config file (which is wwvb.ini by default. """ cp = configparser.ConfigParser()