Commit graph

1999 commits

Author SHA1 Message Date
Yangshun Tay
7375789e46 feat(v2): implement Google gtag plugin 2019-06-09 23:21:36 -07:00
Yangshun Tay
dcd1b89ac0 refactor(v2): tweak classic template 2019-06-09 21:38:45 -07:00
Yangshun Tay
38a5e4d615
feat(v2): implement client lifecycles dispatcher (#1591)
* WIP feat(v2): implement client lifecycles dispatcher

* misc(v2): remove testing files
2019-06-08 22:35:14 -07:00
Wei Gao
e2338bd0c2
docs(v2): minor revisions on live coding docs (#1594)
* Use relative file path in md

* Need .md file extention in link

* docs(v2): minor revisions on live coding block
2019-06-09 12:04:37 +08:00
Yangshun Tay
3496f6e609
v1.11.1 (#1592)
* v1.11.1

* chore: publish new website

* misc: fix tests
2019-06-08 10:56:21 -07:00
Joel Marcey
b2fe2a65c8 docs: add more clarity about markdown fields (#1589)
I wanted to enable superscript and subscripting to a v1 site. It wasn't quite clear how to do it. @yangshun helped me figure it out. So I thought I would document it.
2019-06-07 12:55:24 -07:00
Wei Gao
111a21ea08 fix(v2): browser window styles on smaller screen (#1586) 2019-06-07 09:32:52 -07:00
Endi
1aa0ea1152 fix(v2): handle case when <code> children is not a string (#1584) 2019-06-07 08:54:26 -07:00
Endi
d98b4c50d2
refactor(v2): move core typing to types.ts (#1585)
* refactor(v2): move typing to types.ts

* nits
2019-06-07 20:00:56 +07:00
Yangshun Tay
bc761d41ad
refactor(v2): improve PendingNavigation to not use componentWillReceiveProps (#1583)
* refactor(v2): improve PendingNavigation to not use componentWillReceiveProps

* misc(v2): add TODO
2019-06-07 00:34:39 -07:00
Wei Gao
ebfb585741
feat(v2): doc page layout changes (#1580)
* feat(v2): doc page layout changes

- Add a max-width to main content
- Use 17px font size on large screen
- Add a border-right to sidebar
2019-06-07 14:32:45 +08:00
Wei Gao
96c048b040 docs(v2): remove links to other page that looks like partial toc (#1579) 2019-06-06 11:53:38 -07:00
endiliey
1fecdb7d02 v2.0.0-alpha.19 2019-06-07 00:52:48 +08:00
endiliey
ebc23e13e4 chore(v2): update changelog 2019-06-07 00:49:40 +08:00
Endi
26e4c1d883
fix(v2): fix scrolling problem for location with hash (#1576) 2019-06-06 23:28:28 +07:00
Yangshun Tay
fd8c02b1dd chore(v2): upgrade Infima to 0.2.0-alpha.2 (#1577) 2019-06-06 23:28:01 +07:00
Endi
b08b472435
chore(v2): dependency update (#1573)
* chore(v2): dependency update

* nits
2019-06-06 19:03:29 +07:00
Endi
f07791b303
feat(v2): minify css (#1572)
* feat(v2): minify css

* fix docusaurus.js logic
2019-06-06 18:00:43 +07:00
Endi
f0d5313d48
refactor(v2): move themes components from docs blog (#1571)
* refactor(v2): move themes from docs blog

* move mdxprovider to docs and blog only
2019-06-06 16:53:47 +07:00
Sviatoslav
e486d3d1b0 fix: Add support for non-latin characters in scrollSpy ToC highlighter (#1570) 2019-06-06 16:50:55 +07:00
Endi
5362c2cda2
refactor(v2): move livecodeblock as plugin (#1566)
* refactor(v2): move livecodeblock as plugin

* tweak from rebase

* nits

* nits

* dep
2019-06-06 15:49:11 +07:00
Endi
a0777f7c57
feat(v2): better webpack splitchunks optimization (#1565)
* feat(v2): better webpack splitchunks optimization

* tweak

* comment
2019-06-06 14:49:44 +07:00
Yangshun Tay
937be4d231 fix(v2): fix footer CSS 2019-06-05 22:00:43 -07:00
Yangshun Tay
6a905dd736
refactor(v2): change plugin format within docusaurus.config.js to be like plugins (#1568)
* refactor(v2): change plugin format within `docusaurus.config.js` to be like presets

* docs(v2): mention customizing CSS
2019-06-05 21:35:54 -07:00
Daniel Wilkowski
0226b892bd docs: showcase user T-Regx (#1567) 2019-06-05 13:48:49 -07:00
Wei Gao
22ed720faa docs(v2): revise "writing docs" (#1561)
* Revise doc on writing docs

* More work on docs doc

* misc(v2): tweak docs

* misc(v2): fix typo
2019-06-05 13:45:40 -07:00
Yangshun Tay
5962cda8b7
feat(v2): responsive sidebar (#1562)
* feat(v2): responsive sidebar

* feat(v2): separate css modules from Infima

* fix(v2): sidebar a11y
2019-06-05 10:58:04 -07:00
Tushar Sharma
ec69460b4f fix(v2): removes hardcoded sidebar width (#1535)
* fix(v2): removes hardcoded sidebar width

* fix(v2): remove grid layout and keep fixed width of sidebar
2019-06-04 21:53:53 -07:00
Wei Gao
c66ae5a507 feat(v2): refactor live code to css modules (#1558)
* feat(v2): Refactor live code to css modules

* Add a piece in doc about live coding

* Resolve PR discussions
2019-06-04 21:04:52 -07:00
Wei Gao
924668a077 fix(v2): trim code block before passing to prism react renderer (#1560) 2019-06-04 11:08:41 -07:00
Endi
b789624d2e feat(v2): allow easy css override with custom css (#1559)
* feat(v2): allow easy css override with custom css

* lint

* fix(v2): use back require for client modules
2019-06-04 10:03:11 -07:00
Endi
e35c1efdf8 feat(v2): live playground should be lazily loaded on visibility (#1557)
* feat(v2): live playground should kbe lazily loaded on visibility

* add docs

* nits

* nits
2019-06-04 08:56:59 -07:00
Endi
305a4f0a29
feat(v2): composition syntax highlighting & live code editors (#1555)
* feat(v2): composition syntax highlighting & react-live playground

* mobile friendly tweak

* refactor styling

* revert docs
2019-06-04 15:59:51 +07:00
Yangshun Tay
246c1814c0
fix(v2): use infima from npm instead of trunk CDN (#1556) 2019-06-04 00:46:31 -07:00
Yangshun Tay
c06ccc0a07
feat(v2): implement client modules API (#1554)
* feat(v2): load client modules

* docs(v2): update plugins API

* misc(v2): change to import
2019-06-03 23:33:00 -07:00
Kent Williams
90138d52c2 docs: fix typo in guides-blog.md (#1553) 2019-06-03 18:30:22 -07:00
endiliey
1e79a4b5ee fix(v2): right toc should be sticky 2019-06-03 13:06:34 -07:00
endiliey
38af934464 chore(v2): improve typing 2019-06-03 20:55:45 +08:00
Hongarc
cbf80bef5a chore(v2): use boolean instead of Boolean for type (#1551) 2019-06-03 19:49:41 +07:00
Yangshun Tay
7115cfc743 misc(v2): add more typing for server code (#1548)
* refactor(v2): add types to loading code

* misc(v2): better typing

* misc(v2): rename presets

* misc(v2): further typing

* fix typing for webpack config
2019-06-03 17:16:17 +07:00
Wei Gao
5af8cd566e docs(v2): Configuration (#1539)
* docs(v2): Configuration

* Revamp docs for configurations

* Move configuration guide to a lower position on the sidebar

* Use filename links inside md

* Wrap up configuration docs

* Update docusaurus.config.js.md
2019-06-03 15:59:32 +07:00
Endi
8743ee5041
feat(v2): allow passing remark, rehype, prismtheme to mdx-loader (#1543)
* feat(v2): allow passing remark, rehype, prismtheme to mdx-loader

* nits
2019-06-03 14:54:27 +07:00
Yangshun Tay
6a814ac64a
refactor(v2): change plugin api (#1547)
* misc(v2): new plugin format example

* refactor(v2): make all plugins a function returning objects

* misc: add CHANGELOG

* misc(v2): update CHANGELOG

* misc(v2): fix tests

* misc(v2): convert swizzle command

* misc(v2): convert sitemap back to commonjs
2019-06-02 20:37:22 -07:00
Yangshun Tay
9feb7b2c64
misc: update CONTRIBUTING.md 2019-06-02 11:12:35 -07:00
Endi
19b376ebaf chore(v2): add sensible default browserlist (#1542) 2019-06-02 10:43:39 -07:00
Hongarc
2a08e9c57d refactor(v2): return value instead of Promise in async (#1545) 2019-06-02 10:40:45 -07:00
Endi
7ca66cb79e
fix(v2): dont block nodejs loop with await randomly (#1541)
* fix(v2): dont block nodejs loop with await randomly

* lint
2019-06-02 19:07:02 +07:00
Hongarc
594ede3bdc chore: remove @types/chalk and @types/globby (#1540)
* chore: remove `@types/chalk` and `@types/globby`

* chore: update `chalk` and `globby`
2019-06-02 19:04:48 +07:00
Wei Gao
f41970376a feat(v2): Sun moon toggle (#1529)
* feat(v2): Add sun moon toggle 🌞🌛

* Remove dependency of react-toggle

* Move credit to MR

* Add transition effect for the theme toggle

* Revert "Remove dependency of react-toggle"

This reverts commit a47350b65a.

* Revert "feat(v2): Add sun moon toggle 🌞🌛"

This reverts commit 730bed274e.

* feat(v2): Use sun / moon emoji as checked / unchecked icons

* Flex toggle container to avoid positioning with magic numbers

* Move toggle styles to CSS Modules

* Sort CSS properties alphabetically

* Use infima variable for transition time

* Add 🌞 and 🌜 to the Toggle on mobile
2019-06-01 13:27:50 +07:00
Alexandre ZANNI
7fa908a4ab docs: add rawsec inventory to users (#1538)
* add rawsec inventory

* better rendering

- the black logo renders better than the light logo on the white background
- a shorter name renders better

* is OSS but not part of FB

* add rawsec logo

* pinned false and local image
2019-05-31 11:44:43 -07:00