An Ant Design style theme for VuePress.
- Equipped with Ant Design style, you can directly use various components of the UI library.
- Optimize parts of styles.
- More features are waiting for you to discover ...
npm i vuepress-theme-antdocs
or
yarn add vuepress-theme-antdocs
Open your .vuepress/config.js
, and then add VuePress theme reference code:
module.exports = {
theme: 'antdocs'
}
You can get help here: Using a theme
- Fix the bug that the code block css / cpp / c language is displayed incorrectly.
- Optimize other details.
- Add sidebar advertising space, support three display states (picture, graphic, entertainment display);
- Added a secondary home button, it means the maximum number of home button support is 2;
- Optimized back to top button can be customized to open;
- Fixed the bug that the navigation bar displayed abnormally because the title was too long.
- Fix the problem that the navigation bar menu does not activate the current menu item properly in some cases.
- Optimize the display effect of mobile sidebar;
- Optimize mobile search and menu icon display.
- Powered by Ant Design components and used directly in .md;
- Add bottom column, support up to 4 columns;
- Unified preprocessor, using less syntax compatible with Ant Design style;
- Optimize the display effect of built-in prompts, warnings, and dangerous blocks;
- Optimize the display effect of code blocks, inline code, Blockquote, etc.;
- Optimize the display effect of the homepage, navigation menu, Github logo, sidebar, etc.;
- Optimize mobile display and animation effects;
- Fix other possible bugs.
Internal beta version is unstable and not recommended
See here for more details : https://github.com/zpfz/vuepress-theme-antdocs
[ PS: The document is being written, please be patient❤~You can directly access the following url and then use Google Translate to translate the document]
文档已经发布,国内文档请直接访问:http://antdocs.seeyoz.cn/