Commit graph

482 commits

Author SHA1 Message Date
Yangshun Tay
19acc44d81
docs: promote Docusaurus 2 usage (#2126) 2019-12-15 17:49:25 +08:00
Alexey Pyltsyn
4f0ae6d117 fix(v2): align GH button in vertical center (#2119) 2019-12-12 13:49:37 -08:00
Alexey Pyltsyn
5bfa5d6579 feat(v2): hide navbar on scroll (#2055)
* feat(v2): hide navbar on scroll

* Turn on hide option

* Refactor after review
2019-12-12 04:19:37 -08:00
Alexey Pyltsyn
1f0eb37e19 fix(v2): add syntax highlight to generated colors (#2114) 2019-12-10 12:50:35 -08:00
Endi
9b5266aa7e docs(v2): fix pages routing inaccurate info (#2110)
* docs(v2): fix pages routing inaccurate info

* fix CI
2019-12-10 12:47:13 -08:00
Alexey Pyltsyn
172f07116d fix(v2): add missing hyphen in color generator (#2106) 2019-12-09 22:08:26 +07:00
Yangshun Tay
d5919fd962
feat(v2): add color generator for primary colors (#2104) 2019-12-09 02:10:38 -08:00
Yangshun Tay
2fcb81596b
docs: mention about moving docs directory into website (#2103) 2019-12-08 20:35:22 -08:00
Yangshun Tay
55e676cb25
misc: add command to run prettier on docs (#2102)
* misc: add command to run prettier on docs

* Fix GH issue template

* Fix tests

* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
endiliey
cfc313d7c7 v2.0.0-alpha.39 2019-12-07 13:18:13 +07:00
Endi
bcf39019f7
chore: v2.0.0-alpha.39 changelog & docs (#2101)
* chore: v2.0.0-alpha.39 changelog & docs

* remove useless
2019-12-07 13:12:04 +07:00
endiliey
3bb251904b v2.0.0-alpha.38 2019-12-06 14:15:48 +07:00
Endi
fb77c1c137
chore: v2.0.0-alpha.38 changelog & docs (#2094)
* chore: v2.0.0-alpha.38 changelog & docs

* nits
2019-12-06 14:03:24 +07:00
Endi
32c9d07b90
perf(v2): improve dev build time by not overwriting file if possible (#2089)
* perf(v2): improve sequential build time by not overwriting file if possible

* minor improvement

* docs
2019-12-06 12:17:41 +07:00
Yangshun Tay
4927f764e5 misc(v2): nitpicky formatting 2019-12-04 00:55:52 -08:00
endiliey
7a6516ce5d chore(v2): optimize images 2019-12-02 14:51:07 +07:00
endiliey
464d8e529a v2.0.0-alpha.37 2019-12-01 20:29:59 +07:00
endiliey
1f82f03123 chore(v2): v2.0.0-alpha.37 changelog & docs 2019-12-01 20:28:49 +07:00
endiliey
6155115280 chore(v2): configure algolia options to search latest version 2019-11-30 18:05:45 +07:00
endiliey
0e23e4ce32 docs(v2): fix typo in lifecycle api docs 2019-11-30 15:46:46 +07:00
Endi
97491c5cfb
feat(v2): injectHtmlTags API to inject head and/or body html tags (#2057)
* wip: define html tag definition

* feat(v2): implement injectHtmlTags api

* remove useless file

* nits

* documentation

* allow string, use prebodyTags and postBodyTags

* typo

* refactor typing

* chore(v2): bump deps
2019-11-30 11:52:26 +07:00
Endi
522dd2d206 docs(v2): quick proofread docs (#2068) 2019-11-29 12:26:49 -08:00
Endi
3b060ad171
docs(v2): add manual migration guide for versioning (#2047)
* docs(v2): add manual migration guide for versioning

* fix typo

* review
2019-11-29 11:48:04 +07:00
endiliey
2f9a368da8 chore: fix typo 2019-11-29 10:41:19 +07:00
Alexey Pyltsyn
25207df4a7 fix(v2): add h1 to versions page (#2065) 2019-11-28 11:01:59 -08:00
endiliey
bd5bdb91f7 chore: add missing facebook copyright header 2019-11-27 16:50:20 +07:00
endiliey
2856b328a5 chore(v2): fix typo in docs, remove dead/redundant stuff 2019-11-26 16:49:58 +07:00
Endi
91b261af7a docs(v2): more examples on lifecycle apis, cleanup (#2051)
* docs(v2): more examples on lifecycle apis, cleanup

* typo
2019-11-25 10:31:57 -08:00
Alexey Pyltsyn
085f522817 fix(v2): make friendlier title on home page for SEO (#2049) 2019-11-25 10:31:14 -08:00
Alexey Pyltsyn
91ef5c67cf
docs(v2): make proper spelling of Stack Overflow (#2053) 2019-11-25 16:50:00 +03:00
Wei Gao
2254e08785 docs(v2): Reorganize migration guide (#2036)
* reorganize migration guide headings

* wip about <AUTOGENERATED_TABLE_OF_CONTENTS>

* add description about AUTOGENERATED_TABLE_OF_CONTENTS

* Update website/docs/migrating-from-v1-to-v2.md
2019-11-25 19:45:22 +07:00
Alexey Pyltsyn
9b4715a70d fix(v2): make proper spelling of Yarn in tabs (#2052) 2019-11-25 17:07:36 +07:00
Alexey Pyltsyn
82c751f092 fix(v2): hide past versions if it does not exist (#2050) 2019-11-25 16:16:23 +07:00
Endi
421f862701 breaking(v2): required nodejs version >=8.9 -> >=8.10 so we can use es2017 (#2045) 2019-11-24 21:40:57 -08:00
Binary Logic
3d4d89f332 docs(v2): showcase user vector.dev :) (#2040)
* chore(v2): Add vector.dev to the showcase :)

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>

* Fix preview image to remove tooltip

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>
2019-11-24 09:44:20 -08:00
endiliey
163c455b6c chore(v2): fix a11y contrast color, shorter announcement 2019-11-24 20:47:22 +07:00
Endi
160f6f53e0
docs(v2): add documentation on versioning (#2038)
* docs(v2): add documentation on versioning

* Proofread

* add section on using absolute import
2019-11-24 18:01:48 +07:00
endiliey
e15ab76542 chore(v2): fix remarkplugin unnecessary extra divs 2019-11-24 18:00:01 +07:00
Endi
9862a6821a feat(v2): allow non sidebar category to be first item of sidebar (#2032)
* feat(v2): allow non sidebar category to be first item of sidebar

* better error messages

* edit the react component

* Update website/docs/sidebar.md

* nits

* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -08:00
Endi
c533adc4aa docs(v2): display yarn and npm command on website (#2037)
* docs(v2): display yarn and npm command on website

* more

* fix div cannot be descendant p
2019-11-23 18:32:26 -08:00
Endi
d1f84709e0 chore(v2): cut 2.0.0-alpha.36 docs & create versions page (#2030) 2019-11-23 18:13:16 -08:00
Endi
9829f56b1e
feat(v2): docs versioning ❄️🔥 (#1983)
* wip: versioning

* wip again

* nits lint

* refactor metadata code so that we can have inobject properties optimization, fix typing

* remove buggy permalink code

* modify versioned docs fixture such that foo/baz only exists in v1.0.0

* refactor metadata.ts so that there is less transformon object

* more refactoring

* reduce test fixtures, refactoring

* refactoring readability

* finish metadata part

* refactor with readdir

* first pass of implementation

* fix mdx laoder

* split generated routes by version for performance & smaller bundle

* test data for demo

* refactor with set

* more tests

* typo

* fix typo

* better temporary ui

* stronger typing & docsVersion command

* add 100% test coverage for docsVersion command

* more test and delete manual docs cut

* cut 2.0.0-alpha.35 docs

* cut alpha.36 instead

* copyright

* delete versioned docs

* stronger test on metadata

* update typo
2019-11-22 16:17:40 +07:00
endiliey
c413cff212 v2.0.0-alpha.36 2019-11-22 12:41:22 +07:00
endiliey
21e95f8640 chore(v2): docs for 2.0.0-alpha.36 2019-11-22 12:39:02 +07:00
Yangshun Tay
65965e060a misc(v2): change blog front matter to snake_case (#1989)
* misc(v2): change blog front matter to snake_case

* Fix blog image url

* Add docs for change

* More migration docs
2019-11-19 15:08:53 +07:00
Yangshun Tay
edf4c16c93 feat(v2): allow hiding docs table of contents (#2012)
* feat(v2): allow hiding docs table of contents

* move to frontmatter
2019-11-19 15:08:45 +07:00
Yangshun Tay
c16407c95a
docs(v2): misc updates (#2010) 2019-11-17 06:43:41 -08:00
Yangshun Tay
7abe643f8d
misc(v2): branding update (#2009) 2019-11-17 06:43:32 -08:00
yangshun
29ce98c63a docs(v2): misc updates 2019-11-17 05:44:21 -08:00
endiliey
6204d9a9ec v2.0.0-alpha.35 2019-11-17 16:51:57 +07:00