Skip to content

Commit

Permalink
docs: add pypi and discord to top bar navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Teekeks committed Dec 18, 2024
1 parent 0f60e70 commit 0c651b5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/_static/icons/pypi-icon.js

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

19 changes: 18 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,30 @@ def setup(app):
},
"header_links_before_dropdown": 4,
"navbar_center": ["version-switcher", "navbar-nav"],
"github_url": "https://github.com/Teekeks/pyTwitchAPI",
"pygments_dark_style": "monokai",
"navbar_align": "left",
"logo": {
"text": "twitchAPI",
"image_light": "logo.png",
"image_dark": "logo.png"
},
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/Teekeks/pyTwitchAPI",
"icon": "fa-brands fa-github",
},
{
"name": "PyPI",
"url": "https://pypi.org/project/twitchAPI",
"icon": "fa-custom fa-pypi",
},
{
"name": "Discord Support Server",
"url": "https://discord.gg/tu2Dmc7gpd",
"icon": "fa-brands fa-discord",
}
],
"secondary_sidebar_items": {
"**": ["page-toc"]
}
Expand All @@ -146,3 +162,4 @@ def setup(app):
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_js_files = ['icons/pypi-icon.js']

0 comments on commit 0c651b5

Please sign in to comment.