forked from KTH-Library/docs-kth-rdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
121 lines (112 loc) · 3.89 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
site_name: KTH data Repository Guides
site_url: https://kth-library.github.io/docs-kth-rdm/
repo_url: https://github.com/KTH-Library/docs-kth-rdm
copyright: '© 2024 KTH Royal Institute of Technology'
extra_css:
- stylesheets/extra.css
theme:
name: material
font:
text: Figtree
logo: assets/images/kth-logo.svg
favicon: assets/images/favicon.ico
features:
- navigation.tabs
palette:
- scheme: slate
primary: custom
# dark theme
toggle:
icon: material/brightness-7
name: Dark mode
accent: pink
# light theme
- scheme: default
toggle:
icon: material/brightness-4
name: Light mode
primary: custom
accent: pink
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/?h=code#configuration
markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- admonition
- pymdownx.details
- attr_list
- md_in_html
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.tabbed:
alternate_style: true
# Footer
extra:
generator: false
social:
- icon: simple/github
link: https://github.com/kth
plugins:
- search:
lang: en
# https://squidfunk.github.io/mkdocs-material/plugins/search/#config.pipeline
pipeline:
- stemmer
- stopWordFilter
- trimmer
# https://ultrabug.github.io/mkdocs-static-i18n/getting-started/quick-start/
# https://github.com/squidfunk/mkdocs-material/discussions/2346
- i18n:
# https://ultrabug.github.io/mkdocs-static-i18n/setup/setting-up-search/
reconfigure_search: true
# Can be 'folder' or 'suffix' e.g index.sv.md
docs_structure: folder
languages:
- locale: en
default: true
name: English
build: true
- locale: sv
name: Svenska
build: true
# Nav Translations
# https://ultrabug.github.io/mkdocs-static-i18n/setup/localizing-navigation/
nav:
- Hem: sv/index.md
- Guider:
- Villkor: terms.md
- Snabbstart: get_started/quick_start.md
- Skapa ett konto: get_started/create_account.md
- Logga in och logga ut: get_started/login_logout.md
- Visa inloggade enheter: get_started/viewing-devices.md
- Navigera i KTH Data Repository: get_started/navigating_site.md
- Deponera data:
- Skapa ny uppladdning: deposit/create_new_upload.md
- Begränsade Poster: deposit/restrict_record_access.md
- Dela poståtkomst: deposit/share_record_access.md
- Github Integration: deposit/github_integration.md
- REST API: deposit/rest_api.md
- Communities:
- Ansök om Nytt Community: communities/apply_new_community.md
- Community Manager Ansvar: communities/community_manager_responsibilities.md
nav:
# When updating the nav, remember to update the i18n plugin nav as well
- Home: index.md
- Guides:
- Terms: terms.md
- Quick Start: get_started/quick_start.md
- Create an Account: get_started/create_account.md
- Logging in and Logging out: get_started/login_logout.md
- View Logged in Devices: get_started/viewing-devices.md
- Navigating the KTH Data Repository: get_started/navigating_site.md
- Deposit:
- Create New Upload: deposit/create_new_upload.md
- Restricted Records: deposit/restrict_record_access.md
- Share Record Access: deposit/share_record_access.md
- Github Integration: deposit/github_integration.md
- REST API: deposit/rest_api.md
- Communities:
- Apply for New Community: communities/apply_new_community.md
- Community Manager Responsibilities: communities/community_manager_responsibilities.md