2e470cd1b8
Add script for restoring preferred theme setting. Update config for newer `mkdocs-material`. Use native `mkdocs-material` styles where possible. Closes: #45 #63
105 lines
2.5 KiB
YAML
105 lines
2.5 KiB
YAML
site_name: Getting Started
|
|
site_description: Getting Started with Docker
|
|
site_author: Docker
|
|
# site_url: https://squidfunk.github.io/mkdocs-material/
|
|
|
|
# Repository
|
|
repo_name: docker/getting-started
|
|
repo_url: https://github.com/docker/getting-started
|
|
repo_icon: fontawesome/brands/github-alt
|
|
edit_uri: ""
|
|
|
|
# Copyright
|
|
copyright: 'Copyright © 2020 Docker'
|
|
|
|
# Configuration
|
|
theme:
|
|
name: material
|
|
language: en
|
|
palette:
|
|
# Light mode
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: default
|
|
primary: blue
|
|
accent: blue
|
|
toggle:
|
|
icon: material/toggle-switch-off-outline
|
|
name: Switch to dark mode
|
|
|
|
# Dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: blue
|
|
accent: blue
|
|
toggle:
|
|
icon: material/toggle-switch
|
|
name: Switch to light mode
|
|
font:
|
|
text: Roboto
|
|
code: Roboto Mono
|
|
icon:
|
|
repo: fontawesome/brands/github-alt
|
|
favicon: assets/images/favicon.png
|
|
logo: 'images/docker-labs-logo.svg'
|
|
|
|
extra_css:
|
|
- css/styles.css
|
|
|
|
extra_javascript:
|
|
- js/index.js
|
|
|
|
# Plugins
|
|
plugins:
|
|
- search
|
|
- minify:
|
|
minify_html: true
|
|
- redirects:
|
|
redirect_maps:
|
|
index.md: tutorial/index.md
|
|
|
|
# Customization
|
|
extra:
|
|
social:
|
|
- icon: fontawesome/brands/github-alt
|
|
link: https://github.com/docker/getting-started
|
|
|
|
# Extensions
|
|
markdown_extensions:
|
|
- meta
|
|
- markdown.extensions.admonition
|
|
- markdown.extensions.codehilite:
|
|
guess_lang: false
|
|
- markdown.extensions.footnotes
|
|
- markdown.extensions.toc:
|
|
permalink: true
|
|
- pymdownx.betterem:
|
|
smart_enable: all
|
|
- pymdownx.caret
|
|
- pymdownx.critic
|
|
- pymdownx.details
|
|
- pymdownx.inlinehilite
|
|
- pymdownx.magiclink:
|
|
repo_url_shorthand: true
|
|
user: dockersamples
|
|
repo: 101-tutorial
|
|
- pymdownx.mark
|
|
- pymdownx.smartsymbols
|
|
- pymdownx.superfences
|
|
- pymdownx.tasklist:
|
|
custom_checkbox: true
|
|
- pymdownx.tilde
|
|
- attr_list
|
|
|
|
# Page tree
|
|
nav:
|
|
- Getting Started: tutorial/index.md
|
|
- Our Application: tutorial/our-application/index.md
|
|
- Updating our App: tutorial/updating-our-app/index.md
|
|
- Sharing our App: tutorial/sharing-our-app/index.md
|
|
- Persisting our DB: tutorial/persisting-our-data/index.md
|
|
- Using Bind Mounts: tutorial/using-bind-mounts/index.md
|
|
- Multi-Container Apps: tutorial/multi-container-apps/index.md
|
|
- Using Docker Compose: tutorial/using-docker-compose/index.md
|
|
- Image Building Best Practices: tutorial/image-building-best-practices/index.md
|
|
- What Next?: tutorial/what-next/index.md
|