Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stop using squared icon for github and twitter #1250

Merged
merged 15 commits into from Apr 13, 2023
13 changes: 13 additions & 0 deletions docs/_static/custom.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a clearer filename like custom-icons.js or fontawesome-extra-icons.js or something like that?

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

17 changes: 14 additions & 3 deletions docs/conf.py
Expand Up @@ -118,14 +118,24 @@
"name": "Donate to NumFocus",
},
],
"github_url": "https://github.com/pydata/pydata-sphinx-theme",
"twitter_url": "https://twitter.com/PyData",
# "github_url": "https://github.com/pydata/pydata-sphinx-theme",
# "twitter_url": "https://twitter.com/PyData",
12rambau marked this conversation as resolved.
Show resolved Hide resolved
"header_links_before_dropdown": 4,
"icon_links": [
{
"name": "Twitter",
"url": "https://twitter.com/PyData",
"icon": "fa-brands fa-twitter",
},
{
"name": "GitHub",
"url": "https://github.com/pydata/pydata-sphinx-theme",
"icon": "fa-brands fa-github",
},
{
"name": "PyPI",
"url": "https://pypi.org/project/pydata-sphinx-theme",
"icon": "fa-solid fa-box",
"icon": "fac fa-list-old-style",
12rambau marked this conversation as resolved.
Show resolved Hide resolved
},
{
"name": "PyData",
Expand Down Expand Up @@ -196,6 +206,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_js_files = ["custom.js"]
todo_include_todos = True

# -- favicon options ---------------------------------------------------------
Expand Down