]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Add official FastAPI Twitter to docs (#3578)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 21 Jul 2021 19:13:58 +0000 (21:13 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 19:13:58 +0000 (21:13 +0200)
20 files changed:
docs/de/mkdocs.yml
docs/en/docs/css/custom.css
docs/en/docs/help-fastapi.md
docs/en/mkdocs.yml
docs/en/overrides/main.html
docs/es/mkdocs.yml
docs/fr/mkdocs.yml
docs/id/mkdocs.yml
docs/id/overrides/.gitignore [new file with mode: 0644]
docs/id/overrides/main.html [deleted file]
docs/it/mkdocs.yml
docs/ja/mkdocs.yml
docs/ko/mkdocs.yml
docs/pl/mkdocs.yml
docs/pt/mkdocs.yml
docs/ru/mkdocs.yml
docs/sq/mkdocs.yml
docs/tr/mkdocs.yml
docs/uk/mkdocs.yml
docs/zh/mkdocs.yml

index a003166875c8ccd46c285ef5dc6ef0d9c6dc934a..033326486308c94f2aa2af97cf90abf76e48087a 100644 (file)
@@ -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
index 9449f0a79c7c0e0ddb8b7b89e94231129f3ae85d..2b6d551734a34a0aa553382c782a698895485fbf 100644 (file)
@@ -99,3 +99,7 @@ a.announce-link:hover {
   display: flex;
   align-items: center;
 }
+
+.twitter {
+  color: #00acee;
+}
index 561db2d3892f4fa7c074ff2e87559472cdf3a58f..394bccab73e2a08bc92b04796f71c3c2a76d125c 100644 (file)
@@ -20,6 +20,10 @@ You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](/news
 * Breaking changes 🚨
 * Tips and tricks ✅
 
+## Follow FastAPI on Twitter
+
+<a href="https://twitter.com/fastapi" class="external-link" target="_blank">Follow @fastapi on **Twitter**</a> 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): <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">https://github.com/tiangolo/fastapi</a>. ⭐️
@@ -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:
 * <a href="https://twitter.com/tiangolo" class="external-link" target="_blank">Follow me on **Twitter**</a>.
     * Tell me how you use FastAPI (I love to hear that).
     * Hear when I make announcements or release new tools.
+    * You can also <a href="https://twitter.com/fastapi" class="external-link" target="_blank">follow @fastapi on Twitter</a> (a separate account).
 * <a href="https://www.linkedin.com/in/tiangolo/" class="external-link" target="_blank">Connect with me on **Linkedin**</a>.
     * Hear when I make announcements or release new tools (although I use Twitter more often 🤷‍♂).
 * Read what I write (or follow me) on <a href="https://dev.to/tiangolo" class="external-link" target="_blank">**Dev.to**</a> or <a href="https://medium.com/@tiangolo" class="external-link" target="_blank">**Medium**</a>.
-    * 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**
 
-<a href="https://twitter.com/compose/tweet?text=I'm loving FastAPI because... https://github.com/tiangolo/fastapi cc @tiangolo" class="external-link" target="_blank">Tweet about **FastAPI**</a> and let me and others know why you like it. 🎉
+<a href="https://twitter.com/compose/tweet?text=I'm loving @fastapi because... https://github.com/tiangolo/fastapi" class="external-link" target="_blank">Tweet about **FastAPI**</a> 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 <a href="https://github.com/tiangolo/fastapi/issues" class="external-link" target="_blank">existing issues</a> 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): <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">https://github.com/tiangolo/fastapi</a>. 👀
 
-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 <a href="https://github.com/tiangolo/fastapi/issues/new/choose" class="e
 * Ask a **question** or ask about a **problem**.
 * Suggest a new **feature**.
 
-**Note**: if you create an issue then I'm going to ask you to also help others. 😉
+**Note**: if you create an issue, then I'm going to ask you to also help others. 😉
 
 ## Create a Pull Request
 
