forked from knative/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
88 lines (81 loc) · 2.31 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
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/mkdocs/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.indexes
- 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
- 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
- "*/_index.md" # pretty much all shortcodes
awesome-pages:
filename: ".index"
collapse_single_pages: true
strict: false
copyright: "Copyright © 2021 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", "mkdocs"]
analytics:
provider: google
property: G-YRMNFYE32R
version:
provider: mike