* Rework markdown links to asset require processing + add test page
* implement pathname:// protocol / escape hatch at the Link level
* linking to assets: fix tests + avoid creating an useless nested paragraph
* fix assets linking doc
* attempt to fix windows e2e test
* try to fix windows errors
* 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
* 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
* Fix typo in markdown-features
The code needed to be in npm syntax in order to work with npm2yarn
* Update markdown-features.mdx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* feat: support comments for code highlighting
* docs(v2): demonstrate highlighting with comments
* chore: remove debugging console.log
* fix: disable when language is undefined
* feat: add filename in CodeBlock
* Fix code to use Regex to find title from markdown and Update style
* Fix reviewed point
- Delete unnecessary template literals
- Delete unnecessary "important!" from css
* Add title in live codeblock
* Just edit code order
* Add demo for code title
* Add docs about code title in markdown-features.mdx
* Make code title height scalable
* Rename codeBlockWrapper to codeBlockContent
* Make copyButton appear when hovering codeTitle
* Fix docs description about code title
* feat(v2): Support syncing tab choices
* Move docs changes to website/docs
* Do not import entire React in TabGroupChoiceContext
* Store only one tab choice according to discussion in PR
* Remove leftover logging code during debugging
* Put storage value in separate const outside the hook-level
* Use an array to keep track of different tab groups
* Revert back to using `groupId`
* Update markdown-features.mdx
* Update markdown-features.mdx
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* feat(v2): add support specify new languages for Prism
* Do It Right
* More fix
* Fix up!
* Fixes
* Move to dev dependencies
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* feat(v2): add remark-admonitions
* feat(v2): add admonitions to style guide
* style: cleanup changes
* docs(v2): document how to use admonitions
* docs(v2): use proper package name
* docs(v2): add link to remark-admonitions docs
* style(v2): clean up addAdmonitions
* wip: versioning
* wip again
* nits lint
* refactor metadata code so that we can have inobject properties optimization, fix typing
* remove buggy permalink code
* modify versioned docs fixture such that foo/baz only exists in v1.0.0
* refactor metadata.ts so that there is less transformon object
* more refactoring
* reduce test fixtures, refactoring
* refactoring readability
* finish metadata part
* refactor with readdir
* first pass of implementation
* fix mdx laoder
* split generated routes by version for performance & smaller bundle
* test data for demo
* refactor with set
* more tests
* typo
* fix typo
* better temporary ui
* stronger typing & docsVersion command
* add 100% test coverage for docsVersion command
* more test and delete manual docs cut
* cut 2.0.0-alpha.35 docs
* cut alpha.36 instead
* copyright
* delete versioned docs
* stronger test on metadata
* update typo