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
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
9692d4e6d7
fix(v2): only show the Git requirement message for the last update of docs plugin once ( #1830 )
2019-10-10 22:14:09 -07: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
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
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
endiliey
1e79a4b5ee
fix(v2): right toc should be sticky
2019-06-03 13:06:34 -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
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
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
Yangshun Tay
b8965dcf38
feat(v2): use new pagination nav CSS ( #1520 )
2019-05-26 20:19:16 -07: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
endiliey
badb067b4b
test(v2): test different type of sidebar item
2019-05-15 19:16:28 +08:00
Endi
55d7920825
fix(v2): handle non existent blog, docs, pages ( #1459 )
...
* fix(v2): handle non existent blog, docs, pages
* nits
2019-05-15 13:55:07 +07: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
Endi
c2ebde997a
refactor(v2): add flowtype + refactor test ( #1443 )
...
* chore(v2): add flow setup
* nits
* fix
* add flow-typed
* ignore compiled library
* fix error
* fix typing
* fix module name mapper
* setup for @docusaurus/core
* dont try remove type without @flow
* fix can't find @docusaurus/utils
* fix test
* remove obscure relative paths
* more refactoring
* add typing for server/load/theme.js
* no need to ship .flow source
2019-05-08 23:03:52 +07:00
Endi
0834784455
feat(v2): easier plugin theme components swizzling ( #1436 )
...
* feat(v2): easier plugin theme components override
* add context
* refactor again
* rename eject -> swizzle
* nits
2019-05-07 13:56:43 +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
Yangshun Tay
fb56f853af
misc(v2): rename components ( #1434 )
...
* misc(v2): clean up work
* misc(v2): rename components
2019-05-04 15:16:10 -07:00
Endi
373d17ee72
refactor(v2): simplify code by removing wip i18n & translation ( #1431 )
...
* refactor(v2): remove i18n & versioning + cleaner code
* totally remove i18n and versioning from plugin
2019-05-02 17:24:47 +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
Endi
528bd7f280
chore(v2): add tbd v2 docs ( #1408 )
...
* docs(v2): docusaurus 2 own docs
* misc(v2): try to get multiple sidebar working
* misc(v2): tweak CSS
* fix(v2): fix conflicting docsMetadata
2019-04-28 09:43:40 -07:00