Commit graph

650 commits

Author SHA1 Message Date
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
Alexey Pyltsyn
38bb8c4ced v2.0.0-alpha.48 2020-03-09 01:46:10 +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
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
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
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
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
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
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
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
Yangshun Tay
57379ee62e fix(v2): add .eslintcache to Facebook template's gitignore 2020-02-29 11:20:58 +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
Alexey Pyltsyn
aef2456545
feat(v2): add ability to use HTML in footer copyright (#2327) 2020-02-26 23:59:59 +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
Robert
e54ede5284
fix(v2): add @babel/preset-typescript to babel-loader (#2310) 2020-02-23 18:22:24 +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
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
Yangshun Tay
996b115199
misc(v2): clean up comments in code (#2294) 2020-02-18 21:29:23 +08:00