Commit graph

990 commits

Author SHA1 Message Date
Sébastien Lorber
0a5d3069ee
fix(v2): Fix blog post url/date (#4067) 2021-01-19 20:00:08 +01:00
Sébastien Lorber
581f357885
docs(v2): 2020 recap blog post (#4020)
* Add initial 2020 recap blog post draft

* duplicate blog images to v1

* improve highlight wordings

* improve post

* improve post

* complete 2020 blog post

* complete blog post

* complete blog post

* complete blog post

* Various improvements

* edit the blog post + change the date

* add another interesting blog post

* improve 2020 blog post

* add recap 2020 social card

* missing og image

* improve blog post: add plushie banner + i18n doc link

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-01-19 17:58:20 +01:00
Sébastien Lorber
a8ee7fd3e8
docs(v2): i18n doc + polish (#4014)
* add some initial i18n doc

* i18n doc progress

* i18n tutorial progress

* i18n tutorial progress

* polish Crowdin docs

* i18n sidebar in guides

* polish crowdin doc

* update Crowdin doc a bit

* fix annoying relative link to global site resource in template (breaks i18n tutorial)

* template: use simpler export for homepage

* add markdown page example

* rename mdx.md to interactiveDoc.mdx

* update bootstrap/facebook templates too

* sync init template package scripts

* add slug frontmatter doc

* improve i18n doc

* complete i18n doc

* temporarily enable the localeDropdown

* doc typo

* improve the i18n doc

* Add Git i18n doc

* add missing "--" for npm run options (unfortunately they don't get stripped by npm2yarn, and are required foor npm)

* improve a bit the Crowdin doc
2021-01-19 17:26:31 +01:00
Sean Campbell
af8dc63202
docs(v2): add hideableSidebar option to config demo (#4009)
* docs: add hideableSidebar option to config demo

* Update docusaurus.config.js.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-19 17:17:02 +01:00
sammychinedu2ky
b93d95b9e0
docs(v2): Add codesandbox integration (#4062) 2021-01-19 16:00:07 +01:00
Ivan Ružević
bb925a6fc8
docs(v2): Add Eightshift Docs site to showcase page (#4053) 2021-01-16 12:51:41 +08: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
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
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
Theodore Chu
3ebe9cab68
docs(v2): Add how to run your own DocSearch (#4002) 2021-01-06 16:36:58 +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
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
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
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
9fdac1a0dc
fix(v2): fix blog only contextual search (#3968) 2020-12-29 15:59:56 +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
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
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
Siemienik Pawel
24ea18edf3
docs(v2): Added information about setting / in routeBasePath (#3945) 2020-12-22 16:25:33 +01:00
Sébastien Lorber
3fc29f4b14
chore(v2): prepare v2.0.0.alpha-70 release (#3933)
* add alpha 70 changes

* v2.0.0-alpha.70
2020-12-17 20:08:20 +01:00
Sébastien Lorber
df47c1770c
feat(v2): Add <Root> theme element (#3932)
* Add <Root> component

* add some <Root> doc
2020-12-17 19:38:20 +01:00
Rami
5757cdc7a6
docs(v2): blog.md with docs: false, for blog-only mode (#3931)
Added ***docs: false,*** to the config for blog-only mode because we do not want any documents if we're in blog-only mode otherwise, we probably wouldn't use blog-only mode.
2020-12-17 19:24:04 +01:00
Varshit Shah
9626e547c9
docs(v2): Removed unnecessary closing parenthesis (#3924) 2020-12-16 16:44:47 +01:00
Loïc Poullain
57c336c148
docs(v2): add FoalTS to showcase page (#3928) 2020-12-16 16:23:27 +01:00
Sébastien Lorber
aff656182c
feat(v2): Add localeDropdown navbar item type + i18n localeConfigs field (#3916)
* Add localeDropdown navbar item type

* fix type + add localeConfigs test
2020-12-14 18:28:39 +01:00
Alexey Pyltsyn
4d7ebcfc56
chore(v2): remove docs for alpha v64 (#3912) 2020-12-13 14:36:43 +03:00
Arthur
109a4a7bbe
docs(v2): Move sidebar content to its own page (#3899)
* Move sidebar content to its own page

* Update website/docs/sidebar.md

* Fix merge conflict

* Fix note

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-11 17:02:32 +01:00
Sébastien Lorber
b49006441b
chore(ci): temporarily disable bootstrap deploy preview 2020-12-11 16:47:23 +01:00
Sébastien Lorber
41ef333e47
feat(v2): inline table-of-contents + refactor TOC (#3904)
* Add TOCInline theme component

* Add TOCInline theme component doc + migration guide

* remove useless getPathsToWatch on classic theme

* rename rightToc to toc

* add temp theme-bootstrap TOCInline comp to fix build issue
2020-12-11 16:30:53 +01:00
Oliver Ullman
b11c24b752
feat(v2): add custom props for consumption by swizzled sidebar (#3888) 2020-12-10 19:49:21 +01:00
Cindy Gu
0b05806593
feat(v2): enable feeds by default in blog plugin (#3842)
* feat: enables feeds by default in blog

* feat(v2): enable feeds by default

committing a failed attempt for review

* feat(v2): enable feeds by default in blog plugin

- allow validation to work with arrays syntax
- using DEFAULT_OPTIONS.feedOptions.type instead

* feat(v2): enable feeds by default in blog plugin

- added documentation for feedOptions

* feat(v2): enable feeds by default in blog plugin

- modified implementation to allow feeds to be disable without error
- added unit test to ensure type: null leads to type: null after
  validation
- added documentation to explain how to disable feed generation
2020-12-10 18:35:19 +01:00
borool
dd8f3257a8
docs(v2): typo (#3856)
* Typo

That was written 2 times, I removed one "that"

* Update installation.md

* Update installation.md

* Update installation.md

* Update installation.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-10 17:13:23 +01:00
Alex1304
1f3f569f3e
docs(v2): wrap section about custom domains in :::info (#3891) 2020-12-07 19:02:01 +01:00
Alexey Pyltsyn
08f6734bff
chore(v2): remove docs for alpha v62-63 (#3883) 2020-12-04 21:05:13 +03:00