Skip to content

Commit

Permalink
Add social icons to the footer (astral-sh#14591)
Browse files Browse the repository at this point in the history
## Summary

Add social icons to the footer

`mkdocs-material` update is required for the `x-twitter` icon.

## Test Plan

Tested locally. 

---------

Co-authored-by: Dhruv Manilawala <[email protected]>
  • Loading branch information
sbrugman and dhruvmanila authored Nov 27, 2024
1 parent f96fa6b commit 8a860b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/requirements-insiders.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PyYAML==6.0.2
ruff==0.7.4
mkdocs==1.6.1
mkdocs-material @ git+ssh://[email protected]/astral-sh/mkdocs-material-insiders.git@38c0b8187325c3bab386b666daf3518ac036f2f4
mkdocs-material @ git+ssh://[email protected]/astral-sh/mkdocs-material-insiders.git@39da7a5e761410349e9a1b8abf593b0cdd5453ff
mkdocs-redirects==1.2.2
mdformat==0.7.19
mdformat-mkdocs==3.1.1
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PyYAML==6.0.2
ruff==0.7.4
mkdocs==1.6.1
mkdocs-material==9.1.18
mkdocs-material==9.5.38
mkdocs-redirects==1.2.2
mdformat==0.7.19
mdformat-mkdocs==3.1.1
Expand Down
9 changes: 9 additions & 0 deletions mkdocs.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ not_in_nav: |
extra:
analytics:
provider: fathom
social:
- icon: fontawesome/brands/github
link: https://github.com/astral-sh/ruff
- icon: fontawesome/brands/discord
link: https://discord.com/invite/astral-sh
- icon: fontawesome/brands/python
link: https://pypi.org/project/ruff/
- icon: fontawesome/brands/x-twitter
link: https://x.com/astral_sh
validation:
omitted_files: warn
absolute_links: warn
Expand Down

0 comments on commit 8a860b8

Please sign in to comment.