From dbfd3f7e18f8152c133a3f4836297253acedd5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 21 Jul 2021 21:13:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20official=20FastAPI=20Twitt?= =?UTF-8?q?er=20to=20docs=20(#3578)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/de/mkdocs.yml | 2 +- docs/en/docs/css/custom.css | 4 ++++ docs/en/docs/help-fastapi.md | 23 ++++++++++++++--------- docs/en/mkdocs.yml | 2 +- docs/en/overrides/main.html | 7 +++++++ docs/es/mkdocs.yml | 2 +- docs/fr/mkdocs.yml | 2 +- docs/id/mkdocs.yml | 2 +- docs/id/overrides/.gitignore | 0 docs/id/overrides/main.html | 13 ------------- docs/it/mkdocs.yml | 2 +- docs/ja/mkdocs.yml | 2 +- docs/ko/mkdocs.yml | 2 +- docs/pl/mkdocs.yml | 2 +- docs/pt/mkdocs.yml | 2 +- docs/ru/mkdocs.yml | 2 +- docs/sq/mkdocs.yml | 2 +- docs/tr/mkdocs.yml | 2 +- docs/uk/mkdocs.yml | 2 +- docs/zh/mkdocs.yml | 2 +- 20 files changed, 40 insertions(+), 37 deletions(-) create mode 100644 docs/id/overrides/.gitignore delete mode 100644 docs/id/overrides/main.html diff --git a/docs/de/mkdocs.yml b/docs/de/mkdocs.yml index a00316687..033326486 100644 --- a/docs/de/mkdocs.yml +++ b/docs/de/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/en/docs/css/custom.css b/docs/en/docs/css/custom.css index 9449f0a79..2b6d55173 100644 --- a/docs/en/docs/css/custom.css +++ b/docs/en/docs/css/custom.css @@ -99,3 +99,7 @@ a.announce-link:hover { display: flex; align-items: center; } + +.twitter { + color: #00acee; +} diff --git a/docs/en/docs/help-fastapi.md b/docs/en/docs/help-fastapi.md index 561db2d38..394bccab7 100644 --- a/docs/en/docs/help-fastapi.md +++ b/docs/en/docs/help-fastapi.md @@ -20,6 +20,10 @@ You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](/news * Breaking changes 🚨 * Tips and tricks ✅ +## Follow FastAPI on Twitter + +Follow @fastapi on **Twitter** to get the latest news about **FastAPI**. 🐦 + ## Star **FastAPI** in GitHub You can "star" FastAPI in GitHub (clicking the star button at the top right): https://github.com/tiangolo/fastapi. ⭐️ @@ -32,7 +36,7 @@ You can "watch" FastAPI in GitHub (clicking the "watch" button at the top right) There you can select "Releases only". -Doing it, you will receive notifications (in your email) whenever there's a new release (a new version) of **FastAPI** with bug fixes and new features. +By doing it, you will receive notifications (in your email) whenever there's a new release (a new version) of **FastAPI** with bug fixes and new features. ## Connect with the author @@ -46,17 +50,18 @@ You can: * Follow me on **Twitter**. * Tell me how you use FastAPI (I love to hear that). * Hear when I make announcements or release new tools. + * You can also follow @fastapi on Twitter (a separate account). * Connect with me on **Linkedin**. * Hear when I make announcements or release new tools (although I use Twitter more often 🤷‍♂). * Read what I write (or follow me) on **Dev.to** or **Medium**. - * Read other ideas, articles, and about tools I have created. + * Read other ideas, articles, and read about tools I have created. * Follow me to read when I publish something new. ## Tweet about **FastAPI** -Tweet about **FastAPI** and let me and others know why you like it. 🎉 +Tweet about **FastAPI** and let me and others know why you like it. 🎉 -I love to hear about how **FastAPI** is being used, what have you liked in it, in which project/company are you using it, etc. +I love to hear about how **FastAPI** is being used, what you have liked in it, in which project/company are you using it, etc. ## Vote for FastAPI @@ -67,15 +72,15 @@ I love to hear about how **FastAPI** is being used, what have you liked in it, i You can see existing issues and try and help others, most of the times they are questions that you might already know the answer for. 🤓 -If you are helping a lot of people on issues you might become an official [FastAPI Expert](fastapi-people.md#experts){.internal-link target=_blank}. 🎉 +If you are helping a lot of people with issues, you might become an official [FastAPI Expert](fastapi-people.md#experts){.internal-link target=_blank}. 🎉 ## Watch the GitHub repository You can "watch" FastAPI in GitHub (clicking the "watch" button at the top right): https://github.com/tiangolo/fastapi. 👀 -If you select "Watching" instead of "Releases only", you will receive notifications when someone creates a new issue. +If you select "Watching" instead of "Releases only" you will receive notifications when someone creates a new issue. -Then you can try and help them solving those issues. +Then you can try and help them solve those issues. ## Create issues @@ -84,7 +89,7 @@ You can editing this file. * Make sure you add your link to the start of the corresponding section. * To help [translate the documentation](contributing.md#translations){.internal-link target=_blank} to your language. - * You can also help reviewing the translations created by others. + * You can also help to review the translations created by others. * To propose new documentation sections. * To fix an existing issue/bug. * To add a new feature. diff --git a/docs/en/mkdocs.yml b/docs/en/mkdocs.yml index a927bdb3b..d2fe2acaf 100644 --- a/docs/en/mkdocs.yml +++ b/docs/en/mkdocs.yml @@ -180,7 +180,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/en/overrides/main.html b/docs/en/overrides/main.html index 8e698bffd..eca89a553 100644 --- a/docs/en/overrides/main.html +++ b/docs/en/overrides/main.html @@ -3,6 +3,13 @@ {% block announce %}
+
diff --git a/docs/es/mkdocs.yml b/docs/es/mkdocs.yml index 40c7c0ec4..e9e651148 100644 --- a/docs/es/mkdocs.yml +++ b/docs/es/mkdocs.yml @@ -86,7 +86,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/fr/mkdocs.yml b/docs/fr/mkdocs.yml index 3b98e3e3f..88b3fe02e 100644 --- a/docs/fr/mkdocs.yml +++ b/docs/fr/mkdocs.yml @@ -84,7 +84,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/id/mkdocs.yml b/docs/id/mkdocs.yml index ed716124f..983bbd62b 100644 --- a/docs/id/mkdocs.yml +++ b/docs/id/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/id/overrides/.gitignore b/docs/id/overrides/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/docs/id/overrides/main.html b/docs/id/overrides/main.html deleted file mode 100644 index abf6f3108..000000000 --- a/docs/id/overrides/main.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block announce %} - - - {% include ".icons/material/email.svg" %} - Subscribe to the FastAPI and friends newsletter 🎉 - - -{% endblock %} diff --git a/docs/it/mkdocs.yml b/docs/it/mkdocs.yml index 11f7fe357..bfe2dfe83 100644 --- a/docs/it/mkdocs.yml +++ b/docs/it/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/ja/mkdocs.yml b/docs/ja/mkdocs.yml index ee69e49f8..c1c284316 100644 --- a/docs/ja/mkdocs.yml +++ b/docs/ja/mkdocs.yml @@ -115,7 +115,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/ko/mkdocs.yml b/docs/ko/mkdocs.yml index f11333f3e..8d2119db8 100644 --- a/docs/ko/mkdocs.yml +++ b/docs/ko/mkdocs.yml @@ -82,7 +82,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/pl/mkdocs.yml b/docs/pl/mkdocs.yml index 749d22938..9f12413d9 100644 --- a/docs/pl/mkdocs.yml +++ b/docs/pl/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/pt/mkdocs.yml b/docs/pt/mkdocs.yml index b1fa273cf..617204515 100644 --- a/docs/pt/mkdocs.yml +++ b/docs/pt/mkdocs.yml @@ -89,7 +89,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/ru/mkdocs.yml b/docs/ru/mkdocs.yml index 6db8fe33d..c737bb2b5 100644 --- a/docs/ru/mkdocs.yml +++ b/docs/ru/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/sq/mkdocs.yml b/docs/sq/mkdocs.yml index 8ebf80358..c5ce8003f 100644 --- a/docs/sq/mkdocs.yml +++ b/docs/sq/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/tr/mkdocs.yml b/docs/tr/mkdocs.yml index 660cb9238..d94b527f2 100644 --- a/docs/tr/mkdocs.yml +++ b/docs/tr/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/uk/mkdocs.yml b/docs/uk/mkdocs.yml index 3fdd9825e..4b8983c57 100644 --- a/docs/uk/mkdocs.yml +++ b/docs/uk/mkdocs.yml @@ -76,7 +76,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev diff --git a/docs/zh/mkdocs.yml b/docs/zh/mkdocs.yml index 5cfc07c6c..b7312b917 100644 --- a/docs/zh/mkdocs.yml +++ b/docs/zh/mkdocs.yml @@ -122,7 +122,7 @@ extra: - icon: fontawesome/brands/discord link: https://discord.gg/VQjSZaeJmf - icon: fontawesome/brands/twitter - link: https://twitter.com/tiangolo + link: https://twitter.com/fastapi - icon: fontawesome/brands/linkedin link: https://www.linkedin.com/in/tiangolo - icon: fontawesome/brands/dev