Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Add warning to docs (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Gonzalez authored Oct 26, 2023
1 parent b2ef184 commit d2d230a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ nav:

theme:
name: material
custom_dir: overrides
logo: https://avatars3.githubusercontent.com/u/5751098?s=200&v=4
favicon: https://www.hackillinois.org/favicon.ico
palette:
Expand Down
17 changes: 17 additions & 0 deletions documentation/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "base.html" %} {% block announce %}
<p id="announcement_warning">
Warning: For the latest documentation, see
<a href="https://hackillinois.github.io/adonix-api-docs/">the current docs</a
>. This is the documentation for the 2022 API docs, for reference only.
</p>
<style>
div[data-md-component="announce"] .md-banner {
border-color: rgb(255, 255, 43);
border-width: 5px;
border-style: solid;
margin: 10px;

font-weight: bold;
}
</style>
{% endblock %}

0 comments on commit d2d230a

Please sign in to comment.