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
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
Charles Korn
c8991174f2
fix(v2): use SVGO in webpack SVGR loader ( #3691 )
2020-11-06 11:01:19 +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
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
Alexey Pyltsyn
33f94c5d8a
fix(v2): add landmark for skip to content link ( #3650 )
2020-10-28 11:22:15 +01:00
Alexey Pyltsyn
9837299d97
refactor(v2): remove focus outline from mouse users ( #3626 )
...
* refactor(v2): remove focus outline from mouse users
* Improvements
* Cleanup
2020-10-27 15:08:51 +03:00
Alexey Pyltsyn
c82800e0db
fix(v2): restore infinite scroll pagination ( #3639 )
2020-10-26 18:13:47 +01:00
Thakur Karthik
92884431d1
feat(v2): add support for key,cert in https ( #3594 )
...
* fix: add support for key,cert in https
* docs: add steps for using https with docusaurus
* improve https certs docs
* typo
* local https: add mkcert -install step
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-26 17:28:12 +01:00
Alexey Pyltsyn
c91027f2fa
fix(v2): disable tabbing on hidden doc sidebar ( #3627 )
2020-10-26 16:15:49 +01:00
Alexey Pyltsyn
69bf68ae57
chore(v2): migrate hapi/joi to joi ( #3638 )
2020-10-26 15:18:51 +01:00
Alexey Pyltsyn
a64a34f077
feat(v2): add skip to content link ( #3640 )
2020-10-26 15:15:50 +01:00
Hai
85971fd1be
fix(v2): wrap code blocks on print ( #3637 )
2020-10-25 20:59:08 +03:00
Benoît Lemaire
e9a3794058
docs(v2): fix typo in remark-plugin-npm2yarn documentation ( #3624 )
2020-10-22 22:38:04 +03:00
Alexey Pyltsyn
14cdd72ae4
feat(v2): add ability to hide doc sidebar ( #3615 )
...
* feat(v2): add ability to hide doc sidebar
* Use relative imports
2020-10-22 11:23:15 +02:00
Alexey Pyltsyn
0ec5d533d6
refactor(v2): use new way to get versions for search page ( #3604 )
...
* refactor(v2): use new way to get versions for search page
* search page: support docs multi-instance
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-22 11:22:11 +02:00
Sébastien Lorber
44535f7555
fix(v2): docusaurus start --poll 500 should work + better config load failure error ( #3622 )
...
* start --poll 500 should be accepted + better error message when siteDir is wrongly passed as a cli arg and lead to config loading failure
* docusaurus start --poll 500 option should also be used for chokidar
* config error message: relative path for reliable tests
* update snapshot
* document start --poll [interval]
2020-10-21 19:16:53 +02:00
Alexey Pyltsyn
ce06e10e24
fix(v2): animate dropdown properly ( #3603 )
...
* fix(v2): animate dropdown properly
* Simplify logic
2020-10-21 16:19:16 +02:00
Sébastien Lorber
91256d445e
refactor(v2): add better error message for yarn workspace/monorepo/terser issue ( #3619 )
...
* Helpful error message when monorep Terser issue happens
* remove optional chaining usage for node < 14, as I'm not sure this file is transpiled properly (not TS)
* remove useless doMinify arg
2020-10-21 15:36:07 +02:00
Sam Zhou
003b457c88
fix(v2): Added back support for optional logo field in theme-classic navbarConfig ( #3611 )
...
* fix(v2): Added back support for optional logo field in theme-classic navbarConfig
* fix tests
* Revert to default to {} in useLogo approach
2020-10-21 15:35:51 +02:00
Rhys Arkins
6930e91508
fix: add repository metadata to all packages ( #3613 )
...
* fix: add repository metadata to all packages
* empty commit for cla bot
* move validate-package-json.test.ts + add glob devDependency
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-21 15:05:01 +02:00
Sébastien Lorber
c340ee13df
refactor(v2): Improve SSR error message: log page path with the SSR problem ( #3609 )
2020-10-20 12:25:40 +02:00
Sébastien Lorber
14447707c2
chore(v2): prepare v2.0.0.alpha-66 release ( #3608 )
...
* release alpha 66
* v2.0.0-alpha.66
2020-10-19 19:44:26 +02:00
Alexey Pyltsyn
e5448d9a96
fix(v2): fix error with required href attr of link in mobiles ( #3607 )
2020-10-19 17:17:57 +02:00
Alexey Pyltsyn
6cfadb89eb
fix(v2): make dropdown button clickable with mouse ( #3602 )
2020-10-19 16:41:18 +02:00
Sébastien Lorber
56ce98c63d
fix(v2): toc highlighting issues ( #3601 )
2020-10-16 22:54:03 +02:00
Sébastien Lorber
e4c1626106
feat(v2): blog sidebar ( #3593 )
...
* blog sidebar POC
* polish blog post sidebar
* add doc for blogSidebarCount
* Update packages/docusaurus-theme-classic/src/theme/BlogSidebar/styles.module.css
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-10-16 19:12:05 +02:00
Alexey Pyltsyn
da6268911c
fix(v2): remove event listeners on Tabs component unmount ( #3599 )
2020-10-16 18:15:48 +02:00
Alexey Pyltsyn
8f5c632cdf
refactor(v2): various dropdown improvements ( #3585 )
...
* refactor(v2): various dropdown improvements
* Remove invalid attr from markup
* Better naming
* Update types
* Fix
* Remove attr position correctly
* Test
* Add test
2020-10-16 16:41:30 +02:00