Commit graph

2537 commits

Author SHA1 Message Date
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
Yangshun Tay
c17f57753c docs(v2): delete alpha.39 2020-03-10 16:41:43 +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
iamkun
3738c563cc
docs: showcase user Day.js (#2388) 2020-03-09 15:43:27 +08:00
Alexey Pyltsyn
38bb8c4ced v2.0.0-alpha.48 2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1f7945d794
chore(v2): v2.0.0-alpha.48 (#2387) 2020-03-09 01:44:26 +03:00
Alexey Pyltsyn
1ed698d1fb
fix(v2): add missing dependency and Noop component (#2386)
* fix(v2): add missing prismjs dependency

* fix(v2): proper import Noop component
2020-03-09 01:35:56 +03:00
Alexey Pyltsyn
e3cac77934
chore(v2): v2.0.0 alpha.47 (#2384)
* chore(v2): v2.0.0 alpha.45

* Update CHANGELOG-2.x.md

* Update CHANGELOG-2.x.md
2020-03-08 23:44:00 +03:00
Alexey Pyltsyn
1dc1f21e91 v2.0.0-alpha.47 2020-03-08 23:40:44 +03:00
Alexey Pyltsyn
9d45993da2 v2.0.0-alpha.46 2020-03-08 23:29:42 +03:00
Alexey Pyltsyn
bbb465be02 v2.0.0-alpha.45 2020-03-08 23:07:13 +03:00
Alexey Pyltsyn
37288a5995
fix(v2): specify proper version for stylelint-copyright (#2383)
* fix(v2): specify proper version for stylelint-copyright

* Update package.json

* Update package.json
2020-03-09 03:57:02 +08:00
Alexey Pyltsyn
a9380b40d4
fix(v2): add missing preset-typescript dependency (#2382) 2020-03-08 22:44:28 +03:00
Yangshun Tay
1e09feb2db v2.0.0-alpha.44 2020-03-08 23:45:30 +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
c9ace3b7ed
fix(v2): force terminate building if client bundle failed (#2345)
* fix(v2): force terminate building if client bundle failed

* Use ES6 import so tests pass
2020-03-08 23:19:31 +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
Alexey Pyltsyn
70ba0a4bc7
refactor(v2): clean up and improve Algolia styles (#2376) 2020-03-08 21:25:27 +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
Alexey Pyltsyn
b727723a5c
misc: update copyright header 2020-03-08 00:53:03 +03:00
Alexey Pyltsyn
31b0ce6e27
chore(v2): upgrade Infima and remark-admonitions (#2372)
* chore(v2): upgrade Infima and remark-admonitions

* Update algolia.css
2020-03-08 00:10:13 +08:00
Alexey Pyltsyn
6b75aafd5a
fix(v2): remove line break from end of code blocks (#2371) 2020-03-07 15:28:33 +08:00
Alexey Pyltsyn
5904410c3d
refactor(v2): increase CSS specificity on application container (#2367)
* refactor(v2): increase CSS specificity on application container

* Use docusaurus selector

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-07 12:13:11 +08:00
Alexey Pyltsyn
ff126417d5
misc: mention about v2 in README file (#2369)
* misc: mention about v2 in README file

* Update README.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-07 11:59:00 +08:00
Yangshun Tay
6cc0aa2e75
fix(v2): improve stylelint copyright header rule (#2363)
* fix(v2): improve stylelint copyright header rule

* Whitelist stylelint-copyright from Jest
2020-03-07 11:49:52 +08:00
Alexey Pyltsyn
03791ce694
misc: add note about edits in versioned docs (#2368) 2020-03-07 11:11:33 +08:00
Scott Lee
ae78c1e6dd
chore(v2): add stylelint (#2361)
* Add stylelint

* Add custom stylelint plugin for copyright

* Add stylelint to FB template
2020-03-06 20:10:26 +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
36163773ec
fix(v2): linkify blog posts (#2326)
* fix(v2): linkify blog posts

* Fix tests
2020-02-29 14:49:00 +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
Yangshun Tay
57379ee62e fix(v2): add .eslintcache to Facebook template's gitignore 2020-02-29 11:20:58 +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
6670c53d18
fix(v2): properly set dark mode logo on build-time prerendering (#2324) 2020-02-27 10:16:40 +08:00
Alexey Pyltsyn
37dff050ce
fix(v2): switch a toggle when system theme changed (#2325)
* fix(v2): switch a toggle when system theme changed

* fix: add check on disabled dark mode
2020-02-27 10:14:20 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS (#2334) 2020-02-27 09:59:02 +08:00