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
fa2e263ce8
feat(v2): add ability to create unminimized bundles ( #2474 )
2020-03-29 23:32:26 +08:00
Alexey Pyltsyn
92f2c52034
docs(v2): mark that in dev server some features may not work ( #2478 )
2020-03-29 12:10:50 +08:00
Yangshun Tay
36ea74504e
docs(v2): use codeblock title syntax instead of comments ( #2473 )
2020-03-29 01:08:50 +08:00
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
Alexey Pyltsyn
8d31c21fe5
docs(v2): fix misc styling
2020-03-24 09:56:02 +03: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
ZachJW34
ce45413804
feat(v2): add custom output directory to build ( #2417 )
2020-03-19 23:52:26 +08:00
Luke Collier
51995fa237
feat(v2): allow targeting deployment branch with environment variable ( #2396 )
2020-03-18 18:17:29 +08: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
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
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
Linus Långberg
1b1b122f45
docs(v2): clarify instructions on docs-only mode ( #2395 )
...
* docs(v2): clarify instructions on docs-only mode
* Update configuration.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-10 16:38:09 +08:00
Yangshun Tay
2b6e440970
chore(v2): v2.0.0 alpha.44 ( #2379 )
...
* chore: v2.0.0-alpha.44
* chore: v2.0.0-alpha.44
* update CHANGELOG
2020-03-08 23:43:40 +08:00
Alexey Pyltsyn
5226767caf
feat(v2): add support specify new languages for Prism ( #2250 )
...
* feat(v2): add support specify new languages for Prism
* Do It Right
* More fix
* Fix up!
* Fixes
* Move to dev dependencies
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-08 22:13:02 +08:00
Linus Långberg
ad3accd3fb
docs(v2): add section for docs-only mode ( #2378 )
...
* docs(v2): add section for docs-only mode
* docs(v2): use correct section in document
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-08 21:09:40 +08:00
Yangshun Tay
4aee06e74f
docs(v2): fix getPathsToWatch() example syntax in lifecycle APIs ( #2357 )
...
* Update lifecycle-apis.md
Fix getPathsToWatch() example syntax issue
* fix syntax in other versions
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-05 09:23:15 +08:00
Noah Silvera
d4bbf000d5
docs(v2): add examples to plugin usage doc ( #2351 )
...
Add an example value for the remarkPlugins config option for plugin-content-blog and plugin-content docs
Initially I tried to use a string value with this config and got an esoteric error. Having an example of it's usage would help.
2020-03-03 11:19:01 +08:00
Alexey Pyltsyn
c1716096de
feat(v2): allow specifying custom target for logo link ( #2344 )
...
* feat(v2): allow specify custom target for logo link
* refactor: use isInternalUrl
2020-02-29 19:27:56 +08:00
Alexey Pyltsyn
84eeb5120c
feat(v2): add draft feature to blog posts ( #2335 )
2020-02-29 13:19:59 +08:00
Alexey Pyltsyn
3cbee86e36
chore(v2): mark tagline field as optional ( #2342 )
2020-02-29 13:15:56 +08:00
Hassan Farid
7b2716e6e1
docs(v2): fix typo in remark-admonitions example ( #2343 )
...
* Fixed typo in the example
* fix
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-29 11:28:28 +08:00
Amila Welihinda
15e6763089
docs(v2): mention about disabling Jekyll when using GitHub pages ( #2340 )
...
* docs(v2): add docs for disabling jekyll when using gh pages
* Change to admonition
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-28 09:51:15 +08:00
Theodore Chu
baed4faa24
docs(v2): guide on upgrading Docusaurus within a project ( #2338 )
...
* Update installation.md
Add information on how to update/upgrade the version of Docusaurus
* Update installation.md
* Update installation.md
* Update installation.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-28 09:46:37 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS ( #2334 )
2020-02-27 09:59:02 +08:00
Amila Welihinda
843d5d8c48
docs(v2): fix broken 'more syntax' url
2020-02-26 20:15:02 +03:00
Alexey Pyltsyn
aef2456545
feat(v2): add ability to use HTML in footer copyright ( #2327 )
2020-02-26 23:59:59 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Zhenchao Cai
b25eb5dd36
docs(v2): move the quotes to remark admonitions ( #2313 )
...
* docs(v2): move the quotes to remark admonitions
* Delete package-lock.json
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-23 18:11:37 +08:00
Yangshun Tay
787b073bb7
docs(v2): nav links activeBasePath ( #2303 )
...
* docs(v2): Nav links activeBasePath
* rename activeBaseRoute to activeBasePath
* fixes
2020-02-21 09:44:14 +08:00
Paulus Schoutsen
6a1bc254cc
Make blog plugin config example valid ( #2300 )
...
* Make blog plugin config example valid
* Update using-plugins.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-02-19 20:53:32 +03:00
Yangshun Tay
d974aa9c2a
feat(v2): add ExecutionEnvironment API ( #2296 )
...
* feat(v2): add ExecutionEnvironment API
* remove redundant code
2020-02-19 09:22:14 +08:00
Mohamed Abdel Nasser
e6562859fd
docs(v2): add instructions on Travis CI deployment ( #2289 )
...
* docs: update versioned_docs/deployment with travis-ci
* docs: update docs/deployment with travis-ci
* Transfer update to a new version
* Update node version
* update v-2.0.0-alpha.43 with Travis CI deployment instructions
* Remove updates from v2.0.0-alpha.43
* Update deployment.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-19 09:12:04 +08:00
Ondřej Nepožitek
8d804c662c
docs: update windows deploy command ( #2281 )
2020-02-16 21:42:41 +08:00
Elvis Wolcott
0fa080c39c
feat(v2): add remark-admonitions to @docusaurus/preset-classic ( #2224 )
...
* feat(v2): add remark-admonitions
* feat(v2): add admonitions to style guide
* style: cleanup changes
* docs(v2): document how to use admonitions
* docs(v2): use proper package name
* docs(v2): add link to remark-admonitions docs
* style(v2): clean up addAdmonitions
2020-02-08 19:28:47 +08:00
Alexey Pyltsyn
980755214b
feat(v2): allow to specify different logo for dark mode ( #2261 )
...
* feat(v2): allow to specify different logo for dark mode
* Rename darkSrc with srcDark
2020-02-01 21:02:03 +03:00
Wei Gao
e224361cd2
docs(v2): require using JSX flavored style objects in mdx ( #2257 )
...
* docs(v2): require using JSX flavored style objects instead of style attributes in Docusaurus 2
* resolve discussions
2020-02-01 20:27:06 +08:00
Alexey Pyltsyn
daa9a6a044
feat(v2): allow specify custom link for logo ( #2253 )
...
* feat(v2): allow specify custom link for logo
* Improve naming
* Improve naming: link -> href
2020-02-01 00:18:03 +03:00
Alexey Pyltsyn
e27c8d0d0b
docs(v2): collapsible categories in sidebar ( #2251 )
...
* docs(v2): collapsible categories in sidebar
* Update sidebar.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-01-31 23:52:20 +03:00
Alexey Pyltsyn
f2137bb872
docs(v2): make correct path to webpack config module
2020-01-18 22:52:14 +03:00
JavaScript Joe
68035cc7e3
docs(v2): update link to available prism themes ( #2218 )
...
* fix: update link to available prism themes
* fix: update link to point to prism themes
2020-01-16 01:00:08 +08:00
Reece Dunham
ad031a15a4
feat(v2): support IP anonymization for Google Analytics plugin ( #2148 )
...
* Support IP anonymization for google analytics
* Fixes
* Add docs
* typo fix
* Fix syntax
* document in suggested place
* attempted to add functionality to gtag plugin
* Remove from api-site-config
* document in appropriate places
* fix anonymize IP
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-01-12 21:27:08 +08:00
Yangshun Tay
a38125a718
chore: drop support for node <10.9 ( #2207 )
...
* drop node <10.9 on 2020
* misc: add nvmrc
Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
Yangshun Tay
26fa885ef6
misc: do not disturb Endi ( #2197 )
2020-01-08 01:17:37 +08:00