generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 533
Expand file tree
/
Copy pathmkdocs.yaml
More file actions
88 lines (81 loc) · 5.24 KB
/
mkdocs.yaml
File metadata and controls
88 lines (81 loc) · 5.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# === Site Metadata ===
site_name: Deep Learning Containers # Browser tab title & header
site_description: Documentation for AWS Deep Learning Containers # SEO meta description
site_url: https://aws.github.io/deep-learning-containers # Canonical URL (for sitemap, SEO)
# === GitHub Integration ===
repo_name: aws/deep-learning-containers # Displayed name for repo link
repo_url: https://github.com/aws/deep-learning-containers # Links to GitHub (top-right corner)
exclude_docs: |
src/*
*.template.md
# === Hooks ===
hooks:
- docs/src/hooks.py # Auto-generate docs from YAML
theme:
name: material # Use Material for MkDocs theme
logo: assets/logos/AWS_logo_RGB.svg # Logo in page
favicon: assets/logos/AWS_logo_RGB.svg # Browse tab icon
palette:
# Auto mode - follows system preference
- media: "(prefers-color-scheme)" # Follows system preference color
toggle:
icon: material/brightness-auto
name: Switch to light mode # Toggle button label system -> light
# Light mode
- media: "(prefers-color-scheme: light)" # Set to light mode
scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-5
name: Switch to dark mode # Toggle button label light -> dark
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom # Header/nav bar color
accent: custom # Links/buttons highlight color
toggle:
icon: material/brightness-3
name: Switch to system preference # Toggle button label dark -> system
features:
- content.code.copy # Copy button on code blocks
- content.tabs.link # Sync tab selection across page
- navigation.instant # SPA-like navigation (no full reload)
- navigation.instant.progress # Loading progress bar
- navigation.tracking # URL updates as you scroll
- navigation.tabs # Top-level sections as tabs
- navigation.tabs.sticky # Tabs stay visible when scrolling
- navigation.sections # Group items in sidebar
- navigation.top # "Back to top" button
- search.highlight # Highlight search matches on page
- search.share # Share search results via URL
- toc.follow # TOC follows scroll position
icon:
repo: fontawesome/brands/github # GitHub icon for repo link
# === Markdown Extensions ===
markdown_extensions:
- attr_list # Add HTML attributes to elements
- md_in_html # Markdown inside HTML blocks
- admonition # Note/warning/tip boxes (signify by !!! note)
- pymdownx.details # Collapsible admonitions (signify by ??? note)
- pymdownx.superfences # Nested code blocks, diagrams
- pymdownx.tabbed: # Tabbed content blocks
alternate_style: true # Modern tab styling
- pymdownx.highlight: # Syntax highlighting for code
anchor_linenums: true # Linkable line numbers
line_spans: __span # Wrap lines in spans
pygments_lang_class: true # Add language class to code blocks
- tables # Markdown tables support
- toc: # Table of contents
permalink: true # Add permalink anchors to headings
# === Plugins ===
plugins:
- meta # Page metadata from YAML front matter
- search # Built-in search
- autorefs # Auto-link to other pages/headings
- awesome-nav # .nav.yml file support
- macros: # Variable substitution in markdown
module_name: docs/src/macros
# === Custom Assets ===
extra_css:
- mkdocs/stylesheets/extra.css # Custom CSS overrides