擅长:python、mysql、java
<p>根据<a href="https://www.mkdocs.org/user-guide/configuration/#use_directory_urls" rel="nofollow noreferrer">doc</a>,您可以在<code>mkdocs.yml</code>中添加{<cd1>}并重新生成它。在</p>
<blockquote>
<p>The default style of <code>use_directory_urls: true</code> creates more user friendly URLs, and is usually what you'll want to use. The alternate style (edit: <code>use_directory_urls: false</code>) 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.</p>
</blockquote>