Documentation

This commit is contained in:
squidfunk 2022-04-06 20:59:11 +02:00
parent dd2268f7ac
commit 52adc006ba

View File

@ -185,10 +185,13 @@ pipeline), you can build your documentation project with the following lines:
mkdocs build --config-file mkdocs.insiders.yml mkdocs build --config-file mkdocs.insiders.yml
``` ```
!!! warning "Alternative syntax" !!! tip "Sharing plugin and extension configuration"
If you plan to split `plugins` or `markdown_extensions` between the two files, you must use If you want to share `plugins` or `markdown_extensions` between both
alternative key / value syntax for these sections. The above example would then look like: configuration files `mkdocs.insiders.yml` and `mkdocs.yml`, you can use
the alternative key-value syntax in both files. The above example would
then look like:
=== ":octicons-file-code-16: mkdocs.insiders.yml" === ":octicons-file-code-16: mkdocs.insiders.yml"
``` yaml ``` yaml