-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
46 lines (42 loc) · 1.21 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
site_name: mkdocs-crosslink-plugin
repo_url: https://github.com/six-two/mkdocs-crosslink-plugin
theme:
name: material
features:
- content.code.copy
- navigation.footer
nav:
# Hide the index page -> would otherwise result in two links to the main page
- "": index.md
plugins:
- search
- crosslink:
show_profiling_results: True
crosslinks:
- name: alpha
source_dir: site_a/docs
target_url: /site_a/
use_directory_urls: False
# For causing errors (ambiguous protocol), do not do this in reality
- name: "alpha:2"
source_dir: site_a/docs
target_url: /site_a/
use_directory_urls: True
- name: "bravo"
source_dir: site_b/docs
target_url: /site_b
use_directory_urls: True
# Manually overwrite glob-a, since it uses use_directory_urls: False. Also test overwrite handling
- name: "glob-a"
source_dir: site_a/docs
target_url: /site_a
use_directory_urls: False
- name: "glob-*"
source_dir: site_*/docs
target_url: /site_*
use_directory_urls: True
# SEE https://squidfunk.github.io/mkdocs-material/reference/admonitions/
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences