Sébastien Lorber
04f307cf66
chore(v2): ensure publishConfig.access presence with tests ( #3786 )
2020-11-19 17:14:45 +01:00
Bartosz Kaszubowski
a4e0992b27
fix(v2): fix missing logo in dark theme when darkSrc was not set ( #3784 )
2020-11-19 15:34:23 +01:00
Sébastien Lorber
4fbece2383
docs(v2): remove @next tags + minor docs changes ( #3783 )
2020-11-19 12:48:18 +01:00
camiluc
7d4510b686
docs(v2): rename zeit to vercel ( #3781 )
2020-11-19 12:43:38 +01:00
Sébastien Lorber
d1e51f7e3b
chore(v2): prepare v2.0.0.alpha-68 release ( #3779 )
...
* changelog
* add alpha 68 docs
* add missing publishConfig
* update publish doc + v1 private package system
* add version files
* v2.0.0-alpha.68
2020-11-18 20:02:06 +01:00
Alexey Pyltsyn
643a1ffd7e
chore(v2): upgrade ESLint deps ( #3767 )
...
* chore(v2): upgrade ESLint deps
* Fix for no-redeclare rule
2020-11-18 17:52:50 +01:00
Kaartic Sivaraam
118c76b47c
docs(v2): doc typo ( #3776 )
2020-11-18 16:42:50 +01:00
Alexey Pyltsyn
0331c55850
chore(v2): upgrade Infima to v0.2.0-alpha.17 ( #3777 )
2020-11-18 16:35:51 +01:00
Alexey Pyltsyn
5acb842c57
fix(v2): do not remove duplicate properties in during minification ( #3768 )
2020-11-18 16:33:27 +01:00
Alexey Pyltsyn
7d540a87d7
refactor(v2): adjust dark mode toggle to site style ( #3774 )
2020-11-18 16:29:13 +01:00
Alexey Pyltsyn
61fd53f7c0
fix(v2): increase stability of hideable navbar ( #3733 )
...
* fix
* fix(v2): increase stability of hideable navbar
* Fix bug after reload
* Remove state for hash
2020-11-18 16:17:04 +01:00
Sébastien Lorber
abcd8cefd6
feat(v2): @docusaurus/theme-common ( #3775 )
...
* create base @docusaurus/theme-common package + fix Webpack client export aliases issue shadowing other theme-common package
* Move theme-classic/src/utils code to new @docusaurus/theme-common package
* add prettierignore
* fix bad test location for getDocusaurusAliases()
2020-11-18 16:00:51 +01:00
Bartosz Kaszubowski
5872bbc735
chore(v2): fixes website styles ( #3769 )
2020-11-18 01:20:54 +03:00
Alexey Pyltsyn
de87eb5ca0
chore(v2): replace wait-file with wait-on to reuce npm warnings ( #3765 )
2020-11-17 11:25:29 +01:00
Alexey Pyltsyn
d5c8a0ca79
chore(v2): fix several npm warnings ( #3766 )
2020-11-17 11:22:51 +01:00
Alexey Pyltsyn
47a4b5b55e
refactor(v2): make accessible anchor links from keyboard ( #3764 )
...
* refactor(v2): make accessible acnhor links from keyboard
* Add transition
2020-11-17 03:06:53 +03:00
Alexey Pyltsyn
1dac7e33f7
fix(v2): add support for interleaving Markdown in code blocks ( #3749 )
...
* fix(v2): add support for interleaving Markdown in code blocks
* Improve check for array
2020-11-17 02:18:45 +03:00
Alexey Pyltsyn
30d7408815
refactor(v2): various markup improvements ( #3763 )
2020-11-17 02:15:22 +03:00
Gergely Sinka
c69ea51592
docs(v2): add ConfigCat to showcase ( #3762 )
...
* adding configcat to showcase
* Change URL to docs
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-11-17 01:42:28 +03:00
Alexey Pyltsyn
3ab7336875
fix(v2): restore prefetch functionality ( #3723 )
...
* fix(v2): attempt to restore prefetch functionality
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* Get needed routes chunk names
* refactor prefetching logic to make it easier to understand
* array.flat() => flatten(array)
* fix flatten() typo
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-16 19:52:26 +01:00
Alexey Pyltsyn
153d2d46e6
fix(v2): add support for prefers-reduced-motion in hideable sidebar ( #3739 )
...
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* fix(v2): add support for prefers-reduced-motion in hideable sidebar
2020-11-16 19:44:46 +01:00
Sébastien Lorber
f26d478f2d
fix(v2): codesandbox generated examples should use published init package ( #3760 )
...
* Fix codesandbox generated examples to use published init script instead of local one
* Fix codesandbox generated examples to use published init script instead of local one
2020-11-16 17:09:44 +01:00
Bartosz Kaszubowski
3ab9204ced
chore(internal): fix CI on merge after build size addition
2020-11-16 16:59:35 +01:00
sammychinedu2ky
bb33f54ba8
feat(v2): official CodeSandbox support ( #3717 )
...
* feat:added support for codesandbox
* added sandbox config file
* feat:added script to generate template for codesandbox
* added examples:generate script to package.json file
* added failing path to eslintignore
* added script to eslintignore
* added cleaning feature to script
* deleted sandbox script in root
* changed comment in codesandboxscript file
* update codesandboxscript.js + revert bad package.json changes
* eslint should check codesandboxscript
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-16 16:20:16 +01:00
Alexey Pyltsyn
5f20200661
feat(v2): allow init project via npm ( #3729 )
...
* feat(v2: allow init project via npm
* Add test-website to workspace
* Remove test-website from workspace
* Refactor
2020-11-16 16:11:16 +01:00
Jainam Chirag Shah
d05d703dad
chore(v2): add build size bot workflow Github CI workflow ( #3744 )
2020-11-16 15:32:04 +01:00
Alexey Pyltsyn
311be6e71a
fix(v2): escape alt text in img tag ( #3757 )
2020-11-16 15:21:36 +01:00
Bartosz Kaszubowski
3ad453932f
refactor(v2): introduce Logo component, remove useLogo hook ( #3745 )
...
* fix(v2): refactor theme-classic logo, remove useLogo hook
* Logo component small code tweaks
* Logo component returned type fix
2020-11-16 15:03:10 +01:00
Alexey Pyltsyn
cb55a2ba4b
chore(v2): fix mismatch peer dependency in MDX loader ( #3753 )
2020-11-16 12:36:24 +01:00
David Goss
bb64f68acd
docs(v2): add npm2yarn to TypeScript install command ( #3750 )
2020-11-15 01:08:38 +03:00
Sébastien Lorber
25fc35aec7
docs(v2): convert teams page to MDX ( #3743 )
2020-11-13 15:37:42 +01:00
Alexey Pyltsyn
7c97dadf0d
chore(v2): pin version of babel-plugin-dynamic-import-node to 2.3.0 ( #3742 )
...
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* chore(v2: pin version of babel-plugin-dynamic-import-node to 2.3.0
2020-11-13 15:24:43 +01:00
Sébastien Lorber
0ccc93573f
chore: update yarn lock ( #3741 )
2020-11-13 15:23:15 +01:00
Sébastien Lorber
f7ecb8d543
chore: update yarn lock ( #3740 )
2020-11-13 14:58:53 +01:00
Bartosz Kaszubowski
9d90e896f0
feat(v2): add ThemedImage component ( #3730 )
...
* feat(v2): add ThemedImage component
* add themed image problematic example
* refactor, SSR fix, openness about extending img tag, docs update
* refactor themed-image
* update themed image doc
Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-11-13 14:29:45 +01:00
Bartosz Kaszubowski
73f151d04c
chore(internal): add yarn deduplicate script, cleanup lock ( #3738 )
...
* chore(internal): add yarn deduplicate script, cleanup lock
* add lock cleanup to postinstall, install run and optimize lock again
2020-11-13 14:21:04 +01:00
Bartosz Kaszubowski
74ee8f6150
docs(v2): add Inline SVG color override example ( #3737 )
2020-11-13 14:17:22 +01:00
Alexey Pyltsyn
487a9f98e4
feat(v2): introduce new minification of CSS bundle ( #3716 )
...
* feat(v2): optimize CSS bundle
* Move to separate preset
* Move custom scrollbar styles to separate class
* Cleanup styles
* Remove unactual styles
* Various CSS optimizations, cleanup styles for NProgress
* Add ability to back to old way of minifying CSS
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* Use env var for back to simple CSS minifier
* remove unnecessary typing [skip-ci]
* Remove missing dep
* Update website/docs/cli.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-11-13 14:06:24 +01:00
Alexey Pyltsyn
9afe4b5447
chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0 ( #3734 )
2020-11-13 13:10:24 +01:00
Bartosz Kaszubowski
5d9b090b9a
fix(internal): fix clear script from the main package.json ( #3732 )
2020-11-12 19:37:22 +01:00
Alexey Pyltsyn
8ef7c24583
fix(v2): use swizzled SearchPage component if any ( #3721 )
...
* fix(v2): use swizzled SearchPage component if any
* Fix dependency cycles warning
2020-11-12 17:01:46 +01:00
Alexey Pyltsyn
702fc15c8e
fix(v2): add support for non-ASCII chars in anchor link scroll ( #3724 )
2020-11-12 14:28:48 +01:00
Alexey Pyltsyn
460ac71452
fix(v2): fix inconsistent error output ( #3725 )
2020-11-12 13:11:32 +01:00
Alexey Pyltsyn
6cccbf5f7a
fix(v2): add thin scrollbar to proper element in TOC ( #3726 )
2020-11-12 12:45:47 +01:00
Alexey Pyltsyn
049634a927
chore(v2): upgrade dependencies ( #3727 )
...
* chore(v2): upgrade dependencies
* Update loader-utils
* Update MDX packages
* Update Babel packages
* Various updates
2020-11-12 12:30:14 +01:00
Marc Rabat Pla
14a65907bd
docs(v2): add Botonic to showcase ( #3718 )
2020-11-10 19:09:18 +03:00
Alexey Pyltsyn
bde4062f20
chore(v2): update Browserslist ( #3715 )
...
* chore(v2): update Browserslist
* Update snapshot
2020-11-10 11:17:05 +01:00
Sébastien Lorber
9a1ba739ea
chore(v2): fix prettier formatting ( #3714 )
2020-11-09 17:25:25 +01:00
Alexey Pyltsyn
8c9f9487d6
refactor(v2): render all tab panels at once ( #3706 )
...
* refactor(v2): render all tab panels at once
* Add ability to choose way to load tabs
2020-11-09 17:06:07 +01:00
Alexey Pyltsyn
498f8a0f27
chore(v2): adjust website npm package ( #3709 )
2020-11-09 15:28:18 +01:00