forked from knative/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
89 lines (82 loc) · 2.34 KB
/
mkdocs.yml
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
89
INHERIT: config/nav.yml
site_name: Knative
site_url: https://knative.dev/docs
site_description: Knative Documentation
extra_css:
- stylesheets/extra.css
repo_url: https://github.com/knative/docs
edit_uri: edit/main/docs
theme:
name: material
logo: images/logo/rgb/knative-logo-rgb.png
favicon: images/favicon.ico
custom_dir: overrides
features:
- navigation.tabs
- navigation.tracking
- navigation.tabs.sticky
- navigation.top
- content.code.copy
- content.action.edit
markdown_extensions:
# - mdx_include:
# base_path: docs
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list
- meta
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.details
- pymdownx.snippets:
base_path: docs/snippets
- pymdownx.keys
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.escapeall
- pymdownx.tasklist:
custom_checkbox: true
- admonition
- toc:
permalink: true
- def_list
plugins:
search:
# Spaces, dashes, periods and forward-slash (so serving.knative.dev/blibble can be searched as blibble).
separator: '[\/\s\-\.]+'
exclude:
glob:
# Exclude files that contain hugo specific shortcodes
# (either the include shortcode or not-converted-yet tabs).
- snippets/*
- smoketest.md
awesome-pages:
filename: ".index"
collapse_single_pages: true
strict: false
macros:
module_name: hack/macros
include_dir: docs/snippets
copyright: "Copyright © 2024 The Knative Authors"
extra:
# social:
# - icon: fontawesome/brands/twitter
# link: https://twitter.com/KnativeProject
# - icon: fontawesome/brands/github
# link: https://github.com/knative/community
# name: Knative Community on Github
# - icon: fontawesome/brands/slack
# link: https://slack.cncf.io
# name: Slack
# TODO: Replace with https://github.com/mkdocs/mkdocs/pull/2267 once mkdocs 1.2 is out.
version_warning: !!python/object/apply:os.getenv ["VERSION_WARNING"]
knative_version: !!python/object/apply:os.getenv ["KNATIVE_VERSION"]
branch: !!python/object/apply:os.getenv ["SAMPLES_BRANCH", "main"]
analytics:
provider: google
property: G-YRMNFYE32R
version:
provider: mike