From 8a860b89b4f25b200e883fa7cdd0b4e41382c0fe Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Wed, 27 Nov 2024 12:07:45 +0100 Subject: [PATCH] Add social icons to the footer (#14591) ## 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 --- docs/requirements-insiders.txt | 2 +- docs/requirements.txt | 2 +- mkdocs.template.yml | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/requirements-insiders.txt b/docs/requirements-insiders.txt index 03b8f4cdcb..b7c1d52322 100644 --- a/docs/requirements-insiders.txt +++ b/docs/requirements-insiders.txt @@ -1,7 +1,7 @@ PyYAML==6.0.2 ruff==0.7.4 mkdocs==1.6.1 -mkdocs-material @ git+ssh://git@github.com/astral-sh/mkdocs-material-insiders.git@38c0b8187325c3bab386b666daf3518ac036f2f4 +mkdocs-material @ git+ssh://git@github.com/astral-sh/mkdocs-material-insiders.git@39da7a5e761410349e9a1b8abf593b0cdd5453ff mkdocs-redirects==1.2.2 mdformat==0.7.19 mdformat-mkdocs==3.1.1 diff --git a/docs/requirements.txt b/docs/requirements.txt index df19c8082d..a37ebfb057 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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 diff --git a/mkdocs.template.yml b/mkdocs.template.yml index d722bb97ce..8c42b369c5 100644 --- a/mkdocs.template.yml +++ b/mkdocs.template.yml @@ -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