Fanny
079e1ce2df
docs(v2): add setup of mdx plugins ( #2466 )
...
* Add mdx plugins
* Apply suggestions from code review
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
* Update website/docs/markdown-features.mdx
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
* Update markdown-features.mdx
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-27 02:15:26 +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
Alexey Pyltsyn
daab34bbb0
chore(v2): update yarn.lock
2020-03-24 17:16:40 +03:00
Alexey Pyltsyn
8d31c21fe5
docs(v2): fix misc styling
2020-03-24 09:56:02 +03:00
Alexey Pyltsyn
c56ec347f2
Merge branch 'master' of github.com:facebook/docusaurus
2020-03-24 09:16:50 +03:00
Yangshun Tay
eca292b6c8
misc(v2): make watchman config valid
2020-03-24 12:17:00 +08:00
Ben Gubler
a8a4fe467a
polish(v2): use npm-to-yarn for the npm2yarn remark plugin ( #2428 )
...
* Use npm-to-yarn for the Bash npm2yarn Remark plugin
* Update npm-to-yarn version with fix
* Update npm-to-yarn yet another time to fix another -g/--global bug
* Update remark-npm2yarn.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-24 08:53:48 +08:00
Elvis Wolcott
55188ed0a1
fix(v2): pass options to remark-admonitions ( #2451 )
2020-03-24 08:42:41 +08:00
Alexey Pyltsyn
204ce1d362
Merge branch 'master' of github.com:facebook/docusaurus
2020-03-23 23:09:29 +03:00
Jefferson Licet
7845425bde
docs(v2): add Motion Layout to Showcase page ( #2450 )
2020-03-23 23:07:32 +03:00
Jefferson Licet
08616997da
Adding Motion Layout to showcase users ( #2450 )
2020-03-23 22:31:05 +03: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
Ramón Lamana
c05cb75cbc
docs(v2): add sass/scss under the styling section ( #2423 )
2020-03-24 01:13:28 +08:00
Ramón Lamana
e1cd0142b6
docs(v2): add docusaurus-plugin-sass to community plugins ( #2446 )
2020-03-23 22:17:27 +08:00
Favour Kelvin
cdfab94b53
docs(v2): suggest Surge for quick deployment ( #2408 )
...
* docs(v2): suggest Surge for quick deployment
* fixed typos
* removed surge from version docs
* Update getting-started-publishing.md
* Update deployment.md
* Update deployment.md
* Update deployment.md
* Update deployment.md
Co-authored-by: Fakela <favourkelvin17gmail.com>
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-23 11:51:23 +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
5b08ba7f48
polish(v2): add logo for dark mode ( #2439 )
2020-03-22 21:33:19 +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
18169814c8
fix(v2): fix aspect ratio for Open Graph image ( #2435 )
2020-03-22 10:05:23 +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
Sébastien Lorber
79a3f35de6
chore(v2): ignore JetBrains editor .iml files ( #2433 )
2020-03-22 01:34:06 +08: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
Nisar Hassan Naqvi
2619a06076
misc: update Gitpod description ( #2421 )
...
* update the gitpod setup description to be precise.
* add info about Gitpod setup to contributing.md
2020-03-17 19:59:09 +03:00
Theodore Chu
99943a6041
docs(v2): include appId key for Algolia ( #2413 )
...
* Update Algolia information
appId is needed for self-hosted Docsearch
* Update Algolia Information
https://github.com/facebook/docusaurus/pull/2413
* Update Algolia Information for alpha.40
* Update search.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-17 12:25:48 +03:00
Paul Armstrong
12b9be18f7
docs(v2): add Build Tracker to showcase ( #2416 )
2020-03-16 10:37:22 +03: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
bravo-kernel
da0a61d1f0
docs(v2): add Netlify configuration warning ( #2411 )
2020-03-15 13:27:45 +08:00
dependabot[bot]
d152158240
chore(deps): bump acorn from 5.7.3 to 5.7.4 ( #2409 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-14 21:55:30 +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
Yangshun Tay
6562a06944
docs(v2): add resources page ( #2401 )
...
* docs(v2): add resources
* titleize properly
2020-03-11 21:34:35 +08:00
Favour Kelvin
dddf061f75
docs(v2):update alpha version to current version ( #2397 )
...
Co-authored-by: Favour Kelvin <favourkelvin17gmail.com>
2020-03-11 00:52:07 +08:00