Yangshun Tay
1e09feb2db
v2.0.0-alpha.44
2020-03-08 23:45:30 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
996b115199
misc(v2): clean up comments in code ( #2294 )
2020-02-18 21:29:23 +08:00
Yangshun Tay
3056479ed2
v2.0.0-alpha.43
2020-02-18 18:54:39 +08:00
Yangshun Tay
8a96e0bff6
v2.0.0-alpha.42
2020-02-18 18:51:41 +08:00
Yangshun Tay
3ba753922e
Revert "v2.0.0-alpha.42"
...
This reverts commit d48200be7d
.
2020-02-18 18:47:36 +08:00
Alexey Pyltsyn
d48200be7d
v2.0.0-alpha.42
2020-02-18 13:29:02 +03:00
Yangshun Tay
d39c301db8
v2.0.0-alpha.41
2020-02-16 23:03:18 +08:00
Yangshun Tay
a38125a718
chore: drop support for node <10.9 ( #2207 )
...
* drop node <10.9 on 2020
* misc: add nvmrc
Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
Yangshun Tay
75f5bb4d23
feat(v2): allow per-doc hiding of edit url ( #2166 )
2020-01-01 18:45:55 +08:00
endiliey
dad50823b6
v2.0.0-alpha.40
2019-12-25 16:41:52 +07:00
Endi
ace93c5a14
fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. ( #2105 )
...
* fix(v2): move metadata export to mdx-loader to prevent any weird mdx parsing
* refactor
* nits
* nits
* nits
2019-12-11 16:33:47 +07: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
c45a2c649f
fix(v2): metadata error if markdown does not have line break ( #2095 )
2019-12-06 00:14:44 -08:00
endiliey
3bb251904b
v2.0.0-alpha.38
2019-12-06 14:15:48 +07:00
Endi
7f8aca2ddc
perf(v2): smaller bundlesize by embedding metadata to content ( #2088 )
...
* wip embed metadata to content
* embed metadata in blog as well
* refactor
* update test
* yarn lock
* avoid overwriting file everytime we run new nodejs process
* nits
2019-12-06 12:34:21 +07:00
endiliey
464d8e529a
v2.0.0-alpha.37
2019-12-01 20:29:59 +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
endiliey
bd5bdb91f7
chore: add missing facebook copyright header
2019-11-27 16:50:20 +07:00
Endi
be396168d1
perf(v2): unblock metadata processing when possible ( #2054 )
2019-11-25 10:32:38 -08: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
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
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
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
endiliey
6204d9a9ec
v2.0.0-alpha.35
2019-11-17 16:51:57 +07:00
Endi
4e5a03fb88
fix(v2): throw error if first level item of a sidebar is not category ( #1994 )
2019-11-14 23:36:15 +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
6a3efd5f3d
breaking(v2): editUrl should point to website instead of docsDir to support editUrl in versioning/trans ( #1958 )
2019-11-11 21:24:04 +07:00
Endi
1235fc9f7e
refactor(v2): avoid synchronous/ blocking operation when possible ( #1957 )
...
* perf(v2): avoid synchronous/ blocking operation when possible
* save variable
2019-11-11 20:56:23 +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
Endi
e04c8f140f
perf/fix(v2): more efficient hot reload & consistent filegen ( #1950 )
...
* perf(v2): efficient hot reload, consistent generated file
* changelog
* more
2019-11-08 17:14:14 +08:00
endiliey
e6b077410c
v2.0.0-alpha.33
2019-11-08 13:27:03 +07:00
Endi
fc4928f7a6
fix(v2): more consistent route config generation ( #1946 )
...
* fix(v2): more consistent route config generation
* nits
* snapshot
* address review & test upd
* reduce 2xloop -> 1x loop in docs plugin
* nits
2019-11-08 11:55:48 +07:00
Endi
feb804cb83
test(v2): add tests for docs markdown link replacement ( #1944 )
...
* refactor(v2): simplify & add tests for docs markdown link replacement
* nits
2019-11-06 23:54:37 +08:00
Endi
baa884fe2e
fix(v2): fix chokidar/watcher does not trigger reload on windows ( #1943 )
...
* fix(v2): fix chokidar/watcher does not trigger reload on windows
* nits
* nits
* stronger test
2019-11-06 23:52:40 +08:00
endiliey
cd9e2f2346
v2.0.0-alpha.32
2019-11-04 12:45:05 +07:00
Endi
a8826b98b3
fix(v2): docs plugin stability improvement (100% test coverage) ( #1912 )
...
* update jest config
* add more tests on docs plugin
* fix(v2): docs plugin should not add routes if there are no docs
* fix
* rm -rf coverage
* nits
* update
2019-10-29 23:59:27 +08: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
Endi
2c1012b9ec
fix(v2): do not show plugin data path ( #1861 )
...
* fix(v2): do not show plugin data path
* test fix
* nits
2019-10-20 10:58:22 -07:00
endiliey
0cf5a5bf49
v2.0.0-alpha.27
2019-10-14 18:10:32 +07:00
Endi
94b0451fa4
feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature ( #1838 )
...
* feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature
* nits
2019-10-14 17:25:05 +07:00
endiliey
d1e426afd8
v2.0.0-alpha.26
2019-10-12 11:53:42 +07:00