diff --git a/doc/conf.py b/doc/conf.py index 8921df50bc8135e5d8c9444b6649438b64220772..1000424cb75a31c04126c473278979316bdb0f37 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -31,6 +31,7 @@ extensions = [ "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.mathjax", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. @@ -47,7 +48,7 @@ master_doc = "index" # General information about the project. project = "leap" -copyright = "2014-6, Matt Wala and Andreas Kloeckner" +copyright = "2014-20, Matt Wala and Andreas Kloeckner" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -107,23 +108,13 @@ pygments_style = "sphinx" # -- Options for HTML output ---------------------------------------------- -html_theme = "alabaster" +html_theme = "furo" html_theme_options = { - "extra_nav_links": { - "🚀 Code/Bugs": "https://gitlab.tiker.net/inducer/leap", - "💾 Download Releases": "https://pypi.python.org/pypi/leap", - } } html_sidebars = { - "**": [ - "about.html", - "navigation.html", - "relations.html", - "searchbox.html", - ] -} + } # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] @@ -280,8 +271,8 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - "https://docs.python.org/": None, - "https://docs.scipy.org/doc/numpy/": None, + "https://docs.python.org/3/": None, + "https://numpy.org/doc/stable/": None, "https://documen.tician.de/pymbolic/": None, "https://documen.tician.de/dagrt/": None, } diff --git a/doc/index.rst b/doc/index.rst index 3215714b1b6a72f1d6ab8a46704399178409d4c2..c58a9511a274bc1bd92a8adb5ecce90246fb2dac 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -5,12 +5,13 @@ TODO: Insert example here. :mod:`leap` is based on :mod:`dagrt`. - .. toctree:: :maxdepth: 2 reference misc + 🚀 Github + 💾 Download Releases * :ref:`genindex` * :ref:`modindex`