Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for theme (0.19 sec)

  1. docs/en/layouts/custom.yml

      # Logo
      - &logo >-
        {%- if layout.logo -%}
          {{ layout.logo }}
        {%- elif config.theme.logo -%}
          {{ config.docs_dir }}/{{ config.theme.logo }}
        {%- endif -%}
      # End of custom modified logic
    
      # Logo (icon)
      - &logo_icon >-
        {{ config.theme.icon.logo or "" }}
    
    # Meta tags
    tags:
    
      # Open Graph
      og:type: website
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jun 26 14:05:43 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. 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)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Das Theme ändern
    
    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):
    
    ```Python hl_lines="3"
    {!../../../docs_src/configure_swagger_ui/tutorial002.py!}
    ```
    
    Obige Konfiguration würde das Theme für die Farbe der Syntaxhervorhebung ändern:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:49 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs_src/configure_swagger_ui/tutorial002.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight.theme": "obsidian"})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 216 bytes
    - Viewed (0)
  5. docs/em/docs/contributing.md

    ✋️ 🚫 😟, 👆 💪 ⚒ 🎢 🇪🇸 🇪🇸 &amp; ⤴️ 💬 🎚 🩺.
    
    🚥 👆 💪 👈, ✍ `mkdocs.yml` 👆 🆕 🇪🇸, ⚫️ 🔜 ✔️ 🕳 💖:
    
    ```YAML hl_lines="5"
    site_name: FastAPI
    # More stuff
    theme:
      # More stuff
      language: xx
    ```
    
    🔀 👈 🇪🇸 ⚪️➡️ `xx` (⚪️➡️ 👆 🇪🇸 📟) `en`.
    
    ⤴️ 👆 💪 ▶️ 🖖 💽 🔄.
    
    #### 🎮 🏁
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. 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"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. docs/pt/docs/contributing.md

    Se você precisar fazer isso, edite o `mkdocs.yml` para sua nova linguagem, teremos algo como:
    
    ```YAML hl_lines="5"
    site_name: FastAPI
    # Mais coisas
    theme:
      # Mais coisas
      language: xx
    ```
    
    Altere essa linguagem de `xx` (do seu código de linguagem) para `en`.
    
    Então você poderá iniciar novamente o _servidor ao vivo_.
    
    #### Pré-visualize o resultado
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## 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):
    
    ```Python hl_lines="3"
    {!../../../docs_src/configure_swagger_ui/tutorial002.py!}
    ```
    
    That configuration would change the syntax highlighting color theme:
    
    <img src="/img/tutorial/extending-openapi/image04.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/en/mkdocs.yml

    INHERIT: ../en/mkdocs.maybe-insiders.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: light)'
        scheme: default
        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb
          name: Switch to dark mode
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    But at some point, there was no other option than creating something that provided all these features, taking the best ideas from previous tools, and combining them in the best way possible, using language features that weren't even available before (Python 3.6+ type hints).
    
    ## Previous tools
    
    ### <a href="https://www.djangoproject.com/" class="external-link" target="_blank">Django</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top