diff --git a/mkdocs-offline.yml b/mkdocs-offline.yml index 3704e86b60..13cb0b9786 100644 --- a/mkdocs-offline.yml +++ b/mkdocs-offline.yml @@ -4,6 +4,14 @@ INHERIT: 'mkdocs.yml' plugins: - offline + + # For now, *every plugin config* from `mkdocs.yml` has to be repeated here. + # https://github.com/mondeja/mkdocs-include-markdown-plugin/issues/195#issuecomment-1933085478 + # https://github.com/mkdocs/mkdocs/issues/3216 + - include-markdown # For the CLI reference + - search + - redirects: + redirect_maps: # Turns out the `offline` plugin forces the following # option no matter what, and therefore shouldn't be # used in the main config file. diff --git a/mkdocs.yml b/mkdocs.yml index 3e5ef6fd2a..4b2647ecf6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -31,6 +31,9 @@ theme: extra: version: provider: mike + +# IMPORTANT: any changes to plugins have to be duplicated in +# `mkdocs-offline.yml`. See that file for more details. plugins: - include-markdown # For the CLI reference - search