-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from ParampreetR/master
Added theme toggle button and upgraded `mkdocs-material`
- Loading branch information
Showing
3 changed files
with
69 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,70 @@ | ||
# Project information | ||
site_name: 'Sailfish Documentation' | ||
site_name: "Sailfish Documentation" | ||
# site_description: 'Sailfish Documentation' | ||
site_author: 'Ryohei Machida' | ||
site_author: "Ryohei Machida" | ||
# site_url: 'https://***.com' | ||
|
||
# Copyright | ||
copyright: '© 2020 Ryohei Machida' | ||
copyright: "© 2020 Ryohei Machida" | ||
|
||
# Repository | ||
repo_name: 'rust-sailfish/sailfish' | ||
repo_url: 'https://github.com/rust-sailfish/sailfish' | ||
repo_name: "rust-sailfish/sailfish" | ||
repo_url: "https://github.com/rust-sailfish/sailfish" | ||
|
||
# Configuration | ||
theme: | ||
name: 'material' | ||
language: 'en' | ||
logo: 'images/logo.svg' | ||
name: "material" | ||
language: "en" | ||
logo: "images/logo.svg" | ||
palette: | ||
scheme: 'default' | ||
primary: 'deep purple' | ||
accent: 'deep purple' | ||
favicon: 'images/favicon.ico' | ||
- media: "(prefers-color-scheme: dark)" | ||
scheme: "dark" | ||
primary: "deep purple" | ||
accent: "deep purple" | ||
toggle: | ||
icon: "material/lightbulb-outline" | ||
name: "Light Mode" | ||
- media: "(prefers-color-scheme: light)" | ||
scheme: "default" | ||
primary: "deep purple" | ||
accent: "deep purple" | ||
toggle: | ||
icon: "material/lightbulb" | ||
name: "Dark Mode" | ||
favicon: "images/favicon.ico" | ||
font: | ||
text: 'Ubuntu' | ||
code: 'Ubuntu Mono' | ||
text: "Ubuntu" | ||
code: "Ubuntu Mono" | ||
features: | ||
- 'navigation.expand' | ||
- "navigation.expand" | ||
|
||
# Extensions | ||
markdown_extensions: | ||
- 'admonition' | ||
- 'footnotes' | ||
- 'pymdownx.highlight' | ||
- 'pymdownx.tabbed' | ||
- 'pymdownx.superfences': | ||
- "admonition" | ||
- "footnotes" | ||
- "pymdownx.highlight" | ||
- "pymdownx.tabbed": | ||
alternate_style: true | ||
- "pymdownx.superfences": | ||
custom_fences: | ||
- name: mermaid | ||
class: mermaid | ||
|
||
extra_css: | ||
- 'assets/css/custom.css' | ||
- "assets/css/custom.css" | ||
|
||
extra: | ||
social: | ||
- icon: 'fontawesome/brands/github-alt' | ||
link: 'https://github.com/rust-sailfish' | ||
- icon: "fontawesome/brands/github-alt" | ||
link: "https://github.com/rust-sailfish" | ||
|
||
# Page tree | ||
nav: | ||
- 'Welcome': 'index.md' | ||
- 'Installation': 'installation.md' | ||
- 'Getting Started': 'getting-started.md' | ||
- 'Configuration': 'options.md' | ||
- 'Syntax': | ||
- 'Overview': 'syntax/overview.md' | ||
- 'Tags': 'syntax/tags.md' | ||
- 'Includes': 'syntax/includes.md' | ||
- 'Filters': 'syntax/filters.md' | ||
- "Welcome": "index.md" | ||
- "Installation": "installation.md" | ||
- "Getting Started": "getting-started.md" | ||
- "Configuration": "options.md" | ||
- "Syntax": | ||
- "Overview": "syntax/overview.md" | ||
- "Tags": "syntax/tags.md" | ||
- "Includes": "syntax/includes.md" | ||
- "Filters": "syntax/filters.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mkdocs-material==5.2.3 | ||
mkdocs-material==8.2.3 | ||
mkdocs==1.2.3 |