Skip to content

Commit

Permalink
Fix broken links and MathJax script issue (#30)
Browse files Browse the repository at this point in the history
* Fix broken links in announcement banner

* Fix light/dark mode switch icons

* Fix MathJax script not found error

* Update links in announcement banner to use `base_url`
  • Loading branch information
mdapena authored Dec 27, 2024
1 parent ddf180e commit 01ed0e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/.overrides/announce.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
🚀 <b>Its here! <a href="release-notes/#0.7.0">Pyventus v0.7.0</a> is now live!</b>
Dont miss the latest updates, featuring <b><a href="#a-simple-reactive-example">reactive programming</a></b>,
major <b><a href="release-notes/#0.7.0-optimized">optimizations</a></b>, and more!
🚀 <b>It's here! <a href="{{ base_url ~ '/release-notes/#0.7.0'}}">Pyventus v0.7.0</a> is now live!</b>
Don't miss the latest updates, featuring <b><a href="{{ base_url ~ '/#a-simple-reactive-example'}}">reactive programming</a></b>,
major <b><a href="{{ base_url ~ '/release-notes/#0.7.0-optimized'}}">optimizations</a></b>, and more!
File renamed without changes.
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ theme:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
icon: material/weather-sunny
name: Switch to light mode
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
Expand All @@ -40,7 +40,7 @@ theme:
primary: cyan
accent: amber
toggle:
icon: material/weather-sunny
icon: material/brightness-auto
name: Switch to system preference
features:
- navigation.instant
Expand Down Expand Up @@ -159,7 +159,7 @@ markdown_extensions:

# Extra JavaScript for MathJax
extra_javascript:
- .javascripts/mathjax.js
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js

# Page tree
Expand Down

0 comments on commit 01ed0e4

Please sign in to comment.