slorber
00a79f69c7
Add chalk non-blocking errors + fix config bug
2020-06-03 19:28:57 +02:00
slorber
77c7ac0ddb
add more redirect tests to d2 site config
2020-06-03 18:15:12 +02:00
slorber
812daa8af5
improve doc
2020-06-03 18:13:10 +02:00
slorber
e057bbd662
add proper redirect config for tests
2020-06-03 17:55:46 +02:00
slorber
c224efb8a1
Add better options validation error
2020-06-03 17:53:54 +02:00
slorber
4e8b361d00
remove github pages mention for server-side redirects
2020-06-03 15:17:02 +02:00
slorber
802235c768
Merge branch 'master' into feature/client-side-redirects
2020-06-03 15:16:24 +02:00
Sébastien Lorber
c251eaf7b8
Update website/docs/using-plugins.md
...
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-03 12:55:09 +02:00
Sébastien Lorber
504b1b4443
Update website/docs/migrating-from-v1-to-v2.md
...
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-03 12:54:41 +02:00
Alexey Pyltsyn
e68b81bc33
fix(v2): do not create route for document that serve as docs home page ( #2861 )
2020-06-03 15:56:57 +08:00
Sébastien Lorber
b8de9c6ded
feat(v2): introduce docs slug in front matter ( #2771 )
...
* feat: docs pathname frontmatter (for #2697 )
* feat: docs pathname frontmatter (for #2697 )
* chore: comment typo
* feat: add slug frontmatter for docs
* test: add tests for versioned sites slugs
* docs: document slug feature
* test: fix tests and snapshots about doc slug feature
* docs(v2): doc slug wording
* Update website/docs/docs.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-02 20:50:30 +03:00
Alexey Pyltsyn
ed9977accc
docs(v2): description field in frontmatter of blog post ( #2865 )
2020-06-02 11:02:45 +03:00
Alexey Pyltsyn
c0c7457e01
feat(v2): allow specifying meta image for blog posts ( #2856 )
...
* feat(v2): allow specifying meta image for blog posts
* Update docs [skip ci]
2020-06-02 10:48:22 +03:00
Joel Marcey
63e2720dff
Updated banner in solidarity ( #2862 )
2020-06-01 12:42:48 -07:00
slorber
67f88c12e7
doc typo
2020-06-01 17:38:49 +02:00
slorber
b8168e2287
document @docusaurus/plugin-client-redirects in migration guide + fix doc typo
2020-06-01 17:33:20 +02:00
Alexey Pyltsyn
ae91234e0f
refactor(v2): add missing main landmark for needed pages ( #2858 )
2020-06-01 19:10:14 +08:00
hackerman
7cba7f0d06
docs(v2): _index docs page does not show a sidebar ( #2839 )
...
* docs: _index docs page does not show a sidebar
Closes #2836
* Update website/docs/docs.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-01 14:06:02 +03:00
Sam Zhou
93b35afe95
feat(v2): Allow swizzling prism-include-languages in theme-classic ( #2841 )
...
* feat(v2): Allow swizzling prism-include-languages in theme-classic
* Add docs
* Improve docs
2020-05-31 14:41:16 +08:00
Koki Nishihara
ce4b0187aa
docs(v2): Update ZEIT to Vercel ( #2842 )
...
docs: update ZEIT to Vercel
2020-05-30 13:35:22 +08: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
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
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
Sébastien Lorber
03f4100cd4
Merge branch 'master' into feature/client-side-redirects
2020-05-26 21:04:51 +02:00
slorber
0c330df5cc
fix template import issue
2020-05-25 20:06:52 +02: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
Yangshun Tay
2dbd0488d7
docs(v2): document beforeDefaultRemarkPlugins and beforeDefaultRehypePlugins
2020-05-23 06:12:24 +08:00
Sam Zhou
1503943e3f
fix(v2): Use require.resolve
to resolve plugin path in presets ( #2794 )
2020-05-23 04:57:02 +08:00
slorber
fd47ca1925
feat(v2): docusaurus-plugin-client-redirects
2020-05-22 20:15:16 +02:00
Muhammad Ali
e6cdeba603
docs(v2): add articles section to resources page ( #2781 )
2020-05-22 11:26:29 +08:00
Alexey Pyltsyn
7448501c7c
refactor(v2): make external links more secure ( #2783 )
2020-05-22 11:18:27 +08:00
Alexey Pyltsyn
05c3aa31f4
fix(v2): do not highlight root docs path in navbar ( #2778 )
2020-05-20 16:49:11 +08:00
Alexey Pyltsyn
0dc0c35ec8
docs(v2): misc update
2020-05-20 11:41:39 +03:00
Alexey Pyltsyn
d94a549cfb
v2.0.0-alpha.55
2020-05-19 13:55:03 +03:00
Alexey Pyltsyn
570ce36cc7
chore(v2): v2.0.0-alpha.55 ( #2774 )
2020-05-19 13:38:09 +03:00
Alexey Pyltsyn
c7baa125e6
chore(v2): mention about docs home page in init templates ( #2763 )
...
* chore(v2): mention about docs home page in init templates
* use home page id for docs
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-18 13:14:06 +08:00
Alexey Pyltsyn
fc161b8455
docs(v2): various improvements ( #2768 )
2020-05-18 11:37:53 +08:00
Alexey Pyltsyn
8e24454154
feat(v2): allow import SVG images ( #2764 )
2020-05-18 11:18:02 +08:00
Artem Kovalov
6db5e8dff8
docs(v2): add deployment workflow manual for GitHub Actions ( #2670 )
...
* docs: add deployment workflow manual for GitHub Actions
Steps to build and deploy Docusaurus with GitHub Actions
* docs(v2): improve formatting
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-05-18 11:07:48 +08:00
Fanny
d145f03ea8
refactor(v2): change the label for docs introduction ( #2716 )
...
* change the label for docs introduction
* change file id
* refactor(v2): change name
2020-05-17 19:29:57 +08:00
Ben Gubler
daafd2f0cc
feat(v2): allow activeBaseTest in NavLink ( #2690 )
...
* Update documentation, add support for activeBaseTest
* Implicit else
* Fix Regular Expression capitalization
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
* Refactor isActive to ternary function, rename activeBaseTest to activeBaseRegex
* Update website/docs/theme-classic.md
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
* Fix typo
* Update website/docs/theme-classic.md
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
* Update theme-classic.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-05-17 19:23:32 +08:00
Alexey Pyltsyn
00a8e9e365
feat(v2): allow home page for docs ( #2652 )
...
* feat(v2): allow home page for docs
* Refactor
* Remove debugging info 🤦♂️
* Add sort routes for first test case
* Sort child routes for consistency
2020-05-17 17:48:02 +08:00