diff --git a/doc/conf.py b/doc/conf.py index ac50671e36f9f3ead973986199cd8c458db9e9b1..31b0444248b7845a6fc78f1aee93bd1d54aae284 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,6 +33,7 @@ extensions = [ "sphinx.ext.intersphinx", "sphinx.ext.mathjax", "sphinx.ext.viewcode", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. @@ -122,23 +123,13 @@ todo_include_todos = False # -- Options for HTML output ---------------------------------------------- -html_theme = "alabaster" +html_theme = "furo" html_theme_options = { - "extra_nav_links": { - "🚀 Github": "https://github.com/inducer/grudge", - "💾 Download Releases": "https://pypi.org/project/grudge", - } } html_sidebars = { - "**": [ - "about.html", - "navigation.html", - "relations.html", - "searchbox.html", - ] -} + } # Theme options are theme-specific and customize the look and feel of a theme @@ -317,8 +308,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/pyopencl/": None, "https://documen.tician.de/modepy/": None, "https://documen.tician.de/pymbolic/": None, diff --git a/doc/index.rst b/doc/index.rst index 7b6ce79d0a108cdcc8df3d05c00af34ee7213190..48d761bd2048df4789affacb85904ce5a960ff41 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -9,7 +9,8 @@ Contents: discretization symbolic misc - + 🚀 Github + 💾 Download Releases Indices and Tables ==================