Commit graph

3428 commits

Author SHA1 Message Date
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
Stephen McElhinney
9309594da9
feat(v2): Added the ability to specify GIT_PASS in deploy command (for CI purposes) (#3694)
* Added the ability to specify GIT_PASS (for CI purposes)

* Fixed variable copy issue

* Added documentation for GIT_PASS

Co-authored-by: Stephen McElhinney <stephen@appstruct.io>
2020-11-09 13:13:10 +01:00
Alexey Pyltsyn
c895136665
chore(v2): remove docs for alpha v60-61 (#3708) 2020-11-08 01:19:51 +03:00
Alexey Pyltsyn
46dba2f3c6
chore(v2): upgrade Infima to v0.2.0-alpha.15 (#3712)
* Move custom scrollbar styles to separate class

* chore(v2): upgrade Infima to v0.2.0-alpha.15
2020-11-08 01:18:39 +03:00
Alexey Pyltsyn
f006c6e4ec
refactor(v2): allow adding plugins depending on condition (#3704) 2020-11-06 17:54:31 +01:00
Alexey Pyltsyn
f2d1330207
fix(v2): ignore export declarations in excerpt (#3703) 2020-11-06 17:49:59 +01:00
Alexey Pyltsyn
86be6cec1e
chore(v2): upgrade Infima to v0.2.0-alpha.14 (#3707) 2020-11-06 17:32:33 +01:00
Alexey Pyltsyn
3aeb90fcac
feat(v2): add support for sync to npm2yarn tabs (#3705) 2020-11-06 17:30:32 +01:00
Alexey Pyltsyn
f31dcb6844
fix(v2): limit images height on showcase page (#3701) 2020-11-06 11:05:25 +01:00
Charles Korn
c8991174f2
fix(v2): use SVGO in webpack SVGR loader (#3691) 2020-11-06 11:01:19 +01:00
Bartosz Kaszubowski
3ee700c6db
docs(v2): normalize showcase preview images height (#3696) 2020-11-05 19:45:25 +01:00
Sébastien Lorber
c22c132fe0
docs(v2): deployment should use mdx extension (#3699)
* deployment: make it a mdx component because it contains <Tabs>

* fix deployment md links

* typo

* fix more links
2020-11-05 18:22:18 +01:00
Bartosz Kaszubowski
8753fc74c3
docs(v2): add React Native website to the showcase (#3695) 2020-11-05 15:17:10 +01:00
Bartosz Kaszubowski
574af1f90a
fix(v2): fix website scripts on Windows by using cross-env (#3693)
* fix(website): fix scripts on Windows by using cross-env

* lock update
2020-11-05 15:13:47 +01:00
Anh Hong
f8a6b391cd
refactor(v2): improve regex matching code-block title (#3685) 2020-11-05 12:33:08 +01:00
Alexey Pyltsyn
7c7e0c24f6
Revert "refactor(v2): improve regex matching code-block title (#3671)" (#3681)
This reverts commit 32425497f7.
2020-11-04 12:52:52 +01:00
Artem Kovalov
5aca1d739c
fix(v2): navbar dropdown crash when item.to is undefined (#3662)
* Fix for undefined path with dropdown menu in Navbar

* Filter out 'href' links and check for undefined in utils

* Minot syntax fixes

* allow isSamePath to accept undefined values

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-02 19:15:43 +01:00
Bartosz Kaszubowski
3ebe888244
feat(v2): add additional wrapper class to blog pages (#3674) 2020-11-02 18:26:31 +01:00
ylemkimon
1bba6b163d
fix(v2): add missing 'react' and 'webpack' peer dependencies (#3675)
* fix(v2): add missing 'react' peer dependencies

* fix(v2): add missing 'webpack' peer dependency
2020-11-02 18:24:19 +01:00
ylemkimon
9ff24d7da3
test(e2e): dogfood Yarn with enableGlobalCache (#3673)
* test(e2e): Yarn with enableGlobalCache

* Update e2e-test.yml

* Update e2e-test.yml
2020-11-02 18:21:03 +01:00
Anh Hong
32425497f7
refactor(v2): improve regex matching code-block title (#3671) 2020-11-02 17:03:32 +01:00
Nate Giraudeau
398af747f6
fix(v2): make scrollbar styles consistent (#3669) 2020-11-02 16:41:50 +01:00
Sam Zhou
736807fdb4
fix(v2): Fix typo in BaseUrlSuggestionWarning (#3667) 2020-11-02 16:32:59 +01:00
iAmir
8f2d898f22
feat(v2): onBrokenMarkdownLinks config (#3658)
* refactor(v2): move `reportMessage` from `core/src/server/utils` to `utils` package

* feat(v2): handle broken markdown links by using onBrokenLinks prop from siteconfig

* feat(v2): add a new site config prop called `onBrokenMarkdownLinks`

works like onBrokenLinks, but only for markdown links

* feat(v2): add `onBrokenMarkdownLinks` to API docs

* some changes regarding test issues after adding `onBrokenMarkdownLink`

* Update website/versioned_docs/version-2.0.0-alpha.66/api/docusaurus.config.js.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-10-31 18:04:56 +01:00
Alexey Pyltsyn
52e7511869
fix(v2): make optional title for footer links column (#3666) 2020-10-31 17:57:11 +01:00
Jainam Chirag Shah
3a8bad2068
feat(v2): baseUrl config issues: show help message if css/js can't load (#3621)
* Add CSSLoadingWarningMessage to App in client

* fix/polish BaseUrlSuggestionWarning

* add baseUrl trailing slash + polish

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-30 18:43:13 +01:00
Alexey Pyltsyn
999ae5759c
fix(v2): handle multiple asset links in one line properly (#3653)
* fix(v2): handle multiple asset links in one line properly

* Fixes and improvements

* Make TypeScript happy

* Use relative path for image link

* Add example for JSX element inside asset link
2020-10-30 16:21:58 +01:00
Alexey Pyltsyn
cf99862d29
refactor(v2): clean up code blocks (#3654) 2020-10-29 09:27:44 +01:00
Alexey Pyltsyn
f085560b66
fix(v2): do not set height for mobile dropdown (#3647) 2020-10-28 17:52:44 +01:00
Alexey Pyltsyn
9f66545c8c
refactor(v2): make code blocks accessible from keyboard (#3649) 2020-10-28 17:51:21 +01:00
Bright Egbo
2aae77124e
docs(v1): fix typo on Add Versions doc page (#3651)
The file generated when you run `npm run examples versions` is a versions.json file and not a version.js file
2020-10-28 15:24:15 +03:00