何去何从?
恭喜! 你已经理解了 Docusaurus 的大部分核心功能了。 你已经完成了这些工作:
- Used the pages plugin to create a standalone React / Markdown page
- Used the docs plugin to create documentation pages. This includes configuring the sidebar, and even versioning
- Used the blog plugin to create a fully featured blog
- Tried your hands on a range of Markdown features, which are useful for all content plugins
- Used stylesheets or swizzling to customize your site's appearance
- Included images and other assets in your pages
- Added search to your site
- Understood how browser support and SEO are done through standard Docusaurus APIs
- Learned about how individual plugins are installed and configured
- Deployed your site to a content host
- Internationalized your site to include multiple languages
At this point, you probably have a big docusaurus.config.js
already😄 However, you haven't written much code yet! 大多数功能都是通过调用封装好的 Docusaurus API 实现的。 接下来,要继续你的旅程,面前有三条路:
- 学习更高级的 Docusaurus 概念。 这会有助于你更深入地理解这些 API 是做什么的。
- Read about all existing APIs. 其中许多还没有在教程中涵盖到呢!
- Learn to develop a plugin to extend the functionality of your site.