-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
mkdocs.yml
185 lines (174 loc) · 4.8 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
# Project information
site_name: MkDocs RSS Plugin
site_description: Documentation about the MkDocs RSS Plugin
site_author: [email protected] (Julien M. )
site_url: https://guts.github.io/mkdocs-rss-plugin/
copyright: "Guts - In Geo Veritas (MIT)"
# Repository
repo_name: guts/mkdocs-rss-plugin
repo_url: https://github.com/guts/mkdocs-rss-plugin/
edit_uri: blob/main/docs/
# Custom folder structure
docs_dir: "docs/"
use_directory_urls: true
extra:
social:
- icon: "fontawesome/brands/mastodon"
link: https://mapstodon.space/@geojulien
name: "Follow me on Mastodon"
- icon: "fontawesome/solid/piggy-bank"
link: https://github.com/sponsors/Guts
name: "Sponsor development with Github"
- icon: "simple/liberapay"
link: https://liberapay.com/GeoJulien
name: "Sponsor development with Liberapay"
# Extensions to enhance markdown
markdown_extensions:
- admonition
- attr_list
- meta
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path:
- "."
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- toc:
permalink: "#"
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
nav:
- Home: index.md
- Settings: configuration.md
- integrations.md
- Contributing: contributing.md
- API: api.md
- Changelog: changelog.md
plugins:
- git-committers:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_COMMITTERS, true]
repository: guts/mkdocs-rss-plugin
branch: main
docs_path: docs/
cache_dir:
!ENV [
MKDOCS_PLUGIN_GIT_COMMITTERS_CACHE_DIR,
.cache/plugins/git-committers/,
]
- git-revision-date-localized:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_GIT_DATES, true]
enable_creation_date: true
fallback_to_build_date: true
locale: en
- minify:
minify_html: true
htmlmin_opts:
remove_comments: true
- mkdocstrings:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_MKDOCSTRINGS, true]
default_handler: python
handlers:
python:
options:
docstring_style: google
heading_level: 3
ignore_init_summary: false
show_source: false
merge_init_into_class: true
paths: [.]
show_root_heading: true
- privacy:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_PRIVACY, true]
cache_dir:
!ENV [MKDOCS_PLUGIN_PRIVACY_EXTERNAL_CACHE_DIR, .cache/plugins/privacy]
- rss:
abstract_chars_count: 160
abstract_delimiter: <!-- more -->
date_from_meta:
as_creation: "date"
datetime_format: "%Y-%m-%d %H:%M"
default_timezone: "Europe/Paris"
default_time: "22:00"
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_RSS, true]
image: https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png
json_feed_enabled: true
match_path: ".*"
pretty_print: true
rss_feed_enabled: true
url_parameters:
utm_source: "documentation"
utm_medium: "RSS"
utm_campaign: "feed-syndication"
use_git: true
use_material_social_cards: true
- search:
lang: en
- social:
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_SOCIAL, true]
cache_dir: !ENV [MKDOCS_PLUGIN_SOCIAL_CACHE_DIR, .cache/plugins/social]
cards: true
- termynal:
prompt_literal_start:
- "$"
- ">"
theme:
name: material
custom_dir: docs/theme/overrides
favicon: assets/logo_rss_plugin_mkdocs.svg
features:
- content.action.edit
- content.action.view
- content.code.copy
- content.tabs.link
- content.tooltips
- navigation.footer
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- toc.integrate
font:
code: Ubuntu Mono
text: Ubuntu
icon:
edit: material/pencil
logo: simple/rss
view: material/eye
tag:
default: fontawesome/solid/tag
language: en
logo: assets/logo_rss_plugin_mkdocs.png
palette:
accent: amber
primary: deep orange
scheme: default
validation:
links:
absolute_links: warn
not_found: warn
unrecognized_links: warn
nav:
absolute_links: warn
not_found: warn
omitted_files: warn
watch:
- CONTRIBUTING.md
- README.md