Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for permalink (0.21 seconds)

  1. scripts/doc_parsing_utils.py

        - `hashes` - string of hashes representing header level (e.g., "###")
        - `permalink` - permalink string (e.g., "{#permalink}")
        """
    
        headers: list[HeaderPermalinkInfo] = []
        in_code_block3 = False
        in_code_block4 = False
    
        for line_no, line in enumerate(lines, start=1):
            if not (in_code_block3 or in_code_block4):
                if line.startswith("```"):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  2. scripts/mkdocs_hooks.py

    
    def on_page_markdown(
        markdown: str, *, page: Page, config: MkDocsConfig, files: Files
    ) -> str:
        # Set metadata["social"]["cards_layout_options"]["title"] to clean title (without
        # permalink)
        title = page.title
        clean_title = title.split("{ #")[0]
        if clean_title:
            page.meta.setdefault("social", {})
            page.meta["social"].setdefault("cards_layout_options", {})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. mkdocs.yml

            name: "Switch to Light Mode"
      features:
      - navigation.tabs
    
    extra_css:
      - 'assets/css/app.css'
    
    markdown_extensions:
      - smarty
      - footnotes
      - meta
      - toc:
          permalink: true
      - attr_list
      - pymdownx.betterem:
          smart_enable: all
      - pymdownx.caret
      - pymdownx.emoji:
          emoji_index: !!python/name:material.extensions.emoji.twemoji
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Nov 21 07:19:31 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. docs/en/mkdocs.yml

    markdown_extensions:
      material.extensions.preview:
        targets:
          include:
          - '*'
      abbr: null
      attr_list: null
      footnotes: null
      md_in_html: null
      tables: null
      toc:
        permalink: true
      pymdownx.betterem: null
      pymdownx.caret: null
      pymdownx.highlight:
        line_spans: __span
        linenums_style: pymdownx-inline
      pymdownx.inlinehilite: null
      pymdownx.keys: null
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. scripts/docs.py

                if match:
                    hashes, title, _permalink = match.groups()
                    if (not _permalink) or update_existing:
                        slug = slugify(
                            visible_text_extractor.extract_visible_text(
                                strip_markdown_links(title)
                            )
                        )
                        if slug in permalinks:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py

            "utf-8"
        )
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Number of headers with permalinks does not match the number "
            "in the original document (5 vs 4)"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. .pre-commit-config.yaml

            entry: uv run ty check fastapi
            require_serial: true
            language: unsupported
            pass_filenames: false
    
          - id: add-permalinks-pages
            language: unsupported
            name: add-permalinks-pages
            entry: uv run ./scripts/docs.py add-permalinks-pages
            args:
              - --update-existing
            files: ^docs/en/docs/.*\.md$
    
          - id: generate-readme
            language: unsupported
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 2.6K bytes
    - Click Count (1)
  8. docs/en/docs/release-notes.md

    * 👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkout@v5`. PR [#14403](https://github.com/fastapi/fastapi/pull/14403) by [@svlandeg](https://github.com/svlandeg).
    * 🛠️ Add `add-permalinks` and `add-permalinks-page` to `scripts/docs.py`. PR [#14033](https://github.com/fastapi/fastapi/pull/14033) by [@YuriiMotov](https://github.com/YuriiMotov).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top