Commit graph

66 commits

Author SHA1 Message Date
Sébastien Lorber
cabb768473
feat: blog posts support /YYYY/MM/DD/blog-post/index.md pattern + blog frontmatter can reference relative images (#5309)
* POC of blog post folder

* add parseBlogFileName with tests + refactor and extract processBlogSourceFile in separate method

* improve blog date pattern doc + link from content plugin guides to API ref docs

* Some FrontMatter fields should be able to reference relative image assets, converted to Webpack require calls and exposed as frontMatterAssets

* remove log
2021-08-06 17:51:59 +02:00
Sébastien Lorber
700a82aefe
feat: multiple playground choices (#5207)
* poc of using netlify functions for playground redirections

* push

* cleanup

* restore files

* fix netlify functions?

* fix netlify functions?

* implement serverless functions for playgrounds with persistent cookie

* move new.docusaurus.io to monorepo packages

* move new.docusaurus.io to monorepo packages

* lockfile

* push

* catch-all redirect

* Translate/Interpolate: add better error message if not used correctly

* Add /docs/playground page

* Add some additional doc
2021-07-22 21:10:36 +02:00
Sébastien Lorber
85cf1be79a
docs(v2): Docusaurus 2 beta blog post (#4756)
* draft

* draft

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* update draft

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-11-releasing-docusaurus-beta.md

* update draft post

* link to testimonials collection

* remove alpha mention in doc

* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

* Update website-1.x/blog/2021-05-12-announcing-docusaurus-two-beta.md

Co-authored-by: Joel Marcey <joelm@fb.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Joel Marcey <joelm@fb.com>
2021-05-12 16:08:07 +02:00
Sébastien Lorber
b7a6665d31
docs(v2): releasing i18n blog post (#4367)
* add social card

* Complete the i18n blog post

* update blog post

* add missing v1 images

* improve the blog post

* update blog post

* update blog post

* fix bad file-system wording

* add mention of dogfooding

* translate the blog post into french + mention it!
2021-03-09 19:44:36 +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
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
Sébastien Lorber
746a19f25b
feat(v2): add baseUrlIssueBanner configuration to disable banner (#3802)
* add baseUrlIssueBanner configuration

* handle review
2020-11-23 20:54:13 +03:00
Jeremy Asuncion
9b3da59886
feat(v2): Plugin for Offline/PWA support (#2205)
* implement PWA plugin

* added pwa support for docusaurus website

* moved sw registration to client module

* moved compile function to webpack util

* build sw using webpack and render pwa popup

* implement @theme/PwaReloadPopup

* update website sw to use modules

* updated pwa readme

* fix header lint errors

* apply code formatting

* cache files only for mobile, saveData, or installed pwa

* added comments about clearing registrations

* fixed prettier error

* updated pwa README

* fix README JS

* move /blog => /blog/index.html logic to else branch

* add `alwaysPrecache` option

* updated docusaurus-plugin-pwa version

* added pwa to using-plugins.md

* review fixes

* re-disable restricted-globals to use self in service worker

* useless doc

* Update packages/docusaurus-plugin-pwa/README.md

Co-authored-by: Reece Dunham <me@rdil.rocks>

* Update packages/docusaurus-plugin-pwa/README.md

* update a bit pwa doc + minor refactors

* minor refactors + add workbox debug mode

* env PWA_ prefix

* typo

* minor refactor

* fix file output

* add serve:v2:ssl yarn command

* minor pwa fixes

* typo

* add dynamic import comment in SW

* comment

* let the PWA plugin implement its reload popup on his own

* pwa: add Joi options validation

* pwa plugin should have its own webpack/babel custom setup

* PWA:
- debug logs
- better SW params system
- offline mode activation strategies
- docs

* add pwa install gif

* pwa: popup -> reloadPopup + minor refactors

* fix process.env reading + better debug log

* minor fixes

* minor changes

* minor changes

Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2020-07-08 12:32:41 +02:00
Alexey Pyltsyn
18169814c8
fix(v2): fix aspect ratio for Open Graph image (#2435) 2020-03-22 10:05:23 +08:00
Alexey Pyltsyn
54b7ac2164
fix(v2): properly scale logo on IE 11 (#2316) 2020-02-25 16:11:06 +08:00
Joel Marcey
b344fa8440 blog: tribute to Endi (#2194)
* Tribute to Endi

* Add missing twitter link
2020-01-07 13:22:07 +08:00
endiliey
7a6516ce5d chore(v2): optimize images 2019-12-02 14:51:07 +07:00
Endi
bc5bceeb87 feat(v2): optimize image processing with sharp & lqip (#1663)
* feat(v2): optimize image processing

* cleanup
2019-07-14 11:28:16 -07:00
Yangshun Tay
281f02279f
feat(v2): add showcase page (#1660)
* feat(v2): add showcase page

* misc(v2): shift users out of pages to prevent it from being treated as a page

* misc(v2): update title
2019-07-13 21:44:40 -07:00
Endi
811cd9137e
chore: move bitcoin-s image logo to correct site (#1654)
* chore: move bitcoin logo to correct place

* optimize img
2019-07-13 20:22:44 +07:00
Torkel Rogstad
1c0d5f0135 docs: add Bitcoin-S to users (#1635)
* Add Bitcoin-S to users list

* Update users.js
2019-07-04 18:37:34 -07:00
Yangshun Tay
bb4ffdfe3c
feat(v2): use Infima CSS (#1346)
* feat(v2): use Infima CSS

* misc(v2): fixes

* misc(v2): change CSS to Netlify hosting

* misc(v2): shift search to the right
2019-04-09 00:48:37 -07:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
Yangshun Tay
f2927a9fc4
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory

* Update Circle CI commands for new v1 dir

* Remove OC

* Fix tests
2018-09-18 00:58:07 +08:00
Joel Marcey
89f49b02c8 Fix Verdaccio image 2018-09-07 19:10:23 -07:00
Yangshun Tay
421d9b03de Add Bowler to users (#933) 2018-08-30 15:09:40 -07:00
nchanged
5542ace288 docs: added FuseBox to users (#927) 2018-08-29 09:20:19 +08:00
Jaril Valenciano
ba76eddc87 Convert Docusaurus banner image into SVG (#915)
* replaced readme header image

Changed from .PNG to .SVG to eliminate blurriness on high-resolution screens

* compressed header .SVG

* Replaced header image in blog post

Blogpost: Introducing Docusaurus
2018-08-25 12:44:28 -07:00
Julien Odent
0a3f0ecdc5 Renamed Sonar to Flipper (#905)
* Noticed caption was "Sonar" but redirecting to https://fbflipper.com.
* Fixed caption and renamed files for consistency.
* Moved project after FastText to keep alphabetical ordering.
* Ran prettier and included changes.

Test plan:
  npm run test && npm run prettier && npm run lint

  cd website && npm run start

Noticed projects are rendered properly and caption is now "Flipper".
2018-08-17 09:39:20 -07:00
Seven Du
e79e67ad2b Add Plus (ThinkSNS+) to users (#903)
* Add Plus(ThinkSNS+) using user link

https://github.com/slimkit/plus

* Add files via upload

* readme Plus logo filename

* Update users.js
2018-08-14 01:09:28 -07:00
Chaoyu
326570d79e Add atalaya.io to users (#878) 2018-07-30 22:35:05 -07:00
machiko
bbfb4b09cb Add Reaction Commerce to users (#869)
* add reaction commerce to users

* add reaction-commerce.svg

* Rename reaction-commerce.svg to img/users/reaction-commerce.svg

* Rename img/users/reaction-commerce.svg to website/static/img/users/reaction-commerce.svg
2018-07-23 17:32:21 -07:00
Yangshun Tay
f33d977d1a
Add ml5 as user (#786) 2018-06-17 19:11:27 -07:00
Yangshun Tay
9cb45960d6 Add Babel to users 🎉 (#779) 2018-06-16 12:35:53 +08:00
Yangshun Tay
9edc29ddd6 Add Sonar to users (#760) 2018-06-11 14:19:53 -07:00
Yangshun Tay
ddcd18a803
Add Metro as user (#755)
* Add Metro as user

* Remove redundant React logo
2018-06-10 17:57:01 -07:00
Breno Polanski
3c6d3e6df7 Add Anssr Data Platform as Docusaurus user (#750) 2018-06-10 10:09:37 -07:00
Kasra Bigdeli
b66045f284 Added CaptainDuckDuck.com (#675)
* Added CaptainDuckDuck.com

* Update users.json
2018-05-19 01:11:23 -07:00
Joel Marcey
70d0b831b4 Add Draft.js as a user (#668) 2018-05-16 18:33:30 -07:00
Yangshun Tay
22332a2df6 Add Pyre to users list (#661) 2018-05-11 10:24:58 -07:00
Resi Respati
5c2dacc780 Added Bemuse to users list (#659) 2018-05-10 07:46:31 -07:00
Ahmad Alfy
ab6bab9f8d [Feature] Introducing image compression using imagemin (#654)
* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier
2018-05-09 16:59:36 -07:00
Matías Olivera
ac718dd7c4 Add WarriorJS to Docusaurus users (#656)
* Separate users data from code

* Add WarriorJS to Docusaurus users
2018-05-09 11:30:05 -07:00
Joel Marcey
b56bb5aa27
Revert "Update static image assets (#631)" (#632)
This reverts commit 6bcc9e44a0.
2018-05-03 12:20:37 -07:00
Yangshun Tay
6bcc9e44a0
Update static image assets (#631)
* Update static image assets

* Update image
2018-05-03 11:10:20 -07:00
Yangshun Tay
07c0f13034
Add golang/dep as user (#612)
* Add golang/dep as user

* Update siteConfig.js
2018-05-03 08:12:52 -07:00
Christine Abernathy
bcf0d1bd8c Blog post for Profilo conversion (#623) 2018-04-30 10:21:01 -07:00
Yangshun Tay
38f93e750a
Add rejoiner project as a user (#606)
* Add rejoiner project as user

* Fix
2018-04-27 14:28:09 -07:00
Kyle Roach
de11050df1 Add react-native-elements to users (#562) 2018-04-14 09:52:52 -07:00
Joel Marcey
5f89af927a
Add BlueWhale as a user (#546) 2018-04-11 19:18:10 -07:00
Joel Marcey
d025e045b5 Add new image for Facebook Instant Articles Editor 2018-02-25 22:05:15 -08:00
Joel Marcey
5198752d0c Add Facebook Instant Articles Rules Editor to Users 2018-02-18 20:11:16 -08:00
Jakub Kłobus
373a3e62de Added react-native-ios-kit to list of projects using Docusaurus (#400) 2018-01-17 16:41:41 -08:00
Joel Marcey
f533311bee
Add Reason as a Docusaurus user (#373)
And alphabetize the list as well
2018-01-04 13:03:36 -08:00