Endi
166816af40
fix: reload siteConfig.js automatically when locally served page is refreshed ( #1509 )
...
* fix: livereload siteConfig
* fix test
* nits
2019-05-22 22:31:51 +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
e3f8785652
fix(v2): wrong copy static files target directory ( #1502 )
2019-05-22 10:17:54 +07:00
Endi
e4de7c3ed4
refactor(v2): use copy webpack plugin instead of manual copy ( #1500 )
...
* refactor: use copy webpack plugin instead of manual copy
* export static to constant
* nits prettier
2019-05-22 00:29:32 +07:00
Endi
32c5bfe6a4
v1.10.0 ( #1498 )
2019-05-21 17:22:36 +07:00
Endi
32c582ded1
chore: upgrade shelljs version ( #1497 )
2019-05-21 15:32:56 +07:00
Endi
a45f8cab68
chore(v2): add @types/webpack-dev-server and @types/react-dev-utils ( #1496 )
2019-05-21 13:58:14 +07:00
Endi
305e698e6e
refactor(v2): migrate core to Typescript ❄️ 🌀 🐋 ( #1494 )
...
* refactor(v2): add typing for docusaurus/core
* wip: last working
* refactor(v2): add typing for @docusaurus/core
* prettier
* dont run in parallel otherwise some are uncompiled
* nits
* more typing
* more typing
* nits
* type commands
* nits
2019-05-20 09:59:04 -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
Hongarc
382b88bb49
fix: mobile navigation should show deepest breadcrumb instead of outermost ( #1493 )
2019-05-19 16:13:39 +07:00
Hongarc
89582c7b7a
refactor: better regex & path parsing for metadata ( #1492 )
...
* Don't need using `toString` after `path.basename`
* Use `parse` instead of `basename+extname`
2019-05-19 15:54:29 +07:00
Hongarc
9a18b7430a
refactor: simplify blog url replacement regex ( #1491 )
2019-05-19 15:20:49 +07:00
Endi
cbd2a589e3
refactor(v2): migrate to Typescript ❄️ 🌀 🐋 ( #1490 )
...
* refactor(v2): migrate to typescript
* scripts nits
* fix test
* nits
* nits
* tsconfig tweak
2019-05-18 11:37:35 -07:00
Sakti Kr Chourasia
c052b6acd8
fix: content displayed on bottom of mobile viewport when TOC is active ( #1489 )
...
* Remove TOC margin bottom for mobile
2019-05-18 14:37:18 +07:00
Hongarc
1587810e8f
fix: wrong url in next/prev button in some cases ( #1488 )
2019-05-18 13:29:13 +07:00
Sakti Kr Chourasia
084a49819f
fix: h3 topics with Markdown formatting causes a glitch on mobile ( #1467 )
...
* fixed h3 topics with Markdown formatting causes a glitch on mobile
* replaced currenttarget to headings for if check
* use var instead of es6
2019-05-18 12:57:57 +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
Endi
05ba7d835d
fix(v2): should be able to build even if static folder doesnt exist ( #1479 )
2019-05-17 18:15:48 +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
Endi
6b75bb3270
fix: missing cli commands ( #1478 )
...
* fix: missing cli commands
* centralize
2019-05-17 14:27:53 +07:00
Endi
5685e8ab38
fix(v2): fix cannot import css from node_modules in userland ( #1463 )
2019-05-16 20:13:00 +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
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
b91a0fd84a
Chore(v2): use alias instead of relative path for blogpost
2019-05-15 23:22:25 +08: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
Yangshun Tay
f47059b5bd
feat(v2): list blog tags on posts ( #1456 )
...
* feat(v2): list blog tags on posts
* fix date handling on blog header
* fix console log error due to non unique key
2019-05-15 16:56:08 +07: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
Endi
f84abfe2d1
fix: right TOC should not strip special chars ( #1458 )
...
* fix: right TOC should not strip special chars
* nits
2019-05-14 23:55:35 +07:00
endiliey
a0089aa9f5
chore(v2): use remark-slug so that rightToc can benefit from it
2019-05-14 16:04:52 +08:00
Yangshun Tay
ba6724281e
fix(v2): slugify tags
2019-05-13 21:31:12 -07:00
Yangshun Tay
fd270bdceb
feat(v2): blog tags ( #1453 )
...
* feat(v2): blog tags
* feat(v2): blog tags
2019-05-13 10:14:44 -07:00
endiliey
ffdd3e60fc
chore(v2): remove docsearch a11y workaround
2019-05-13 22:19:31 +08:00
Endi
b61cab5e9b
chore(v2): better error message style ( #1454 )
2019-05-13 18:47:57 +07:00
Endi
f9c0cd2e56
fix(v2): transpiling, window scroll and console error ( #1452 )
2019-05-13 01:07:47 -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
070723697f
fix(v2): docsearch a11y issue ( #1449 )
2019-05-11 08:47:22 -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
64fb7a2d0c
chore(v2): tweak eslint config ( #1445 )
2019-05-09 20:01:48 +07:00
Endi
56cd3a22ce
chore(v2): rm flowtype ( #1444 )
2019-05-09 18:32: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
endiliey
6f011d8e7a
chore(v2): better chunk naming
2019-05-08 16:54:48 +08:00
Endi
174ad279a6
refactor(v2): move headerLinks -> themeConfig & rm dead code ( #1442 )
...
* refactor(v2): move headerLinks -> themeConfig & rm dead code
* rm -rf dead code
2019-05-08 15:47:32 +07:00
Yangshun Tay
384fd5708f
feat(v2): Algolia search theme ( #1440 )
...
* feat(v2): Algolia search plugin
* patch PR #1440 (#1441 )
* alternative implementation
* typo
* refactor noop
* rename SearchAlgolia -> SearchBar
* changes.md
2019-05-08 15:21:11 +07:00
Alireza
8aef4ec791
fix(v2-cli): passes the missing host option to start ( #1439 )
2019-05-08 07:22:18 +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