Skip to content

Commit

Permalink
bsky
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-kidger committed Feb 23, 2025
1 parent 759b50d commit f48ba18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions docs/_overrides/partials/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
{{ config.repo_name }}
</div>
</a>
{% if config.theme.twitter_url %}
<a href="{{ config.theme.twitter_url }}" title="Go to Twitter" class="md-source">
<div class="md-source__icon md-icon">
{% include ".icons/fontawesome/brands/twitter.svg" %}
</div>
</a>
<a href="{{ config.theme.bluesky_url }}" title="Go to Bluesky" class="md-source">
<div class="md-source__icon md-icon">
{% include "bluesky.svg" %}
</div>
<div class="md-source__repository">
{{ config.theme.twitter_name }}
{{ config.theme.twitter_bluesky_name }}
</div>
</a>
{% endif %}
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ theme:
custom_dir: "docs/_overrides" # Overriding part of the HTML

# These additions are my own custom ones, having overridden a partial.
twitter_name: "@PatrickKidger"
twitter_bluesky_name: "@PatrickKidger"
twitter_url: "https://twitter.com/PatrickKidger"
bluesky_url: "https://PatrickKidger.bsky.social"

site_name: jaxtyping
site_description: The documentation for the jaxtyping software library.
Expand Down

0 comments on commit f48ba18

Please sign in to comment.