-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
84 lines (70 loc) · 3.57 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
# Site Settings
site_name: MkDocs Coverpage
site_author: Tyler McCann
docs_dir: docs # Obsidian Vault
repo_name: tylerdotrar/mkdocs-coverpage
repo_url: https://github.com/tylerdotrar/mkdocs-coverpage
copyright: © 2023 | @tylerdotrar
# Custom Homepage Elements
home_cover_image: attachments/wizard-posting.png # This path starts at your root mkdocs directory.
home_tagline: Shadow Wizards Only
home_description: |
This site is an example showcase for my "mkdocs-coverpage" repository.
# Gradient Color
home_gradient_hsla: hsla(0deg,47%,55%,1) # Default Green: hsla(160deg,47%,55%,1)
# Custom Homepage Button(s)
home_button1_name: Main Clicky # Comment this parameter out to remove the button.
home_button1_url: Folder1/ # This path starts at your root mkdocs directory.
home_button1_theme: md-button md-button--primary # Options: "md-button", "md-button md-button--primary"
home_button1_icon: people # Options: "people", "gear", "image"
home_button1_blurb: | # Short description of this button / section.
This joker navigates to the shadow wizard armory located in "/Folder1/index.md"
home_button2_name: Clicky 2 # Comment this parameter out to remove the button.
home_button2_url: Folder2/ # This path starts at your root mkdocs directory.
home_button2_theme: md-button # Options: "md-button", "md-button md-button--primary"
home_button2_icon: gear # Options: "people", "gear", "image"
home_button2_blurb: | # Short description of this button / section.
This goober navigates to some important thingies located in "/Folder2/index.md"
home_button3_name: Clicky 3 # Comment this parameter out to remove the button.
home_button3_url: Folder3/ # This path starts at your root mkdocs directory.
home_button3_theme: md-button # Options: "md-button", "md-button md-button--primary"
home_button3_icon: image # Options: "people", "gear", "image"
home_button3_blurb: | # Short description of this button / section.
This psycho navigates to an interesting table of stuff located in "/Folder3/index.md"
# Homepage Code Execution
home_execute_js: | # Javascript to execute when accessing the homepage
console.log("This is an example!");
# Material Configuration
theme:
name: material
custom_dir: assets # Contains custom 'home.html' coverpage (and 'main.html')
features:
- navigation.indexes # Implied section 'index.md' files
- navigation.tabs # Static upper section tabs (exist)
- navigation.tabs.sticky # Static upper section tabs (stay)
- navigation.footer # Add 'previous' and 'next' buttons in the footer
- navigation.instant # Keep navigation from reloading
- navigation.instant.progress # Display page loading progress-bar ( > 400ms)
- search.highlight # Highlight all occurrences of queried string
- search.share # Search Query can be copied to Clipboard
- search.suggest # Display likeliest completion for the last queried word
palette:
# Light Mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep purple # deep orange
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to Dark Mode
# Dark Mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to Light Mode
plugins:
- search
- roamlinks # Obsidian Style Image Support ![[<attachment_name>]]