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
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
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
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
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
Yangshun Tay
68ca885f5b
v1.11.0 ( #1534 )
2019-05-30 23:07:38 -07:00
Tushar Sharma
0c8bf0fc5e
style: fixes formatting issues in main.css ( #1532 )
2019-05-30 11:54:14 -07:00
Tushar Sharma
9514593d5f
feat: highlight nav item in onPageNav ToC ( #1524 )
...
* feat: highlight nav item in onPageNav ToC
* fix: use es5 in browser scripts, update documentation, css refactoring
* fix: removes smooth scroll
* fix: removes unnecessary codeblock , undo css formatting issues, modify scrip load url
* fix: update scrollspy script comments
2019-05-30 08:54:47 -07:00
endiliey
b267d8136d
v2.0.0-alpha.18
2019-05-30 09:59:50 +08:00
Endi
1060da3526
chore(v2): update dependencies, don't use github ( #1531 )
2019-05-30 08:52:57 +07:00
endiliey
7da4e3ea2f
v2.0.0-alpha.17
2019-05-29 20:48:19 +08:00
Wei Gao
a8e494d755
fix(v2): Simplify styling for classic template landing page ( #1528 )
...
* fix(v2): Simplify styling
* Display header only when the viewport is short
* Match infima's screen width break point
* fix link, button, static files
2019-05-29 19:41:23 +07:00
Endi
831d96e8e8
fix(v2): check static dir exist before copying ( #1526 )
2019-05-29 01:43:45 -07:00
Wei Gao
517dbc500d
feat(v2): landing page for classic template ( #1517 )
...
* Add missing fields in docusaurus.config.js
* Landing page for classic template + highlight section
* cleanup
* Use CSS modules for landing page of classic template
* Baby responsive design for landing page in classic template
* Update tagline for classic template
* Add style guide for classic template
* Roadmap section on landing page of classic template
* feat: Light / dark mode for classic theme
* Use themed color for features section in classic template
* Clean up header section
* Add GitHub start button
* Remove temporary responsive styling for navbar
* Revert "feat: Light / dark mode for classic theme"
This reverts commit b0d515dcf1
.
* Rename stylesheets and variables
* Use variable name `classnames` for the package
* Remove animation for the dino 🦖
* Kill data.js
- Kill features section for now too
2019-05-29 01:17:00 -07:00
Endi
9bb6ba113d
feat(v2): persistent & responsive dark mode toggle ( #1521 )
2019-05-28 08:53:26 -07:00
endiliey
f5a8caf34d
fix(v2): a11y responsive navbar
2019-05-28 16:25:28 +08:00
Yangshun Tay
09036743b7
misc(v2): fix CSS
2019-05-27 20:39:23 -07:00
Yangshun Tay
e76288341f
feat(v2): responsive navbar
2019-05-27 17:59:42 -07:00
Tushar Sharma
bff9a53095
fix: enable live reloading title of doc ( #1507 )
...
* fix: enable live reloading title of doc
* fix: removing unnecessary reload statements
* fix: only title change should trigger a live reload
* fix: adding more properties that triggers a live reload
* fix: refactoring
2019-05-27 14:48:01 +07:00
Yangshun Tay
ef1af0a5be
fix: don't collapse the blog navigation even if collapsible is true ( #1519 )
...
* fix: don't collapse the blog navigation even if collapsible is true
* fix: read docsSideNavCollapsible from props
2019-05-26 20:37:58 -07:00
Yangshun Tay
b8965dcf38
feat(v2): use new pagination nav CSS ( #1520 )
2019-05-26 20:19:16 -07:00
Sam Zhou
5217af67b8
chore(v2): Replace Boolean with boolean ( #1518 )
2019-05-26 08:57:23 +07:00
endiliey
d52e6d3c3f
chore(v2): fix TS definition & workspaces config
2019-05-25 23:48:12 +08:00
Endi
99a58263ca
feat(v2): docusaurus init ( #1516 )
...
* feat(v2): docusaurus init
* change logo
2019-05-25 14:16:42 +07:00
Endi
64a86f6264
refactor(v2): add test & static typing for routes.ts ( #1514 )
2019-05-24 09:57:41 -07:00
Filipe Doutel Silva
34d674cdf5
fix(v2): wrong modules path on windows ( #1513 )
...
* fix: wrong modules path on windows
* use json stringify to escape string
2019-05-24 18:04:29 +07:00
Christian Oliff
b1698e2195
misc: https link to stackoverflow.com in v1 example ( #1512 )
2019-05-23 09:20:17 -07:00