Commit graph

2682 commits

Author SHA1 Message Date
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
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
Yangshun Tay
80f45e0dd2
chore(v2): update Infima to 0.2.0-alpha.4 (#2292) 2020-02-18 17:51:15 +08:00
Alexey Pyltsyn
89d2d80fb7
fix(v2): fix build and deps install (#2291)
* docs(v1): drop support for node <10.9 (#2264)

* fix(v2): fix build and deps install

Co-authored-by: Hanseung Yoo <trustyoo86@gmail.com>
2020-02-18 17:30:04 +08:00
Yangshun Tay
d39c301db8 v2.0.0-alpha.41 2020-02-16 23:03:18 +08:00
KohheePeace
7086c279e2
fix(v2): fix codeblock copy button not including blank lines (#2285) 2020-02-16 22:21:46 +08:00
Alexey Pyltsyn
b1e079f4fe
fix(v2): use site title if enabled blog-only mode (#2259) 2020-02-08 19:46:15 +08:00
Alexey Pyltsyn
bb82d0e073
fix(v2): make code blocks scrollable (#2241)
* wip

* fix(v2): make code blocks scrollable

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-08 19:44:45 +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
b7a2ad2904
feat(v2): pluralize posts on tag's page (#2263)
* feat(v2): pluralize posts on tag's page

* FIx ESlint error for  import/no-extraneous-dependencies rule

* Move pluralize method to theme scope

* Fix import
2020-02-07 00:55:28 +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
Alexey Pyltsyn
de4a25c297
fix(v2): remove focus on search input when hovering over it (#2262)
* fix(v2): remove focus on search input when hovering over it

* Fix deps

* Improve naming
2020-02-01 20:21:45 +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
ab25ee3e0f
refactor(v2): avoid to use raw theme values (#2254) 2020-01-31 23:42:21 +08:00
Alexey Pyltsyn
d1219b1233
feat(v2): add site title to meta title (#2255)
* feat(v2): add site title to meta title

* Change page separator

* Exlucde tagline from empty title

* Use tagline for title on home page
2020-01-31 22:55:23 +08:00
Alexey Pyltsyn
4b5ef84d0f fix(v2): adjust correct behavior of navbar when active anchor (#2248) 2020-01-28 10:50:18 +08:00