diff --git a/docs/README.md b/docs/README.md index 20e320f26fcbbc6b95b04db6bd3fface9b091c3c..75703f960e1f3e73d8819505093fb94846feab3f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -9,4 +9,4 @@ documentation, using Sphinx: Then point your browser to the newly generated pages: - firefox _build/html/index.html + xdg-open file://$PWD/_build/html/index.html diff --git a/docs/conf.py b/docs/conf.py index ad6133c985e24133f81574f85c5a35c61764925d..0848dcf605a5179de9a47b5fb11ffe2715705945 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,3 +59,10 @@ html_static_path = ['_static'] # Readthedocs.io needs us to tell it what the index file is. This defaults to # 'contents' master_doc = 'index' + +# Suppress autosectionlabel extension warnings about duplicate labels, i.e. +# +# docs/usage.rst:105: WARNING: duplicate label wordpress, other instance in docs/testing.rst +# +# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-suppress_warnings +suppress_warnings = ['autosectionlabel.*']