From 46263cfa5542ece6dac001eb9063535c5fd75137 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 7 Oct 2019 13:42:49 +0200 Subject: Add PROJ log Courtesy of Sylvain Beorchia. The logo is put under the CC-0 license. --- media/logo.png | Bin 0 -> 9787 bytes media/logo.svg | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ media/logo_bw.svg | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 220 insertions(+) create mode 100644 media/logo.png create mode 100644 media/logo.svg create mode 100644 media/logo_bw.svg diff --git a/media/logo.png b/media/logo.png new file mode 100644 index 00000000..cb584112 Binary files /dev/null and b/media/logo.png differ diff --git a/media/logo.svg b/media/logo.svg new file mode 100644 index 00000000..9742d12f --- /dev/null +++ b/media/logo.svg @@ -0,0 +1,110 @@ + + + + + + + + + + image/svg+xml + + PROJ Logo + + 2019/10/01 + + + Sylvain Beorchia + + + + + + + + + + + + + + + + + + + + diff --git a/media/logo_bw.svg b/media/logo_bw.svg new file mode 100644 index 00000000..89aa4e54 --- /dev/null +++ b/media/logo_bw.svg @@ -0,0 +1,110 @@ + + + + + + + + + + image/svg+xml + + PROJ Logo + + 2019/10/01 + + + Sylvain Beorchia + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 From c4a6e07a3c3410c7fc314c32de29279c4c7e8998 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 7 Oct 2019 13:44:13 +0200 Subject: Add logo to website --- docs/source/conf.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index ef53d900..1d893e9c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -130,8 +130,20 @@ html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -html_theme_options = {} - +html_theme_options = { + 'canonical_url': 'https://proj.org', + 'logo_only': True, + 'display_version': True, + 'prev_next_buttons_location': 'both', + 'style_external_links': False, + 'style_nav_header_background': '#353130', + # Toc options + 'collapse_navigation': True, + 'sticky_navigation': True, + #'navigation_depth': 4, + 'includehidden': True, + 'titles_only': False +} # Add any paths that contain custom themes here, relative to this directory. @@ -144,7 +156,7 @@ html_theme_options = {} # The name of an image file (relative to this directory) to place at the top # of the sidebar. -#html_logo = None +html_logo = '../../media/logo.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -- cgit v1.2.3