forked from knative/docs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
87 lines (80 loc) · 2.26 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
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
markdown_extensions:
# - mdx_include:
# base_path: docs
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.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\-\.]+'
macros:
module_name: hack/macros
include_dir: docs/snippets
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
copyright: "Copyright © 2022 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.knative.dev
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