Skip to content

Commit faedc86

Browse files
mkdocs: format & doc book configuration file
1 parent 9eee0a8 commit faedc86

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

mkdocs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ theme:
2929
- navigation.indexes # Nav sections can have files
3030
- navigation.instant # Avoid page reloading for internal links
3131
- navigation.top
32-
- navigation.tracking # Update URL with anchor
32+
- navigation.tracking # Update URL with sub-heading anchor names
3333
palette:
3434
# Palette toggle for light mode
3535
- media: "(prefers-color-scheme: light)"
@@ -39,7 +39,6 @@ theme:
3939
toggle:
4040
icon: material/brightness-7
4141
name: Switch to dark mode
42-
4342
# Palette toggle for dark mode
4443
- media: "(prefers-color-scheme: dark)"
4544
scheme: slate
@@ -74,7 +73,7 @@ markdown_extensions:
7473
custom_fences:
7574
- name: mermaid
7675
class: mermaid
77-
format: !!python/name:pymdownx.superfences.fence_code_format ""
76+
format: !!python/name:pymdownx.superfences.fence_code_format
7877
- pymdownx.tabbed:
7978
alternate_style: true
8079
- pymdownx.keys # keyboard keys
@@ -87,25 +86,25 @@ markdown_extensions:
8786

8887
## Plugins
8988
plugins:
90-
# Explicitly add search plugin when defining plugins to this configuration file
89+
# Explicitly add search plugin when defining plugins in this configuration file
9190
- search
9291
- callouts
9392
- glightbox # Image aligning
94-
- git-revision-date-localized:
95-
# Update and Creation date of each page
93+
- git-revision-date-localized: # Update and Creation date of each page
9694
# enable_creation_date: true
9795
fallback_to_build_date: true
9896

9997
# Generate Social Cards via CI only
10098
# in assets/images/social
10199
- social:
102100
cards: !ENV [MKDOCS_SOCIAL_CARDS_GENERATE, true]
101+
103102
# Redirect pages when moved or changed
104103
# - redirects:
105104
# redirect_maps:
106105
# repl-driven-development.md: introduction/repl-workflow.md
107106

108-
# Footer / Social Media
107+
# Footer / Social Media
109108
extra:
110109
analytics:
111110
provider: google

0 commit comments

Comments
 (0)