- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 455 for theme (0.03 seconds)
-
docs/en/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image03.png"> ## Change the Theme { #change-the-theme } The same way you could set the syntax highlighting theme with the key `"syntaxHighlight.theme"` (notice that it has a dot in the middle): {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *} That configuration would change the syntax highlighting color theme: <img src="/img/tutorial/extending-openapi/image04.png">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/de/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image03.png"> ## Das Theme ändern { #change-the-theme } Auf die gleiche Weise könnten Sie das Theme der Syntaxhervorhebung mit dem Schlüssel `"syntaxHighlight.theme"` festlegen (beachten Sie, dass er einen Punkt in der Mitte hat): {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *} Obige Konfiguration würde das Theme für die Farbe der Syntaxhervorhebung ändern:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.5K bytes - Click Count (0) -
scripts/mkdocs_hooks.py
def on_files(files: Files, *, config: MkDocsConfig) -> Files: resolve_files(items=config.nav or [], files=files, config=config) if "logo" in config.theme: resolve_file(item=config.theme["logo"], files=files, config=config) if "favicon" in config.theme: resolve_file(item=config.theme["favicon"], files=files, config=config) resolve_files(items=config.extra_css, files=files, config=config)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/pt/docs/how-to/configure-swagger-ui.md
...e então o Swagger UI não mostrará mais o destaque de sintaxe: <img src="/img/tutorial/extending-openapi/image03.png"> ## Alterar o tema { #change-the-theme } Da mesma forma que você pode definir o tema de destaque de sintaxe com a chave `"syntaxHighlight.theme"` (observe que há um ponto no meio): {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/ru/docs/how-to/configure-swagger-ui.md
…и после этого Swagger UI больше не будет показывать подсветку синтаксиса: <img src="/img/tutorial/extending-openapi/image03.png"> ## Изменить тему { #change-the-theme } Аналогично вы можете задать тему подсветки синтаксиса с ключом "syntaxHighlight.theme" (обратите внимание, что посередине стоит точка): {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *} Эта настройка изменит цветовую тему подсветки синтаксиса:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/es/docs/how-to/configure-swagger-ui.md
...y entonces Swagger UI ya no mostrará el resaltado de sintaxis: <img src="/img/tutorial/extending-openapi/image03.png"> ## Cambiar el tema { #change-the-theme } De la misma manera, podrías configurar el tema del resaltado de sintaxis con la clave `"syntaxHighlight.theme"` (ten en cuenta que tiene un punto en el medio): {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (0) -
docs_src/configure_swagger_ui/tutorial002_py39.py
from fastapi import FastAPI app = FastAPI(swagger_ui_parameters={"syntaxHighlight": {"theme": "obsidian"}}) @app.get("/users/{username}") async def read_user(username: str):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 221 bytes - Click Count (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py
assert response.status_code == 200, response.text assert '"syntaxHighlight": false' not in response.text, ( "not used parameters should not be included" ) assert '"syntaxHighlight": {"theme": "obsidian"}' in response.text, ( "parameters with middle dots should be included in a JSON compatible way" ) assert '"dom_id": "#swagger-ui"' in response.text, ( "default configs should be preserved"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
Javadocs javadocs = extension.getJavadocs(); javadocs.getJavadocCss().convention(extension.getSourceRoot().file("css/javadoc-dark-theme.css")); // TODO: Staging directory should be a part of the Javadocs extension // TODO: Pull out more of this configuration into the extension if it makes sense
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/en/mkdocs.yml
INHERIT: ../en/mkdocs.env.yml site_name: FastAPI site_description: FastAPI framework, high performance, easy to learn, fast to code, ready for production site_url: https://fastapi.tiangolo.com/ theme: name: material custom_dir: ../en/overrides palette: - media: (prefers-color-scheme) toggle: icon: material/lightbulb-auto name: Switch to light mode - media: '(prefers-color-scheme: light)' scheme: defaultCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:44:55 GMT 2025 - 9.2K bytes - Click Count (0)