diff --git a/docs/assets/stylesheet.css b/docs/assets/stylesheet.css index d498a80b..d30ffbe2 100644 --- a/docs/assets/stylesheet.css +++ b/docs/assets/stylesheet.css @@ -10,6 +10,14 @@ background-color: #1f2636; } +.md-banner { + background-color: #1f2636; + border-bottom-width: 2px; + border-bottom-style: solid; + border-color: #3c8d89; + text-align: center; +} + .icon { color: #df5538; } diff --git a/docs/overrides/main.html b/docs/overrides/main.html new file mode 100644 index 00000000..2d6eed86 --- /dev/null +++ b/docs/overrides/main.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block announce %} + ✨ New project! Read the launch announcement blog post. ✨ +{% endblock %} diff --git a/docs/references/changelog.md b/docs/references/changelog.md index 303c3012..e5487b6c 100644 --- a/docs/references/changelog.md +++ b/docs/references/changelog.md @@ -81,6 +81,9 @@ [#157](https://github.com/Quansight/ragna/pull/157) - Up the number of queried documents by Chroma by [@pmeier](https://github.com/pmeier) in [#160](https://github.com/Quansight/ragna/pull/160) +- Add announcement banner with link to blog by + [@pavithraes](https://github.com/pavithraes) in + [#164](https://github.com/Quansight/ragna/pull/164) ### New Contributors diff --git a/mkdocs.yml b/mkdocs.yml index e2d597da..6f2ca659 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,6 +11,7 @@ extra: theme: name: material + custom_dir: docs/overrides logo: assets/brand/logo-symbol/logo-symbol-white.png palette: primary: custom @@ -26,6 +27,7 @@ theme: - search - search.suggest - search.highlight + - announce.dismiss markdown_extensions: - admonition