Skip to content

Commit

Permalink
docs: add announcement banner
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter committed Dec 6, 2023
1 parent e921bea commit 39ec325
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ theme:
features:
- navigation.indexes
- content.code.copy
- announce.dismiss

plugins:
multirepo:
Expand Down
24 changes: 24 additions & 0 deletions mkdocs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
{% extends "base.html" %}
{% block announce %}
<span style="display:flex; justify-content:space-between">
<span class="show-on-small">
<span class="twemoji right-margin show-on-small move-down">
{% include ".icons/fontawesome/solid/angles-down.svg" %}
</span>
Navigate the site here!
</span>
<span>
Newest release: <a style="vertical-align: middle;" href="https://pypi.org/project/autora/">
<img src="https://img.shields.io/pypi/v/autora" alt="PyPI">
</a>
</span>
<span>
<span class="twemoji">
{% include ".icons/material/head-question.svg" %}
</span>
Questions?
<a href="https://github.com/orgs/AutoResearch/discussions">
Open a discussion here!
</a>
</span>
</span>
{% endblock %}

{% block content %}
{% if page.nb_url %}
Expand Down

0 comments on commit 39ec325

Please sign in to comment.