- 環境
- Windows10 Pro バージョン1909
- Python 3.8.5
- mkdocs, version 1.1.2
事象 : MkDocsをビルドしたらなんか警告された
> mkdocs build
WARNING - Config value: 'pages'. Warning: The 'pages' configuration option has been deprecated and will be removed in a future release of MkDocs. Use 'nav' instead.
INFO - Cleaning site directory
# ...省略...
原因 : mkdocs.ymlで非推奨のpagesを使っているから
pages:
- 事前準備: 'index.md'
Version 1.0 (2018-08-03)
The pages configuration setting has been renamed to nav
The pages configuration setting is deprecated and will issue a warning if set in the configuration file. The setting has been renamed nav.
Release Notes - MkDocs
(ざっくり訳)pages設定の名前をnavに変更したから、pagesは非推奨になって使っていると警告を出すから変えてね。
対応 : pagesをnavに変える
nav:
- 事前準備: 'index.md'