font-size: 80%;
text-align: center;
}
+
+a.announce:link, a.announce:visited {
+ color: #fff;
+}
+
+a.announce:hover {
+ color: var(--md-accent-fg-color);
+}
And there are several ways to get help too.
+## Subscribe to the newsletter
+
+You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](/newsletter/){.internal-link target=_blank} to stay updated about:
+
+* News about FastAPI and friends 🚀
+* Guides 📝
+* Features ✨
+* Breaking changes 🚨
+* Tips and tricks ✅
+
## Star **FastAPI** in GitHub
You can "star" FastAPI in GitHub (clicking the star button at the top right): <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">https://github.com/tiangolo/fastapi</a>. ⭐️
--- /dev/null
+# FastAPI and friends newsletter
+
+<iframe class="mj-w-res-iframe" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://app.mailjet.com/widget/iframe/6gQ4/GDo" width="100%"></iframe>
+
+<script type="text/javascript" src="https://app.mailjet.com/statics/js/iframeResizer.min.js"></script>
site_url: https://fastapi.tiangolo.com/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
--- /dev/null
+{% extends "base.html" %}
+
+{% block announce %}
+<a class="announce" href="https://fastapi.tiangolo.com/newsletter/">
+ <span class="twemoji">
+ {% include ".icons/material/email.svg" %}
+ </span> Subscribe to the <strong>FastAPI and friends</strong> newsletter 🎉
+ </a>
+{% endblock %}
\ No newline at end of file
site_url: https://fastapi.tiangolo.com/es/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/fr/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/it/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/ja/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/ko/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/pt/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/ru/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/tr/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/uk/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
site_url: https://fastapi.tiangolo.com/zh/
theme:
name: material
+ custom_dir: overrides
palette:
- scheme: default
primary: teal
shutil.rmtree(build_lang_path, ignore_errors=True)
shutil.copytree(lang_path, build_lang_path)
shutil.copytree(en_docs_path / "data", build_lang_path / "data")
+ shutil.copytree(en_docs_path / "overrides", build_lang_path / "overrides")
en_config_path: Path = en_lang_path / mkdocs_name
en_config: dict = mkdocs.utils.yaml_load(en_config_path.read_text(encoding="utf-8"))
nav = en_config["nav"]