Commit graph

317 commits

Author SHA1 Message Date
Wei Gao
95fde5f827 docs(v2): refactor docs for better outline and welcoming PRs (#1641)
* docs(v2): refactor docs for better outline and welcoming PRs

* docs(v2): update docs
2019-07-07 23:14:49 -07:00
Sam Zhou
75c7cffe97 docs(v2): add docs about CNAME support in deployment (#1637)
* Update deployment.md

* Update deployment.md

* Update deployment.md
2019-07-05 11:18:46 -07:00
Torkel Rogstad
1c0d5f0135 docs: add Bitcoin-S to users (#1635)
* Add Bitcoin-S to users list

* Update users.js
2019-07-04 18:37:34 -07:00
Wei Gao
03eae0f274 docs(v2): initialize doc on styling (#1626) 2019-07-02 23:13:09 -07:00
Wei Gao
504fcb1b4a docs(v2): plugins (#1629) 2019-07-02 23:12:22 -07:00
Wei Gao
d1418af5ba chore(v2): tweak installation doc (#1621)
- generated site to match what is described in the doc
- minor changes in the installation page
2019-06-23 10:32:10 -07:00
Yangshun Tay
ffbc7a37f8
refactor(v2): move source files to be under website/src directory (#1609)
* refactor(v2): move source files to be under website/src directory

* misc: rename src constant
2019-06-15 09:59:23 -07:00
Wei Gao
6bdb38c524 docs(v2): revise introduction (#1602)
* docs(v2): revise introduction

* Review changes
2019-06-13 09:01:06 -07:00
Yangshun Tay
8a6f8ef9c3 fix(v2): make Google analytics and Google gtag plugins work 2019-06-10 00:48:38 -07:00
Yangshun Tay
cfffad8c6d feat(v2): implement Google analytics plugin 2019-06-10 00:16:06 -07:00
Yangshun Tay
7375789e46 feat(v2): implement Google gtag plugin 2019-06-09 23:21:36 -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
Wei Gao
111a21ea08 fix(v2): browser window styles on smaller screen (#1586) 2019-06-07 09:32:52 -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
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
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
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
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
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
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
38af934464 chore(v2): improve typing 2019-06-03 20:55:45 +08: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
Endi
19b376ebaf chore(v2): add sensible default browserlist (#1542) 2019-06-02 10:43:39 -07:00
endiliey
b267d8136d v2.0.0-alpha.18 2019-05-30 09:59:50 +08:00
endiliey
7da4e3ea2f v2.0.0-alpha.17 2019-05-29 20:48:19 +08:00
Endi
404983c32b docs(v2): install, create pages, docs, deploy (#1522)
* docs(v2): install, create pages, docs, deploy

* docs(v2): Docs review changes for installation, create pages, docs,
deploy

* docs(v2): more docs!
2019-05-29 01:08:06 -07:00
Yangshun Tay
c75cec76ec misc: update Docusaurus 2 URL 2019-05-26 16:43:28 -07:00
Endi
aa157969cf
chore(v2): cleanup & update deps (#1505)
* chore(v2): rename useBaseUrl -> withBaseUrl & update deps

* nits
2019-05-22 19:20:53 +07:00
Yangshun Tay
3fc3644875 feat(v2): create useBaseURL helper (#1503)
* feat(v2): create withBaseURL helper

* typescript & refactor

* nits
2019-05-22 17:32:52 +07:00
Endi
7bbf677e67 docs(v2): introduction (#1501)
* docs(v2): introduction

* typo

* remove lines about gatsby complex

* tweak
2019-05-21 18:56:42 -07:00
Cole
0568ad4992 feat: allow different host through CLI flag (#1475)
* feat(core): use 0.0.0.0 for livereload address

* test(core): update server tests

* feat(cli): add host by command line flag

* test: revert test changes

* fix(core): update server to use custom host if supplied

* refactor: nits
2019-05-20 23:31:41 +07:00
Endi
1ec4a9f999
chore: remove noWatch cli options because you cant disable watch in wds (#1480) 2019-05-17 21:51:16 +07:00
Wei Gao
0e5cac94cb docs(v2): CLI docs (#1476)
* WiP: CLI docs

* Tweak word choices for CLI docs

- Use the word swizzle directly
- Follow variable convention for shell

* Resolve docs discussion

* Update cli.md
2019-05-17 18:01:34 +07:00
Yangshun Tay
89ef4b9c44 feat(v2): move navbar config into themeConfig (#1477)
* feat(v2): move navbar config into themeConfig

* misc: fix tests

* fix: support external url for logo
2019-05-17 14:54:11 +07:00
endiliey
e873c14918 v2.0.0-alpha.16 2019-05-16 16:01:52 +08:00
Yangshun Tay
110126ab1d feat(v2): theme config for Footer (#1461)
* feat(v2): theme config for Footer

* fix: dont show footer if themeConfig.footer is undefined
* Import fresh docusaurus.config.js for better hot reload
2019-05-16 13:27:52 +07:00
endiliey
86a1c3a1b1 v2.0.0-alpha.15 2019-05-15 21:56:12 +08:00
endiliey
8055d59131 v2.0.0-alpha.14 2019-05-15 19:37:46 +08:00
endiliey
4a4bf43e5d chore(v2): fix typo 2019-05-15 19:35:14 +08:00
endiliey
badb067b4b test(v2): test different type of sidebar item 2019-05-15 19:16:28 +08:00
Yangshun Tay
23b50f17a1
refactor(v2): blog data revamp (#1450)
* refactor(v2): blog data revamp

* fix(v2): fix incorrect blog total count

* misc: remove console.log

* feat(v2): export frontMatter as an object within MDX file (#1451)

* refactor. Don't confuse metadata & frontmatter

* export frontMatter in content itself

* nits

* nits name

* dont truncate first four lines in blog
2019-05-13 00:16:15 -07:00