* improve markdown parsing errors by adding file path to error
* typo commit
* Add default nav item position to right (as v1)
* improve error when sidebar references unexisting document
* parseMarkdownFile: improve errors by providing hint about using "" to avoid parsing errors, if using special characters
* improve subcategory migration error for Unknown sidebar item type
* improve unrecognizedFields error
* typo
* fix inline snapshots
* improve the migration docs
* improve the migration docs
* improve migration doc
* Update migrating-from-v1-to-v2.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* Fix installation.md typo
Checking the docusaurus version should be done with
```
npx docusaurus --version
```
not
```
npm docusaurus --version
```
otherwise it prints the version of `npm` instead of `docusaurus`.
* docs: Fixed installation.md for checking version.
Specifying `npm` for the version will yield the version of NPM
instead of docusaurus itself. Use `npx` for the docusaurus version.
* feat: update sidebar categ to take collapsed prop
* feat: add extra sidebars collapsed test
* fix: only mutate item.collapsed if necessary
* feat: update docs for SidebarItemCategory
* fix: update snapshots
* fix: update json to match new sidebar schema
* fix: update last snapshot
* refactor: check if item should be expanded
* docs: update sidebar categories section
* refactor: use new collpased on docusaurus
* feat: only highlight category for active page
* fix: check for window
* refactor: use ExecutionEnviornment
* refactor: make isCategoryOfActivePage pure
* fix: rename docs to docs-introduction in sidebars
* Update docs.md
* misc: remove setting for every sidebar
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* Add new community plugin for dotenv support
Adds a link to a new community plugin that introduces support for environment variables managed in `.env` files.
* Update resources.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* [doc] Replace word append with prepand to describe useBaseUrl hook
* [doc] Replace word append with prepend to describe useBaseUrl hook
* [doc] Replace append for all document versions
* feat: update sidebar categ to take collapsed prop
* feat: add extra sidebars collapsed test
* fix: only mutate item.collapsed if necessary
* feat: update docs for SidebarItemCategory
* fix: update snapshots
* fix: update json to match new sidebar schema
* fix: update last snapshot
* Add CLI option to polling
Some environments (specifically docker containers) can have issues with file watching for live reloads. [Webpack Dev Server provides a polling alternative](https://webpack.js.org/configuration/watch/#watchoptionspoll) option for this
* Update docusaurus.js
* Update cli.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>