mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added redirects from old to new structure
This commit is contained in:
parent
cafb79b788
commit
ae1cc68a4e
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -81,7 +81,9 @@ jobs:
|
||||
- run: |
|
||||
pip install -r requirements.txt
|
||||
pip install .
|
||||
pip install mkdocs-minify-plugin>=0.2
|
||||
pip install \
|
||||
mkdocs-minify-plugin>=0.3 \
|
||||
mkdocs-redirects>=1.0
|
||||
|
||||
# Build documentation
|
||||
- env:
|
||||
|
@ -35,7 +35,7 @@ pip show mkdocs-material
|
||||
* Reduced HTML and CSS footprint due to deprecation of Internet Explorer support
|
||||
* Slight facelifting of some UI elements (Admonitions, tables, ...)
|
||||
|
||||
[1]: setup/navigation.md#instant-loading
|
||||
[1]: setup/setting-up-navigation.md#instant-loading
|
||||
[2]: setup/changing-the-colors.md#custom-colors
|
||||
[3]: setup/changing-the-logo-and-icons.md#icons
|
||||
[4]: setup/setting-up-site-search.md#built-in-search
|
||||
@ -68,7 +68,7 @@ flags and can be enabled by listing them in `mkdocs.yml` under `theme.features`:
|
||||
tabs: true
|
||||
```
|
||||
|
||||
[5]: setup/navigation.md#navigation-tabs
|
||||
[5]: setup/setting-up-navigation.md#navigation-tabs
|
||||
|
||||
#### `theme.logo.icon`
|
||||
|
||||
|
14
mkdocs.yml
14
mkdocs.yml
@ -67,6 +67,20 @@ theme:
|
||||
# Plugins
|
||||
plugins:
|
||||
- search
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
extensions/admonition.md: reference/admonitions.md
|
||||
extensions/codehilite.md: reference/code-blocks.md
|
||||
extensions/footnotes.md: reference/footnotes.md
|
||||
extensions/metadata.md: reference/meta-tags.md
|
||||
extensions/permalinks.md: setup/setting-up-navigation.md
|
||||
plugins/search.md: setup/setting-up-site-search.md
|
||||
# plugins/minification.md:
|
||||
# plugins/revision-date.md:
|
||||
# plugins/awesome-pages.md:
|
||||
releases/4.md: upgrading.md
|
||||
releases/5.md: upgrading.md
|
||||
releases/changelog.md: changelog.md
|
||||
- minify:
|
||||
minify_html: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user