@@ -94,7 +99,7 @@ You can [contribute](contributing.md){.internal-link target=_blank} to the sourc
 * To share an article, video, or podcast you created or found about FastAPI by <a href="https://github.com/tiangolo/fastapi/edit/master/docs/en/data/external_links.yml" class="external-link" target="_blank">editing this file</a>.
     * 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.
index a927bdb3b42f322c760f829ba6349b2c51e91152..d2fe2acaf6dc7a8cf8acbeacd67f8fbe36e1d6bf 100644 (file)
@@ -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
index 8e698bffda4a36684f9d29ebc03fe3564402164d..eca89a553aec22f8b7f30a6e8f93d169c530fd99 100644 (file)
@@ -3,6 +3,13 @@
 {% block announce %}
 <div class="announce-wrapper">
   <div id="announce-left">
+    <div class="item">
+      <a class="announce-link" href="https://twitter.com/fastapi" target="_blank">
+        <span class="twemoji twitter">
+          {% include ".icons/fontawesome/brands/twitter.svg" %}
+        </span> Follow <strong>@fastapi</strong> on <strong>Twitter</strong> to stay updated
+      </a>
+    </div>
     <div class="item">
       <a class="announce-link" href="https://fastapi.tiangolo.com/newsletter/">
         <span class="twemoji">
index 40c7c0ec473f59525278418efcfbdbeeeb4dfc93..e9e6511485a50eeb14e97bdf1026b6c8c4f2911a 100644 (file)
@@ -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
index 3b98e3e3f37b3ca01e40819a99be156e629fa0d2..88b3fe02eb713a58a77352c3a79dee4deb3c0343 100644 (file)
@@ -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
index ed716124f4b5dfe60158743982b1995a703ed4ed..983bbd62b2a25f273dee435b396636f7c2f97c0d 100644 (file)
@@ -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 (file)
index 0000000..e69de29
diff --git a/docs/id/overrides/main.html b/docs/id/overrides/main.html
deleted file mode 100644 (file)
index abf6f31..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-{% 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>
-  <!-- <a class="announce" href="https://tripetto.app/run/RXZ6OLDBXX?s=dc" target="_blank">
-    <span class="twemoji">
-      </span>Fill the first-ever <strong>FastAPI user survey</strong> for a chance to win official <strong>FastAPI and Typer stickers</strong> 🎁
-  </a> -->
-{% endblock %}
index 11f7fe357f67c829f6859fc6e2bcee029f5cdcf8..bfe2dfe83294f14fa7ac182ac2fadddac6db91f9 100644 (file)
@@ -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
index ee69e49f8a72b6fbdb003529ae949eeb7015ad25..c1c284316ad7144546601085cf501a2e95cc10f9 100644 (file)
@@ -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
index f11333f3e0bf11104434d68bd96f9bf250c1ea2a..8d2119db8dbefae1c22bd035fcf9ce564bc11f24 100644 (file)
@@ -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
index 749d22938d395f71217fcfda9e0d52ab183783c9..9f12413d98fd4a914d221a74a0efe136741a5cfd 100644 (file)
@@ -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
index b1fa273cf8aab2e5c9cc4872a58398a44befe8b6..61720451564eccbc066839ff8b751f6206883733 100644 (file)
@@ -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
index 6db8fe33d87aca981e356539ac40bf0923ceab8a..c737bb2b5ef0b7cdf21233b3baf5b74afbbd6a81 100644 (file)
@@ -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
index 8ebf80358940efcb605367c45854f258945cd9c2..c5ce8003f1297dcf2844df5b62c0b64b787f3fd8 100644 (file)
@@ -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
index 660cb9238433207837a4765fc88a5f340c014f72..d94b527f2f977e48855b67880a1eef264c1543bf 100644 (file)
@@ -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
index 3fdd9825ed352cae3d358373f1d681404007edc3..4b8983c5796dcf82e7cdf2fc04f8f182ba07e560 100644 (file)
@@ -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
index 5cfc07c6ce8e2aad58cae8e1b44d51d944943f2f..b7312b9170f3dccc2735b36e95d67fceb86e75b2 100644 (file)
@@ -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