Sam Zhou
f2fb2b8e0f
fix(v2): Fix plugin path resolution ( #2829 )
...
* fix(v2): Fix plugin path resolution
* Import docusaurus.config.js from constant file
2020-05-29 15:37:07 +08:00
Sébastien Lorber
6c4c6c5750
Fix updated version numbers
2020-05-28 17:31:11 +02:00
Sébastien Lorber
768ed7368b
Merge branch 'master' into feature/client-side-redirects
2020-05-28 16:11:58 +02:00
Alexey Pyltsyn
0047db2896
docs(v2): delete alpha.43
2020-05-28 08:58:04 +03:00
Joe Previte
07b9e9cd62
feat(v2): expanded sidebar categories by default ( #2682 )
...
* feat: update sidebar categ to take collapsed prop
* feat: add extra sidebars collapsed test
* fix: only mutate item.collapsed if necessary
* feat: update docs for SidebarItemCategory
* fix: update snapshots
* fix: update json to match new sidebar schema
* fix: update last snapshot
* refactor: check if item should be expanded
* docs: update sidebar categories section
* refactor: use new collpased on docusaurus
* feat: only highlight category for active page
* fix: check for window
* refactor: use ExecutionEnviornment
* refactor: make isCategoryOfActivePage pure
* fix: rename docs to docs-introduction in sidebars
* Update docs.md
* misc: remove setting for every sidebar
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-28 13:17:19 +08:00
Alexey Pyltsyn
d8ebe8b2e4
v2.0.0-alpha.56
2020-05-27 20:18:28 +03:00
Alexey Pyltsyn
3cf1a7b9ef
chore(v2): v2.0.0-alpha.56 ( #2822 )
2020-05-27 20:04:12 +03:00
Sébastien Lorber
6462e1c4da
chore: ignore /coverage folder ( #2821 )
2020-05-28 00:38:36 +08:00
slorber
4913ca638e
remove useless comments
2020-05-27 18:08:06 +02:00
Alexey Pyltsyn
9973ae2d12
refactor(v2): do not use announcement bar hook unnecessarily
2020-05-27 18:42:36 +03:00
Alexey Pyltsyn
aaa8423c35
chore(v2): upgrade Infima to 0.2.0-alpha.12 ( #2820 )
2020-05-27 23:19:18 +08:00
Sam Zhou
33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version ( #2819 )
2020-05-27 23:18:48 +08:00
slorber
362573a391
Merge branch 'master' into feature/client-side-redirects
2020-05-27 16:51:04 +02:00
Alexey Pyltsyn
082c6212cb
feat(v2): allow deploy without building website ( #2770 )
...
* feat(v2): allow deploy without building website
* Update cli.md
2020-05-27 22:34:41 +08:00
Alexey Pyltsyn
90db53657e
feat(v2): automatically add base url to logo link ( #2818 )
...
* feat(v2): automatically add base url to logo link
* Fix for docs non-root path
2020-05-27 22:22:22 +08:00
slorber
d6afb44082
add doc for @docusaurus/plugin-client-redirects
2020-05-27 16:14:18 +02:00
Alexey Pyltsyn
2105700fb7
refactor(v2): various tweaks to website ( #2816 )
2020-05-27 20:56:59 +08:00
slorber
8b6dc032c6
update broken snapshot
2020-05-27 10:47:38 +02:00
Alexey Pyltsyn
f23d03bd3b
refactor(v2): align search icon to center on mobiles ( #2814 )
2020-05-27 16:36:13 +08:00
Sébastien Lorber
03f4100cd4
Merge branch 'master' into feature/client-side-redirects
2020-05-26 21:04:51 +02:00
slorber
cc1705e00c
add canonical url
2020-05-26 21:03:18 +02:00
slorber
9a2129551e
fix bad redirection url
2020-05-26 20:16:40 +02:00
slorber
cb2b5a5407
add write files test
2020-05-26 20:04:22 +02:00
slorber
8c8adc5e6b
fix annoying inline snapshot not working due to fmt/indentation issue
2020-05-26 19:12:19 +02:00
slorber
5efbe90034
prettierignore: packages/docusaurus-plugin-client-redirects/lib/
2020-05-26 19:05:11 +02:00
slorber
9a73680ea5
fix missing ensureDir call
2020-05-26 19:03:02 +02:00
slorber
0c330df5cc
fix template import issue
2020-05-25 20:06:52 +02:00
slorber
e93b98a242
fix writeRedirectFiles
2020-05-25 19:51:37 +02:00
Alexey Pyltsyn
d391a2bcdb
fix(v2): enable scrolling for sidebar menu only ( #2645 )
...
* fix(v2): enable scrolling for sidebar menu only
* Add support for announcement bar
* fix: remove redundant styles
2020-05-26 01:47:40 +08:00
slorber
26beb00476
improve a bit collectRedirects
2020-05-25 19:26:36 +02:00
slorber
d8c163e76b
stable collectRedirects
2020-05-25 19:18:36 +02:00
Sylvain Pace
34e664ac27
docs(v2): add mention on DocSearch when you run the crawler on your own ( #2809 )
2020-05-26 01:09:22 +08:00
slorber
9579ac10fc
split collectRedirects and writeRedirectFiles in separate files
2020-05-25 18:21:41 +02:00
slorber
2695548b93
add proper normalizePluginOptions + tests
2020-05-25 18:05:57 +02:00
slorber
92c2d0839c
add tests for redirectCreators
2020-05-25 17:07:00 +02:00
slorber
d1a162ec30
createRedirectPageContent: use eta template + encode URI for meta refresh header + tests
2020-05-25 16:27:36 +02:00
slorber
fde4933cd5
add utils tests
2020-05-25 16:03:39 +02:00
Alexey Pyltsyn
b52b7d64ff
fix(v2): make proper h1 font size on mobiles ( #2800 )
2020-05-24 20:08:42 +08:00
Alexey Pyltsyn
ca90b42991
misc: minor improvements for init templates ( #2802 )
2020-05-24 19:47:04 +08:00
Alexey Pyltsyn
4cc36a535e
docs(v2): add trailing slash to external links ( #2801 )
2020-05-24 19:46:23 +08:00
Sam Zhou
9001c49880
fix(v2): Properly declare peerDependencies ( #2806 )
2020-05-24 12:48:36 +08:00
Alexey Pyltsyn
2e12269f94
misc: use branded favicon in init templates ( #2803 )
2020-05-24 12:48:04 +08:00
Alexey Pyltsyn
604f9f5b25
refactor(v2): increase search input on medium screens ( #2799 )
...
* refactor(v2): show only search icon on mobiles
* refactor(v2): increase search input on medium screens
2020-05-24 12:45:38 +08:00
Alexey Pyltsyn
a7e4013d3b
chore: prettier
2020-05-23 11:23:28 +03:00
Sam Zhou
705f8f3c51
fix(v2): Consistently use require.resolve in official plugins to resolve modules ( #2797 )
...
* fix(v2): Use require.resolve to resolve loaders in official plugins
* Use require.resolve to resolve client modules
2020-05-23 11:26:50 +08:00
Sam Zhou
78136e77a2
feat(v2): Use pnp-webpack-plugin to support pnp module resolution ( #2796 )
2020-05-23 11:25:23 +08:00
Yangshun Tay
2dbd0488d7
docs(v2): document beforeDefaultRemarkPlugins and beforeDefaultRehypePlugins
2020-05-23 06:12:24 +08:00
Kasper Bøgebjerg Pedersen
0e61da8f69
feat(v2): allow specifying of remark and rehype plugins before default plugins ( #2689 )
...
* feat(v2): swap order of markdown plugins
* feat(v2): remark/rehype plugins can override default plugins
2020-05-23 06:07:01 +08:00
Alexey Pyltsyn
0ff6dd31f4
style(v2): disable Prettier checks for Markdown files of init templates ( #2792 )
2020-05-23 05:05:16 +08:00
Alexey Pyltsyn
83f980cadf
refactor(v2): show only search icon on mobiles ( #2791 )
2020-05-23 05:02:18 +08:00