* fix(v2): make navbar title validation less strict
* fix(v2): fix validation for rehype plugin
* fix(v2): allow empty string for routeBasePath
* fix(v2): fix validation for stylesheets and scripts field
* fix(v2): rerun CI
* fix(v2): relax check for stylesheet href
* ability to test the migration cli easily
* add node scripts to help test migration cli (locally + CI)
* add test for frontmatter quotify
* more tests for shouldQuotifyFrontMatter
* typo
* updated yarn lock
* add poc for migration tool
* fix version
* fix path
* fix some type error
* fix type errors
* fix commad
* delete package.lock.json
* ignore lib folder in eslint
* ignore lib in prettier
* fix missing version
* fix sidebar in next
* use primaey color
* fix navbar link
* fix footer
* sanatize front-matter for gray-matter
* add e2e test
* fixworkflow
* add unit test
* chore(v2): fix eslint error
* refactor(v2): use descriptive variable names
* refactor(v2): refactor createProjectStructure
* refactor(v2): refactor migrateDocusaurusProject
* refactor(v2): fix eslint errors
* fix(v2): fix mistake
* use path.join
* remove console.log
* try automate migrating md file to mdx
* fix types not found
* fix types
* remove unused fixture
* use package.json for version
* add support for pages
* add support
* sanitize fortmatter only in case of special character
* chore(v2): add color to dependencies
* feat(v2): initialize config with range of color and add logs
* chore(v2): add glob dependency
* fix(v2): fix color generation
* fix(v2): fix type issue
* feat(v2): add all unknown fields to customFields
* fix(v2): fix css mistake
* fix lerna
* fix(v2): fix github actions
* feat(v2): add option flag for migrating pages
* fix special character
* remove depulicate build
* fix test
* remove unwanted file
* fix frontmatter
* remove unused file
* rerun the test
* fix links
* feat(v2): filter out more fields from customFields
* feat(v2): filter out deprecated fields from customFields
* fix items
* fix types
* merge master
* revert docs
* fix doc
* fix broken link
* fix test
* test
* fix ci
* fix ci
* fix ci
* fix ci
* fix frontmatter
* log custom fields
Co-authored-by: teikjun <teikjunhci@gmail.com>
* try to fix the baseUrl related issues
* fix some newly detected broken links
* fix baseurl and broken link issues
* try to configure netlify to use baseUrl deployment
* add proper netlify settings?
* add proper netlify settings?
* add proper netlify settings?
* test commit
* try to fix the redirects
* cleanup working conf
* minor redirect fix
* doc components initial simplification
* doc components initial simplification
* add docContext test
* Add poc of global data system + use it in the theme
* Revert "doc components initial simplification"
This reverts commit f657b4c4
* revert useless changes
* avoid loosing context on docs switch
* fix docs tests
* fix @generated/globalData ts declaration / es import
* typo
* revert bad commit
* refactor navbar in multiple parts + add navbar item types validation + try to fix remaining merge bugs
* add missing watch mode for plugin debug
* fix docs global data integration, move related hooks to docs plugin + convert to TS
* change versions link label
* fix activeClassName react warning
* improve docs global data system + contextual navbar dropdown
* fix bug preventing the deployment
* refactor the global data system to namespace automatically by plugin name + plugin id
* proper NavbarItem comp
* fix tests
* fix snapshot
* extract theme config schema in separate file + rename navbar links to navbar items
* minor typos
* polish docs components/api
* polish useDocs api surface
* fix the docs version suggestions comp + data
* refactors + add docsClientUtils unit tests
* Add documentation
* typo
* Add check for duplicate plugin ids detection
* multi-instance: createData plugin data should be namespaced by plugin instance id
* remove attempt for multi-instance support
* feat(v2): notify users when docusaurus version is outdated
* style(v2): add comments
* fix(v2): fix spacing in message
* feat(v2): make update notifier work on first run
* Add some default asset loaders
Add webpack merge strategy feature to enable plugins to prepend some webpack configuration (like the ideal image plugin that should override the default image loader)
* Add documentation for using assets from markdown
* add path prefix for webpack file loader
* renaming
* document Merge strategies
* rename mergeStrategies -> mergeStrategy
* chore(v2): Add E2E test for yarn v2
* Remove root node_modules to prevent them from accessible in e2e test
The purpose of e2e test is to ensure that the docusaurus inited website can stand on its own. The root node_modules remain accessible according to how node resolution works and it might interfere with the test. Remove them for safety.
* Add @mdx-js/react to docusaurus init templates