Commit Graph

56 Commits

Author SHA1 Message Date
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
Endi 2d15fadf16
chore(v2): bump deps and remove unused deps (#2029)
* chore(v2): deps bump

* remove unused deps
2019-11-22 17:55:22 +07: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 6204d9a9ec v2.0.0-alpha.35 2019-11-17 16:51:57 +07:00
Endi cf4037ef91
chore(v2): update dependencies (#1985)
* chore(v2): update dependencies

* use forked ideal image deps. omgg
2019-11-13 23:04:13 +07:00
endiliey f1180d0eb6 v2.0.0-alpha.34 2019-11-11 21:35:03 +07:00
Endi 3be2e86546
chore: bump dev dependencies (#1955)
* chore: bump devdeps

* upd infima url
2019-11-11 17:44:26 +07:00
Endi 639d8d3eac
perf(v2): skip runtime fileHash cache in prod & get timestamp asynchronously (#1951)
* skip hash calculation in prod when generating file

* perf: convert lastUpdated to be async process

* changelog
2019-11-08 23:35:39 +07:00
endiliey e6b077410c v2.0.0-alpha.33 2019-11-08 13:27:03 +07:00
endiliey cd9e2f2346 v2.0.0-alpha.32 2019-11-04 12:45:05 +07:00
endiliey d4342dcbf3 v2.0.0-alpha.31 2019-10-26 14:12:15 +07:00
endiliey b65c1b2242 v2.0.0-alpha.30 2019-10-22 12:23:55 +07:00
endiliey b56adb7ca1 v2.0.0-alpha.29 2019-10-21 19:28:36 +07:00
endiliey 87866c1d1d v2.0.0-alpha.28 2019-10-21 12:28:12 +07:00
endiliey 0cf5a5bf49 v2.0.0-alpha.27 2019-10-14 18:10:32 +07:00
endiliey d1e426afd8 v2.0.0-alpha.26 2019-10-12 11:53:42 +07:00
Endi 48db8b8e09
refactor(v2): simplify & faster last updated logic for docs (#1832)
* refactor(v2): simplify last updated logic for faster dev

* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts

* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
2019-10-12 10:30:22 +08:00
Yangshun Tay 4fe6ae3c24
feat(v2): docs last update timestamp and author (#1829)
* feat(v2): docs last update timestamp and author

* misc(v2): changelog

* misc(v2): better error messages
2019-10-10 21:45:39 -07:00
Yangshun Tay 54e9e025d8 misc(v2): remove legacy from docs 2019-10-10 19:45:50 -07:00
Yangshun Tay e5e085b33d
chore(v2): make v2 docs plugin legacy (#1639)
* chore(v2): make v2 docs plugin legacy

* chore(v2): update fixtures
2019-07-05 17:20:46 -07:00
endiliey 1fecdb7d02 v2.0.0-alpha.19 2019-06-07 00:52:48 +08: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 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
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
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
endiliey e873c14918 v2.0.0-alpha.16 2019-05-16 16:01:52 +08:00
Endi e31bf50545
chore(v2): update dependencies (#1462)
* chore(v2): update dependencies

* nits
2019-05-16 14:33:32 +07:00
endiliey 86a1c3a1b1 v2.0.0-alpha.15 2019-05-15 21:56:12 +08:00
Endi 4a30bf8947
fix(v2): fix wrong dependency problem (#1460) 2019-05-15 20:54:41 +07:00
endiliey 8055d59131 v2.0.0-alpha.14 2019-05-15 19:37:46 +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
Endi 6136fbe1d2
feat(v2): meta description (#1447)
* feat(v2): meta description

* add description for blog as well

* fix non-descriptive text link

* remove font awesome

* switch front-matter -> gray-matter
2019-05-10 22:37:56 +07:00
Yangshun Tay eedd4c481c feat(v2): implement theme component overriding (#1435)
* feat(v2): implement component overriding

* siteDir theme overriding should work for > 1 level directory

* fallback for essential component like Loading

* rename default -> classic
2019-05-06 19:25:04 +07:00
endiliey 76d210f1f1 v2.0.0-alpha.13 2019-05-01 21:27:50 +08:00
endiliey 86c24e9cf5 v2.0.0-alpha.12 2019-04-30 16:19:26 +08:00
endiliey 7339bfea35 v2.0.0-alpha.11 2019-04-25 23:02:15 +08:00
Yangshun Tay 33a341e8c0 v2.0.0-alpha.10 2019-04-23 22:03:49 -07:00
Yangshun Tay c50463fed4 v2.0.0-alpha.9 2019-04-23 22:02:29 -07:00
Yangshun Tay f8c2f472c8 v2.0.0-alpha.8 2019-04-23 21:49:43 -07:00
endiliey 1ce4195f14 v2.0.0-alpha.7 2019-04-16 22:38:11 +08:00
endiliey d097f73285 v2.0.0-alpha.6 2019-04-14 01:07:24 +08:00
Yangshun Tay b4bfa084f1 v2.0.0-alpha.5 2019-04-10 13:26:45 -07:00
Yangshun Tay 2fe7d4c3b8 v2.0.0-alpha.4 2019-04-10 13:19:10 -07:00
Yangshun Tay 3ce215eb20 v2.0.0-alpha.3 2019-04-10 13:17:26 -07:00
Yangshun Tay d80e0e5d83 v2.0.0-alpha.2 2019-04-10 13:05:24 -07:00
endiliey a4fc63fbff v2.0.0-alpha.1 2019-04-11 00:56:40 +08:00
endiliey 2a37bbf84a v2.0.0-alpha.0 2019-04-10 22:35:17 +08:00