The default style of use_directory_urls: true creates more user friendly URLs, and is usually what you'll want to use. The alternate style (edit: use_directory_urls: false) can occasionally be useful if you want your documentation to remain properly linked when opening pages directly from the file system, because it creates links that point directly to the target file rather than the target directory.
根据doc,您可以在}并重新生成它。在
mkdocs.yml
中添加{根据官方文档,您可以使用
mkdocs build
生成html文件。它们将存储在名为site
的文件夹中。您不必运行mkdocs serve
,就可以打开生成的文件。在相关问题 更多 >
编程相关推荐