diff --git a/README.md b/README.md index cee22a97e6c..cf9a037f0f6 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..149d3daebf6 100644 Binary files a/doc/_static/favicon.png and b/doc/_static/favicon.png differ diff --git a/doc/_static/pygmtlogo.png b/doc/_static/pygmtlogo.png new file mode 100644 index 00000000000..08ea7b5b076 Binary files /dev/null and b/doc/_static/pygmtlogo.png differ diff --git a/doc/_static/style.css b/doc/_static/style.css index d533b9ee783..836d790c3e9 100644 --- a/doc/_static/style.css +++ b/doc/_static/style.css @@ -61,6 +61,11 @@ p { color: hsla(0, 0%, 100%, .3); } +/* Change background color of sidebar top box with logo, version and search bar */ +.wy-side-nav-search { + background: #b4c7e7; +} + /* Format parameters section similar to sphinx_rtd_theme v4.x.x (not a grid) */ html.writer-html5 .rst-content dl.field-list { display: initial; diff --git a/doc/conf.py b/doc/conf.py index 7125c7d6959..854e7b16a3d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -193,11 +193,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/pygmtlogo.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..fa9f1a96f22 100644 --- a/doc/index.md +++ b/doc/index.md @@ -2,7 +2,7 @@ ```