Commit graph

2757 commits

Author SHA1 Message Date
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
Joe Previte
590de95234
fix(v1): check repo url before using on Users page (#2331)
* fix: check repoUrl before rendering edit link in users

* refactor: prettier
2020-02-27 01:59:04 +03:00
Joe Previte
7fd242aeb1
misc: use yarn consistently (#2333) 2020-02-27 01:56:30 +03: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
Sylvain Pace
3f682046df
docs(v2): remove unwanted black line from DocSearch showcase image (#2328) 2020-02-26 23:58:29 +08:00
Alexey Pyltsyn
756c83aad8
Fix docs style (#2322) 2020-02-26 03:22:25 +03: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
Alexey Pyltsyn
54b7ac2164
fix(v2): properly scale logo on IE 11 (#2316) 2020-02-25 16:11:06 +08:00
Scott Lee
5754f63a23
docs(v2): showcase user Algolia (#2319) 2020-02-25 16:04:34 +08:00
Alexey Pyltsyn
9015e797e1
chore: add section about env to bug issue template (#2315) 2020-02-24 16:06:22 +08:00
Robert
e54ede5284
fix(v2): add @babel/preset-typescript to babel-loader (#2310) 2020-02-23 18:22:24 +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
jartuso
d06ab640ff
docs(v1): fix Windows instructions for GitHub Pages publishing (#2307)
additional space after GIT_USER=<GIT_USER> && was throwing errors on windows
2020-02-21 09:46:13 +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
Yangshun Tay
c46bf90f60
feat(v2): allow navbar links to show active style by specifiying a base path (#2299) 2020-02-20 10:10:22 +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
Yangshun Tay
996b115199
misc(v2): clean up comments in code (#2294) 2020-02-18 21:29:23 +08:00
Yangshun Tay
d7f3dff6e6
Update CHANGELOG-2.x.md 2020-02-18 19:05:43 +08:00
Yangshun Tay
6c9932deb1 chore(v2): clean up docs 2020-02-18 19:01:41 +08:00
Yangshun Tay
3056479ed2 v2.0.0-alpha.43 2020-02-18 18:54:39 +08:00
Yangshun Tay
8a96e0bff6 v2.0.0-alpha.42 2020-02-18 18:51:41 +08:00
Yangshun Tay
3ba753922e Revert "v2.0.0-alpha.42"
This reverts commit d48200be7d.
2020-02-18 18:47:36 +08:00
Alexey Pyltsyn
d48200be7d v2.0.0-alpha.42 2020-02-18 13:29:02 +03:00
Alexey Pyltsyn
413e85636f Merge branch 'master' of github.com:facebook/docusaurus 2020-02-18 13:19:23 +03:00
Alexey Pyltsyn
871eeee940
chore(v2): prepare v2.0.0.alpha-42 release (#2293)
* docs(v1): drop support for node <10.9 (#2264)

* chore(v2): prepare v2.0.0.alpha-42 release

* Rename docs from 41 to 42

* Fix changelog

* Update versions.json

Co-authored-by: Hanseung Yoo <trustyoo86@gmail.com>
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-18 18:18:45 +08:00
Alexey Pyltsyn
fc2a1e92b4 Merge branch 'master' of github.com:facebook/docusaurus 2020-02-18 12:51:43 +03:00
Yangshun Tay
80f45e0dd2
chore(v2): update Infima to 0.2.0-alpha.4 (#2292) 2020-02-18 17:51:15 +08:00
Alexey Pyltsyn
e57527d98e Merge branch 'master' of github.com:facebook/docusaurus 2020-02-18 12:35:26 +03:00