Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,240 for theme (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. _config.yml

    theme: jekyll-theme-minimal...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 18 17:41:54 GMT 2021
    - 27 bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test_docs.sh

    #!/bin/bash
    
    # The website is built using MkDocs with the Material theme.
    # https://squidfunk.github.io/mkdocs-material/
    # It requires Python to run.
    # Install the packages with the following command:
    # pip install mkdocs mkdocs-material mkdocs-redirects
    
    set -ex
    
    # Test generating the javadoc jars
    ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Apr 17 13:52:16 GMT 2024
    - 718 bytes
    - Click Count (1)
  10. 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)
Back to Top