mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed buttons in getting started guide
This commit is contained in:
parent
f6a6638c78
commit
dec7e21243
@ -474,7 +474,7 @@ extra:
|
||||
disqus: 'your-disqus-shortname'
|
||||
```
|
||||
|
||||
The comments section is inserted in *every page, except the index page*.
|
||||
The comments section is inserted on *every page, except the index page*.
|
||||
Additionally, a new entry at the bottom of the table of contents is generated
|
||||
that is linking to the comments section. The necessary JavaScript is
|
||||
automatically included.
|
||||
@ -494,15 +494,15 @@ automatically included.
|
||||
changes to the way themes can define options. The following variables inside
|
||||
your project's `mkdocs.yml` need to be renamed:
|
||||
|
||||
* `extra.feature` becomes `theme.feature`
|
||||
* `extra.palette` becomes `theme.palette`
|
||||
* `extra.font` becomes `theme.font`
|
||||
* `extra.logo` becomes `theme.logo`
|
||||
* `extra.feature` becomes `theme.feature`
|
||||
* `extra.palette` becomes `theme.palette`
|
||||
* `extra.font` becomes `theme.font`
|
||||
* `extra.logo` becomes `theme.logo`
|
||||
|
||||
* Favicon support has been dropped by MkDocs, it must now be defines in
|
||||
* Favicon support has been dropped by MkDocs, it must now be defined in
|
||||
`theme.favicon` (previously `site_favicon`).
|
||||
|
||||
* Localization is now separate in theme language and search language. While
|
||||
* Localization is now separated into theme language and search language. While
|
||||
there can only be a single language on theme-level, the search supports
|
||||
multiple languages which can be separated by commas.
|
||||
|
||||
|
10
mkdocs.yml
10
mkdocs.yml
@ -32,7 +32,7 @@ edit_uri: ""
|
||||
# Copyright
|
||||
copyright: 'Copyright © 2016 - 2017 Martin Donath'
|
||||
|
||||
# Theme directory
|
||||
# Configuration
|
||||
theme:
|
||||
name: null
|
||||
custom_dir: material
|
||||
@ -46,8 +46,8 @@ theme:
|
||||
feature:
|
||||
tabs: false
|
||||
palette:
|
||||
primary:
|
||||
accent:
|
||||
primary: indigo
|
||||
accent: indigo
|
||||
font:
|
||||
text: Roboto
|
||||
code: Roboto Mono
|
||||
@ -55,7 +55,7 @@ theme:
|
||||
logo:
|
||||
icon: "\uE80C"
|
||||
|
||||
# Options
|
||||
# Customization
|
||||
extra:
|
||||
social:
|
||||
- type: globe
|
||||
@ -118,4 +118,4 @@ google_analytics:
|
||||
|
||||
# Just for testing
|
||||
extra_javascript:
|
||||
- http://ginseng-analytics.com/analytics.js
|
||||
- https://ginseng-analytics.com/analytics.js
|
||||
|
Loading…
Reference in New Issue
Block a user