Skip to content

Commit

Permalink
fix: docs version switch
Browse files Browse the repository at this point in the history
  • Loading branch information
walln committed Sep 17, 2024
1 parent 3d70172 commit d3da15e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
12 changes: 10 additions & 2 deletions docs/theme/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{% extends "base.html" %}
<!-- version handling -->
<!-- {% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %} -->
<!-- end version handling -->
<!-- start announce -->
{% block announce %}
<!-- {% block announce %}
{% include 'announce.html' ignore missing %}
{% endblock %}
{% endblock %} -->
<!-- end announce -->
{% block content %}
{{ super() }}
Expand Down
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
site_name: Loadax Documentation
site_url: https://walln.github.io/loadax/
site_author: Nick Wall

theme:
name: material
custom_dir: docs/theme
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit d3da15e

Please sign in to comment.