Skip to content

Commit

Permalink
fix(v2): docs plugin should not add routes if there are no docs
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Oct 29, 2019
1 parent 8e9ffeb commit cb83672
Show file tree
Hide file tree
Showing 35 changed files with 269 additions and 8,222 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Prioritize `@docusaurus/core` dependencies/ node_modules over user's node_modules. This fix a bug whereby if user has core-js@3 on its own node_modules but docusaurus depends on core-js@2, we previously encounter `Module not found: core-js/modules/xxxx` (because core-js@3 doesn't have that).
Another example is if user installed webpack@3 but docusaurus depends on webpack@4.
- Added code block line highlighting feature (thanks @lex111)! If you have previously swizzled the `CodeBlock` theme component, it is recommended to update your source code to have this feature.
- Fix a bug where docs plugin add `/docs` route even if docs folder is empty. We also improved docs plugin test coverage to 100% for stability before working on docs versioning.

## 2.0.0-alpha.31

Expand Down
202 changes: 0 additions & 202 deletions coverage/clover.xml

This file was deleted.

Loading

0 comments on commit cb83672

Please sign in to comment.