Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for permalink (0.07 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. .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)
Back to Top