Browse Source

Merge branch 'master' into add-variants-advenced-code-examples

pull/14413/head
Motov Yurii 8 months ago
committed by GitHub
parent
commit
90475b501f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      docs/en/docs/css/custom.css
  2. 8
      docs/en/docs/release-notes.md
  3. 2
      requirements-docs.txt

9
docs/en/docs/css/custom.css

@ -1,9 +1,16 @@
/* Fira Code, including characters used by Rich output, like the "heavy right-pointing angle bracket ornament", not included in Google Fonts */
@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);
/* Noto Color Emoji for emoji support with the same font everywhere */
@import url(https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap);
/* Override default code font in Material for MkDocs to Fira Code */
:root {
--md-code-font: "Fira Code", monospace;
--md-code-font: "Fira Code", monospace, "Noto Color Emoji";
}
/* Override default regular font in Material for MkDocs to include Noto Color Emoji */
:root {
--md-text-font: "Roboto", "Noto Color Emoji";
}
.termynal-comment {

8
docs/en/docs/release-notes.md

@ -7,6 +7,14 @@ hide:
## Latest Changes
### Docs
* 💅 Update CSS to explicitly use emoji font. PR [#14415](https://github.com/fastapi/fastapi/pull/14415) by [@tiangolo](https://github.com/tiangolo).
### Internal
* ⬆ Bump markdown-include-variants from 0.0.5 to 0.0.6. PR [#14418](https://github.com/fastapi/fastapi/pull/14418) by [@YuriiMotov](https://github.com/YuriiMotov).
## 0.122.0
### Fixes

2
requirements-docs.txt

@ -17,5 +17,5 @@ griffe-warnings-deprecated==1.1.0
# For griffe, it formats with black
black==25.1.0
mkdocs-macros-plugin==1.4.1
markdown-include-variants==0.0.5
markdown-include-variants==0.0.6
python-slugify==8.0.4

Loading…
Cancel
Save