Sébastien Lorber
0a75ed5d49
docs(v1): version page should recommend v2 (bis) ( #4049 )
...
* Update siteConfig.js
* Update siteConfig.js
* update the versions page
* update the versions page
* Update website-1.x/pages/en/versions.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* update the versions page
* update versions page
* update versions page
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 17:58:42 +01:00
Sébastien Lorber
0f49192a9a
docs(v1): version page should recommend v2 ( #4047 )
...
* Update siteConfig.js
* Update siteConfig.js
* update the versions page
* update the versions page
* Update website-1.x/pages/en/versions.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 17:30:54 +01:00
Reece Dunham
0252d01ebb
docs(v2): Add READMEs to v2 packages ( #4034 )
...
* docs(v2): Add READMEs to v2 packages
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Update packages/docusaurus-remark-plugin-npm2yarn/package.json
* Update packages/docusaurus/README.md
* Update packages/docusaurus-plugin-sitemap/README.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-14 17:16:26 +01:00
Eduardo Lázaro
c94b44559c
docs(v2): add sciwp to showcase ( #4046 )
2021-01-14 16:54:50 +01:00
Miroiu Emanuel
240233629a
docs(v2): Add Nodify to showcase ( #4036 )
...
* Add Nodify to showcase
* Add Nodify to showcase
* Update users.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 10:03:45 +01:00
Sébastien Lorber
f1039cf392
chore(v1): revert v1 netlify.toml ( #4041 )
...
* netlify
* fix typo
* add french to Netlify deploy preview for v1 site
2021-01-13 19:02:44 +01:00
Sébastien Lorber
e72869fc8b
chore(v1): upgrade v1 Crowdin cli + CI config ( #4040 )
...
* Upgrade Crowdin cli for v1 site: cli v2->v3 + simplify install through npm instead of .deb
* add netlify.toml in v1 site
* trigger ci
* netlify
* netlify
* netlify
2021-01-13 18:29:41 +01:00
Sébastien Lorber
18002ed573
docs(v1): suggest to use Docusaurus 2 even for non-FB websites ( #4038 )
2021-01-13 16:13:48 +01:00
Andrew Taft
e6a00d4869
docs(v2): Add FlexIt to showcase ( #4026 )
...
* Add FlexIt Analytics
Add FlexIt Analytics to showcase
* Add flexit.png
2021-01-12 16:46:20 +01:00
Sébastien Lorber
20b6997ad6
chore(v2): install Crowdin cli through npm package ( #4030 )
2021-01-12 16:23:25 +01:00
Reece Dunham
66cc7364cd
feat(v2): Allow plugins to consume webpack stats ( #4021 )
...
* refactor(v2): Allow plugins to consume webpack stats
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Warn level only
* Fix issue
* Revert start.ts change
2021-01-11 15:34:42 +01:00
Reece Dunham
a406a3c9aa
chore(v2): docusaurus-init: switch from inquirer to prompts ( #4012 )
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-01-11 15:33:40 +01:00
Kumar Aditya
c19c9e5003
chore: add DevContainer config for GitHub codespaces ( #4003 )
...
* devops: Docusaurus Dev Container
Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* formatted devcontainer.json
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-01-11 14:54:47 +01:00
Meercode Bot
e5373d944e
chore: Add GitHub Actions CI score badge ( #4018 )
2021-01-11 14:28:16 +01:00
Sean Campbell
2ba55b0f19
fix(v2): fix accessibility issue with IconArrow ( #4011 )
2021-01-10 14:09:54 +08:00
Joel Marcey
827de9a840
feat: add new policy links to Docusaurus site and FB template ( #4019 )
2021-01-10 14:07:59 +08:00
Vamsi Krishna Reddy Satti
d8ef2a9051
docs: fix typo from 'dissapear' to 'disappear' ( #4022 )
2021-01-10 13:20:28 +08:00
Sébastien Lorber
c4cbe8ec72
chore(v2): prettier fixes ( #4005 )
2021-01-06 17:07:34 +01:00
Theodore Chu
3ebe9cab68
docs(v2): Add how to run your own DocSearch ( #4002 )
2021-01-06 16:36:58 +01:00
Sean Campbell
5dfa665281
feat(v2): themed logo in footer ( #3993 )
...
* feat: attempt 1 at themedlogo in footer
* Add srcDark to website for temp debug
* typo fix
* Got it now! except for centering
* style: centered new themed image logo
* style: change ThemedImage styleing to center footer logo
* style: Change ThemeImage Style to initial
This was my mistake.
Removed temp `srcDark` footer logo
2021-01-06 16:10:44 +01:00
Nathan Bosscher
8a9dfcf96c
fix(v2): Fix double trailingSlash in sitemap.xml ( #4004 )
...
When `trailingSlash` option is enabled, routes that already end in a `/` are shown with double slash at the end.
2021-01-06 15:44:22 +01:00
Massoud Maboudi
89a2ba7732
docs(v2): Add Datagit site to showcase page ( #3997 )
...
- add datagit.png to showcase
2021-01-05 16:40:02 +01:00
Kumar Aditya
f48d435ce4
feat(v2): Cache hashed assets to dedicated folders ( #3998 )
2021-01-05 16:31:27 +01:00
Sébastien Lorber
6cb99bfe73
chore(v2): Upgrade crowdin ( #4001 )
2021-01-05 16:25:36 +01:00
Power Lin
7c597bb4e7
docs(v2): Add wiki-powerto site showcase ( #3990 )
...
* Add files via upload
* Update users.js
* Update users.js
2021-01-05 15:07:31 +01:00
Alexey Pyltsyn
5784125f4b
chore(v2): remove docs for alpha v65 ( #3995 )
2021-01-05 01:17:48 +03:00
Sean Campbell
da23912e7b
docs(v2): add overwriting css variables for dark mode ( #3991 )
2021-01-04 20:00:39 +01:00
Sébastien Lorber
d2d2872646
chore(v2): fix date-sensitive test fixture ( #3988 )
...
Co-authored-by: 9oelM <hj923@hotmail.com>
2021-01-04 16:50:56 +01:00
BennoDev
6e9ed1cb1a
docs(v2): Add AgileTs site to showcase page ( #3987 )
...
* Added AgileTs to users
* Added agilets banner image
* fix img case-sensitive issue
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-01-04 16:48:39 +01:00
Kumar Aditya
0bb5e547b1
feat(v2): skip dependency install on docusaurus init ( #3986 )
...
* fix : #3450
Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* test: fix failing test
Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-01-04 16:17:06 +01:00
Joel M
869e118e4f
feat(v2): better error message for invalid plugin config ( #3979 )
...
* test(v2): improve tests on validating plugins
* fix(v2): make schema for plugins stricter
* fix(v2): emit error if valid type of plugin is not found (#3934 )
2020-12-31 15:33:24 +01:00
Sébastien Lorber
d5d6e2fba2
docs(v2): Add documentation for docs multi-instance support ( #3978 )
...
* Add documentation for docs multi-instance support
* Add documentation for docs multi-instance support
2020-12-30 19:41:42 +01:00
Sébastien Lorber
cf086abe20
docs(v2): nudge users to add site to showcase ( #3977 )
...
- Add a "Add your site!" button
- Add instructions to add a Docusaurus site to showcase
- ignore prettier formatting errors (as edits are often done through Github interface)
2020-12-30 17:10:54 +01:00
Sébastien Lorber
d99d53a236
docs(v2): Reorganize/split the guides doc sections ( #3975 )
...
* docs reorg
* refactor docs/markdown features section
* fix broken links after docs refactor
2020-12-30 17:03:25 +01:00
Jola
a0c5177182
docs(v2): Add AI-Speaker site to showcase page ( #3976 )
...
* add AI-Speaker to users.js
* add aispeaker.png to showcase
* Update users.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-30 16:39:42 +01:00
Sébastien Lorber
c61b49ab5a
docs(v2): doc typo on sidebar admonition ( #3974 )
2020-12-30 12:11:18 +01:00
Sébastien Lorber
1e1860681b
fix(v2): fix multi-instance mdx loaders not sandboxed correctly ( #3970 )
...
* another attempt to fix the multi-instance conflicts
* try to fix windows build
* cleanup + improve comment
2020-12-30 11:18:51 +01:00
Sébastien Lorber
9fdac1a0dc
fix(v2): fix blog only contextual search ( #3968 )
2020-12-29 15:59:56 +01:00
Apurva Ojas
5944226eb4
fix(v2): fix svg loader for CSS files ( #3965 )
...
* bug(v2): fix svg loader for styles re #3964
* ensure we only use SVGR loader in source code that can use React (ie not in CSS files)
* fix test
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-12-29 14:47:57 +01:00
Sébastien Lorber
e5610a475d
docs(v2): Add migration info doc regarding docs folder location ( #3962 )
2020-12-29 10:57:35 +01:00
Sébastien Lorber
141d062c3b
chore(v2): fix windows Jest tests ( #3959 )
...
* test(v2): Fix docusaurus-utils tests for windows
* test(v2): Fix plugin-client-redirects test
- add the posixPath in writeRedirectsFiles.ts
* test(v2): Fix plugin-content-pages test
add posixPath in test and index
* test(v2): add window test configuration
- add the window test configuration in nodejs-windows.yml
* test(v2): revert plugin-content-pages test fix
* test(v2): Fix mdx-loader/transformImage test
* test(v2): add cleanPath in transformImage test
* fix version path tests for windows
* make versionMetadata test work on Windows
* try to fix posix/win32 path issues
* attempt to fix windows test
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* try to make source alias less win32 sensitive
* specific jest config for windows
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* attempt to fix windows testing issue
* remove bad cleanPath fn
* try to fix windows tests
* try to fix windows tests
* blog: try to fix windows tests by using same logic as on docs plugin
* try to fix windows tests
* try to fix windows tests
* try to fix windows tests
* try to fix windows tests
* improve the Github CI setup for windows: make jobs run in parallel
* revert GH action change
Co-authored-by: Sachin Kumar Rajput <skr571999@gmail.com>
2020-12-28 19:50:12 +01:00
Alexey Pyltsyn
863a4d85d3
fix(v2): remove duplicate section on Versions page ( #3960 )
2020-12-28 17:23:24 +01:00
saydo17
88a6f56654
fix(v2): fix redirect toUrl (windows + trailing slash) ( #3903 )
...
* replace \ with / when creating client redirect on windows
* fix(vs): replace \ with / when creating client redirect on windows
* redirects plugin: add createToUrl fn + tests
* redirects plugin: add createToUrl fn + tests
do not add trailing slash + try to fix windows path issues
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-12-28 11:55:15 +01:00
Bartosz Kaszubowski
601c8fe688
docs(v2): update FB OSS logo ( #3881 )
...
* docs(v2): update FB OSS logo
* chore(v2): update FB OSS logo in init
2020-12-28 11:38:07 +01:00
Joel M
41ac4468de
fix(v2): allow async/await in live code editor ( #3954 )
...
* transforming async functions is not implemented by buble, so just bypassing it would relieve the pain for now
2020-12-28 10:47:55 +01:00
Reece Dunham
6ce1230c1e
refactor(v2): fix debug plugin name ( #3953 )
2020-12-28 10:36:17 +01:00
samhrncir
b54ec93c61
docs(v2): Update deployment.mdx ( #3950 )
...
Include documentation on environment variable needed for Enterprise GitHub Pages deployment.
2020-12-28 10:35:03 +01:00
Sébastien Lorber
b5c46bd1d9
feat(v2): new docs edit options: editCurrentVersion + editLocalizedDocs ( #3949 )
...
* editCurrentVersion initial poc
* ensure edit url allows to edit localized docs
* Add editLocalizedDocs option
* keep editing current version in dev (more convenient)
2020-12-28 10:25:47 +01:00
Matt Oestreich
2791ccc4cf
docs(v2): fix invalid JS example ( #3952 )
...
* Fix invalid json
* Update sidebar.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-12-25 18:20:35 +03:00
Alexey Pyltsyn
853e29dbd8
fix(v2): minor a11y tweaks ( #3946 )
2020-12-22 16:28:37 +01:00