From b4319bd8f811f3f5a042faf1d533b22c6f8ba01e Mon Sep 17 00:00:00 2001 From: yanitski Date: Wed, 1 May 2024 14:25:56 +0200 Subject: [PATCH] specify header icon info - should now have github and pypi --- docs/_source/conf.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/_source/conf.py b/docs/_source/conf.py index 3c0f29a..33b53e8 100644 --- a/docs/_source/conf.py +++ b/docs/_source/conf.py @@ -102,7 +102,18 @@ def setup(app): "json_url": "https://kosmatau3d.readthedocs.io/en/latest/_static/version_switcher.json", "version_match": release, }, - "github": "https://github.com/CraigYanitski/kosmatau3d", + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/CraigYanitski/kosmatau3d/", + "icon": "fa-brands fa-github", # icons from `fontawesome` + }, + { + "name": "PyPI", + "url": "https://pypi.org/project/kosmatau3d/", + "icon": "fa-custom fa-pypi", + }, + ], "navbar_start": ["navbar-logo", "version-switcher"], # "navbar_persistent": [], "show_version_warning_banner": True,