Skip to content

Commit

Permalink
Add icons to docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Feb 2, 2024
1 parent 9ae4b45 commit 87501fc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/_static/js/fa.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,20 @@ def get_current_branch():
"version_match": "dev" if current_branch_name == "master" else version,
},
"check_switcher": False,
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/wildboar-foundation/wildboar/",
"icon": "fa-brands fa-github",
"type": "fontawesome",
},
{
"name": "PyPI",
"url": "https://pypi.org/project/wildboar/",
"icon": "fa-custom fa-pypi",
},
],
"navigation_with_keys": False,
}

html_context = {
Expand All @@ -125,6 +139,7 @@ def get_current_branch():
"css/custom.css",
"css/pygments-override.css",
]
html_js_files = ["js/fa.js"]

rst_prolog = """
.. role:: python(code)
Expand Down

0 comments on commit 87501fc

Please sign in to comment.