diff --git a/README.md b/README.md index 5ee75a6e0e5..98f3f689170 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# PyGMT - -> A Python interface for the Generic Mapping Tools +PyGMT - A Python interface for the Generic Mapping Tools [Documentation (development version)](https://www.pygmt.org/dev) | [Contact](https://forum.generic-mapping-tools.org) | [TryOnline](https://github.com/GenericMappingTools/try-gmt) diff --git a/doc/_static/favicon.png b/doc/_static/favicon.png index 6cd8062c804..2d1ff3466c7 100644 Binary files a/doc/_static/favicon.png and b/doc/_static/favicon.png differ diff --git a/doc/_static/pygmt_logo.png b/doc/_static/pygmt_logo.png new file mode 100644 index 00000000000..03541c51b12 Binary files /dev/null and b/doc/_static/pygmt_logo.png differ diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 9cc37121716..2960cd24e4b 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -30,7 +30,6 @@ {% endif %} {% endblock %} - {%- block sidebartitle %} {# the logo helper function was removed in Sphinx 6 and deprecated since Sphinx 4 #} {# the master_doc variable was renamed to root_doc in Sphinx 4 (master_doc still exists in later Sphinx versions) #} @@ -49,8 +48,7 @@ {%- endif %} {%- include "searchbox.html" %} - {% endblock %} - +{% endblock %} {% block menu %} {{ super() }} diff --git a/doc/conf.py b/doc/conf.py index c3a7bd78562..5cef79299ac 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -206,11 +206,13 @@ # Options for HTML output. html_theme = "sphinx_rtd_theme" -html_theme_options = {} +html_theme_options = { + "logo_only": True, +} html_title = project html_short_title = project html_baseurl = f"{doc_url}/dev/" if isdev else f"{doc_url}/latest/" -html_logo = "" +html_logo = "_static/pygmt_logo.png" html_favicon = "_static/favicon.png" html_css_files = ["style.css"] html_static_path = ["_static"] diff --git a/doc/index.md b/doc/index.md index d04a4353182..dc517178aba 100644 --- a/doc/index.md +++ b/doc/index.md @@ -2,7 +2,7 @@ ```