Alexey Pyltsyn
e902a08b52
fix(v2): do not force terminate building when running deploy command ( #2496 )
2020-04-02 11:04:16 +08:00
Sam Zhou
da7fd1a186
fix(v2): unbreak blog-only mode routing by deplicating starting forward slashes ( #2497 )
2020-04-02 11:02:44 +08:00
Alexey Pyltsyn
d1326cdee8
refactor(v2): update HTML markup of pagination for better 11y ( #2495 )
2020-04-02 10:43:34 +08:00
Alexey Pyltsyn
686c8ae27d
fix(v2): use lodash instead of array-map-polyfill ( #2490 )
2020-04-02 01:08:22 +08:00
Alexey Pyltsyn
1577ab98e9
fix(v2): fix HTML issues nav dropdown and highlight docs item ( #2489 )
2020-04-02 01:07:51 +08:00
Yangshun Tay
409f169379
v2.0.0-alpha.49
2020-04-01 16:00:14 +08:00
Yangshun Tay
f6d7e42717
chore(v2): v2.0.0-alpha.49 ( #2488 )
2020-04-01 15:57:42 +08:00
Yangshun Tay
f96c2b61d7
feat(v2): nav dropdown ( #2487 )
...
* feat(v2): allow nav dropdown
* docs(v2): document navbar links
* fix bug
2020-04-01 03:10:04 +08:00
Elvis Wolcott
054563befe
feat(v2): support comments for code highlighting ( #2456 )
...
* feat: support comments for code highlighting
* docs(v2): demonstrate highlighting with comments
* chore: remove debugging console.log
* fix: disable when language is undefined
2020-04-01 01:44:58 +08:00
Alexey Pyltsyn
0f73a1fad8
feat(v2): add announcement bar ( #2330 )
...
* feat(v2): add announcement bar
* Refactor: move to Layout
* Fixes
* Refactor to simplify
* Changes: id, styles, docs
2020-04-01 00:08:55 +08:00
Alexey Pyltsyn
c3aa162ea5
refactor(v2): remove unnecessary X-UA-Compatible meta tag ( #2485 )
2020-03-31 11:44:58 +08:00
Alexey Pyltsyn
8143af6851
feat(v2): add a way to exclude components from build-time prerendering ( #2323 )
...
* feat(v2): add a way to exclude components from SSR within JSX
* Update docusaurus-core.md
* Update and rename ClientOnly.js to BrowserOnly.js
* improve docs
* Improve naming
* Simplify realization
* Fix code style
* Fix docs
* Update docusaurus-core.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-29 23:43:57 +08:00
Alexey Pyltsyn
005eb07a32
fix(v2): do not render sidebar logo if used sticky navbar ( #2483 )
2020-03-29 23:37:48 +08:00
Alexey Pyltsyn
c299baa80b
fix(v2): various improvements for accessibility ( #2480 )
2020-03-29 23:35:58 +08:00
Alexey Pyltsyn
8fe203d529
chore(v2): upgrade MDX to 1.5.8 ( #2479 )
2020-03-29 23:34:31 +08:00
Alexey Pyltsyn
fa2e263ce8
feat(v2): add ability to create unminimized bundles ( #2474 )
2020-03-29 23:32:26 +08:00
Alexey Pyltsyn
5ed226dc64
fix(v2): remove unnecessary role navigation
2020-03-29 13:21:16 +03:00
Alexey Pyltsyn
cf884f532d
fix(v2): improve code block scroll accessibility ( #2476 )
2020-03-29 12:48:34 +08:00
Alexey Pyltsyn
cffb3f9af5
fix(v2): make correct Open Graph title for doc page ( #2475 )
2020-03-29 12:12:07 +08:00
Alexey Pyltsyn
f0941a9ff6
chore(v2): upgrade remark-admonitions for a11y fixes ( #2477 )
2020-03-29 12:10:26 +08:00
mohrash92
bf3c7cc8f9
fix(v1): fix broken links in example docs ( #2453 )
...
* fix(v1): add languages file to fix broken links
* fix(v1): add languages file to fix broken links
* fix(v1): change links for default website instead of introducing languages file
* fix(v1): after linter run
* fix(v1): fix my IDE's weird formatting
* fix(v1): follow same indentation as the rest of the anchor tags
* fix(v1): maybe I do need linter to run
2020-03-27 19:04:02 +08:00
Sam Zhou
ecfb55eee8
feat(v2): support TypeScript theme components ( #2469 )
2020-03-27 19:02:36 +08:00
Kohhee Peace
5e0d11dbaf
feat(v2): add filename in CodeBlock ( #2346 )
...
* 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
2020-03-26 01:05:18 +08:00
Sébastien Lorber
201c663318
feat(v2): allow nested sidebar category shorthand syntax ( #2444 )
...
* feat(v2): allow sidebar category shorthand syntax also for nested elements
* Update sidebars-category-shorthand.js
* Update sidebars-category-shorthand.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-26 00:59:51 +08:00
Bartosz Kaszubowski
85c124e3f1
chore(v2): use single method package instead of whole Lodash package in blog plugin ( #2460 )
2020-03-25 18:28:27 +08:00
Elvis Wolcott
16a84998da
fix(v2): expand broken admonitions ( #2458 )
...
* fix: expand broken admonitions
* fix: properly format admonitions
2020-03-25 18:22:03 +08:00
Yangshun Tay
27e7fa617d
feat(v2): add @theme-original alias to give access to pre-swizzled components ( #2455 )
2020-03-25 00:53:51 +08:00
Alexey Pyltsyn
c2fd6520ae
fix(v2): do not force terminate building when bundle analyzer is on ( #2462 )
2020-03-25 00:52:47 +08:00
Alexey Pyltsyn
b0933364d4
chore(v2): upgrade react-dev-utils ( #2461 )
2020-03-25 00:51:00 +08:00
Elvis Wolcott
55188ed0a1
fix(v2): pass options to remark-admonitions ( #2451 )
2020-03-24 08:42:41 +08:00
Yangshun Tay
5813faab32
misc(v2): prettier
2020-03-24 01:40:18 +08:00
Ramón Lamana
a0570e48ac
fix(v2): normalize location for route matching ( #2393 )
...
* fix(v2): normalize location path for route matching
* fix(v2): Memoize normalized pathnames
* fix(v2): fix wrong reference to this.state instead of normalized location
* Update normalizeLocation.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-24 01:34:50 +08:00
mohrash92
264bfddf26
fix(v2): always exit after successful build ( #2443 )
...
* fix(v2): always exit after sucessfull build
* fix(v2): exit before return
2020-03-23 11:47:24 +08:00
Alexey Pyltsyn
3052ef14e5
fix(v2): various improvements for accessibility ( #2442 )
2020-03-23 11:46:57 +08:00
Alexey Pyltsyn
15a21ace93
feat(v2): make clickable sidebar logo ( #2440 )
2020-03-22 21:34:00 +08:00
Alexey Pyltsyn
93da7fe576
feat(v2): add version to page's generated meta tags ( #2438 )
2020-03-22 10:08:53 +08:00
Alexey Pyltsyn
b3d14816bb
fix(v2): do not force terminate building if client bundle failed in development mode ( #2437 )
2020-03-22 10:06:10 +08:00
Alexey Pyltsyn
feaa75c876
fix(v2): update twitter:card to summary_large_image ( #2436 )
2020-03-22 10:05:40 +08:00
Alexey Pyltsyn
5358fca09a
fix(v2): add support dark logo for sidebar logo ( #2434 )
2020-03-22 10:05:09 +08:00
Alexey Pyltsyn
c7101e032b
fix(v2): properly process multiple nodes in slugger
2020-03-21 21:06:51 +03:00
Alexey Pyltsyn
9cf3c66917
fix(v2): remove HTML from heading slug ( #2426 )
...
* fix(v2): remove HTML from heading slug
* Fix tests for rightToc
2020-03-21 15:22:55 +08:00
Yangshun Tay
c50df3003c
misc: update stylelint rule tester
2020-03-21 15:22:25 +08:00
Rémi Doreau
b4f4057d97
misc: improve stylelint rule ( #2415 )
...
* feat(header-lint): allow for rule configuration
* test(stylelint-copyright): moove implementation to jest
* test(stylelint-copyright): add missing check
* test(jest-setup): add linter
2020-03-21 12:42:10 +08:00
ZachJW34
ce45413804
feat(v2): add custom output directory to build ( #2417 )
2020-03-19 23:52:26 +08:00
Alexey Pyltsyn
2fd50f9c33
fix(v2): make correct internal link check ( #2424 )
2020-03-18 23:14:39 +08:00
Alexey Pyltsyn
6a089ce75c
fix(v2): add missed const
2020-03-18 13:34:33 +03:00
Luke Collier
51995fa237
feat(v2): allow targeting deployment branch with environment variable ( #2396 )
2020-03-18 18:17:29 +08:00
38elements
8152b47bba
fix(v2): fix external URL for og:image tag ( #2420 )
...
* fix(v2): og:image
* Use isInternalUrl()
* Update index.js
* Update index.js
* Update index.js
* Update index.js
* Update index.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-18 18:05:40 +08:00
Sam Zhou
55a50d37dc
feat(v2): support syncing tab choices ( #2366 )
...
* 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>
2020-03-15 13:47:52 +08:00
Ramón Lamana
ed5a994c7e
fix(v2): properly dedupe forward slashes in the entire URL path ( #2405 )
2020-03-12 22:35:30 +08:00