Commit graph

1777 commits

Author SHA1 Message Date
Alexey Pyltsyn
bfbc78e52a
feat: allow using pure HTML as label in navbar links (#7079)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-04-07 12:33:52 +02:00
Lukas Bach
529d853ab8
docs: add Synergies to showcase (#7127)
* docs(showcase): add synergies

* docs(showcase): add synergies preview file

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 18:18:17 +08:00
Karl Ward
b230e8a545
docs: add Files Gallery website to showcase (#7125)
* Update users.tsx

Product website built with Docusaurus! Thanks.
www.files.gallery

* Added preview image for Files Gallery

PNG / 2560 x 1280

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 18:16:05 +08:00
Joshua Chen
3cdd038d28
docs: multiple documentation improvements (#7126) 2022-04-07 16:27:28 +08:00
Joshua Chen
2c61bf2568
refactor(showcase): enforce descriptions with maximum length of 120 characters (#7123)
* refactor(showcase): enforce descriptions to have maximum 120 characters

* update
2022-04-07 13:26:21 +08:00
Alexey Pyltsyn
c669c103f9
refactor(website): minor fixes and improvements (#7119)
* refactor(website): minor fixes and improvements

* Some fixes

* Round all the corners in browser window

* Add rounded bottom corners to browser window
2022-04-07 08:33:52 +08:00
mehdim
49424f5057
docs: correct plugin example filename (#7026)
* Correect Wrong file name

The file name inside the my-plugin folder is index.js .

* Update plugins.md

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-07 08:17:06 +08:00
ApsarasX
103ea04661
feat(sitemap): add ignorePatterns option (#6979)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-06 15:44:07 +02:00
Joshua Chen
4194925da9
docs: add a note about additional languages needing to be Prism component names (#7110) 2022-04-04 10:02:16 +08:00
Joshua Chen
85f47fd8f7
fix(core): preserve Interpolate children semantics (#7103)
* fix(core): preserve Interpolate children semantics

* fix

* fix again
2022-04-03 15:16:30 +08:00
Joshua Chen
c7c0ee4e7c
chore: upgrade dependencies (#7101) 2022-04-02 08:32:26 +08:00
Joshua Chen
ff96606865
docs: fix some casing inconsistencies (#7081) 2022-03-31 20:23:44 +08:00
Joshua Chen
24c205a835
refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080)
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type

* fix
2022-03-31 19:16:07 +08:00
Joshua Chen
bb55586c20
fix(website): lazy-load YT iframe (#6746) 2022-03-30 22:50:16 +08:00
Joshua Chen
3f33e90704
chore: upgrade dependencies (#7065)
* chore: upgrade dependencies

* fix project words
2022-03-30 11:05:50 +08:00
Chau Tran
1f77fc93bb
docs: add docusaurus-plugin-typedoc to resources (#7061) 2022-03-29 22:52:25 +08:00
Joshua Chen
177e8d7c02
docs: add firelordjs to showcase (#7059)
* docs: add firelordjs to showcase

 docs: add firelordjs to showcase

fixes

kick CI

Delete firelordjs.png

Add files via upload

* kick CI

Co-authored-by: Acid Coder <5227509+tylim88@users.noreply.github.com>
2022-03-29 19:09:01 +08:00
Joshua Chen
77662260f8
refactor(core): refactor routes generation logic (#7054)
* refactor(core): refactor routes generation logic

* fixes
2022-03-29 16:37:29 +08:00
Kayce Basques
e31e91ef47
docs: add import React statement in JSX file example (#7050) 2022-03-29 09:30:35 +08:00
Joshua Chen
5fb09a2946
refactor(core): reorganize files (#7042)
* refactor(core): reorganize files

* fix types
2022-03-28 21:49:37 +08:00
Andrei Canta
0b3b642cfb
docs: add Easypanel to showcase (#7022)
* Add Easypanel site to showcase page

* Upload easypanel.png

* fixes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-27 15:01:48 +08:00
Joshua Chen
2bcac29cd4
refactor(content-docs): deduplicate types, JSDoc for some APIs (#7027)
* refactor(content-docs): deduplicate types, JSDoc for some APIs

* little refactor
2022-03-27 12:57:15 +08:00
Leedom
b842197ac6
docs: consistently use sidebars.js filename (#7016)
* modify sidebar.js to sidebars.js in installation.md

* modify sidebar.js to sidebars.js

Co-authored-by: leedom <leedom@jinlanzuan.com>
2022-03-27 09:55:12 +08:00
Martin Blom
e6838dd7a6
docs: add Divine WSF and Ghostly to showcase (#7020)
* Added Divine WSF and Ghostly showcases.

* optimize images

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-26 22:11:41 +08:00
Indermohan Singh
2dea99b5c8
docs: remove unnecessary semicolon (#7000)
* docs: remove unnecessary semicolon

The semicolon after the TOCInline component is unnecessary and actually gets rendered on screen.

* ignore prettier

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-25 23:59:13 +08:00
Sébastien Lorber
73deaa8bf6
chore: prepare v2.0.0-beta.18 release (#7001) 2022-03-25 16:16:38 +01:00
Joshua Chen
b5ceead3b2
feat(content-docs): autogenerate category with linked doc metadata as fallback (#6859) 2022-03-25 15:23:11 +01:00
Joshua Chen
87592bca03
refactor: ensure all types are using index signature instead of Record (#6995)
* refactor: ensure all types are using index signature instead of Record

* kick CI
2022-03-25 18:06:30 +08:00
Joshua Chen
fa50d09d3b
chore: upgrade dependencies (#6991)
* chore: upgrade dependencies

* fix
2022-03-25 10:47:08 +08:00
Kayce Basques
395136a731
docs: fix example admonition syntax (#6988)
* Fix example admonition syntax

There was a space between `::: info` should be `:::info` or else Docusaurus does not render it as an admonition.

* kick CI

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-25 08:54:27 +08:00
Jadon N
19d2a18817
docs: npm run tsc -> npx tsc (#6978)
* Correct npm run tsc to npm run typecheck

According to this page, you should run `npm run tsc` to run `tsc` and do a type check. However, in the package.json file for Docusaurus version 2.0.0-beta.17 the command is actually `npm run typecheck`, which runs `tsc`.

This update only replaces `tsc` with `typecheck` so the npm script will run correctly.

* Recommend npx tsc for type-checking

Based on feedback for the original change to replace `npm run tsc` with `npm run typecheck`, a better solution that was suggested was to use npx to run tsc instead of an npm script. `npx tsc` should work regardless of the template/presets you installed when you installed Docusaurus.
2022-03-24 11:14:09 +08:00
Joshua Chen
948271a0ff
test: improve test coverage; reorder theme-common files (#6956)
* test: improve test coverage; reorder theme-common files

* no need for this
2022-03-22 15:33:55 +08:00
Alessandro Festa
1777fc4d76
docs: add K3ai to showcase (#6952)
* Add files via upload

* Update users.tsx

* Delete logo.jpg

* Add files via upload

* Update users.tsx

* Delete k3ai.jpg

* Add files via upload

* Update users.tsx

* k3ai website PR

* lots of changes (!)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-21 23:47:37 +08:00
Kyohei Fukuda
3c7b39b739
docs: add pdfme docs to showcase (#6948)
* Add pdfme docs to showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-21 17:25:14 +08:00
Joshua Chen
e8a2f66a0f
chore: upgrade dependencies (#6946)
* chore: upgrade dependencies

* reformat
2022-03-21 07:45:29 +08:00
Billy Chan
92fcc0ddc5
docs: add SeaORM docs to showcase (#6943)
* Add SeaORM docs to showcase

* minor tweak

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-19 21:21:11 +08:00
Joshua Chen
19942f990a
chore: migrate Jest and website to SWC (#6944)
* chore: migrate Jest and website to SWC

* ignore template
2022-03-19 20:56:30 +08:00
Sébastien Lorber
74f653dd82
refactor(theme-{classic,common}): change how site/page/search metadata is handled (#6925) 2022-03-18 18:53:00 +01:00
Sébastien Lorber
a1d333e96b
refactor(theme-{classic,common}): split navbar into smaller components + cleanup + swizzle config (#6895) 2022-03-18 16:21:53 +01:00
Alexey Pyltsyn
ecbe0b26c5
refactor(theme-{classic,common}): refactor ColorModeToggle + useColorMode() hook (#6930)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-03-18 15:28:35 +01:00
Joshua Chen
cc0bceab9c
chore: tighten ESLint config (#6931)
* chore: tighten ESLint config

* more refactor

* refactor push

* fix
2022-03-17 17:59:41 +08:00
Kayce Basques
284649c7c8
docs: clarify the usage of slug (#6926)
* Clarify the usage of slug

As a new user it was unclear whether setting `slug` would change the URL relative to the root directory or relative to the docs directory. The example I added should make that clear without needing to test out the functionality in a Docusaurus instance (which is what I had to do).

* editorial changes

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-17 07:54:18 +08:00
Joshua Chen
68aaf9201f
feat(core): allow plugin lifecycles to return relative paths (#6921)
* feat(core): resolve plugin lifecycles returning relative paths

* fix typo

* fix tests

* revert

* rename path -> entryPath
2022-03-16 20:47:15 +08:00
Joshua Chen
8d1c1954c1
refactor(content-blog): clean up type definitions; in-code documentation (#6922)
* refactor(content-blog): clean up type definitions; in-code documentation

* add doc
2022-03-16 19:36:57 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies (#6916) 2022-03-15 13:16:21 +08:00
Joshua Chen
dc975fecbf
refactor: convert Jest infrastructure to TS (#6910) 2022-03-14 08:43:51 +08:00
Ariful Alam
1305977098
docs: add Reactive Button site to showcase (#6911)
* Add reactive-button.png to showcase

* Add `Reactive Button` to users.tsx

* optimizt image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-14 08:43:39 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp

* simplify

* simplify

* fix
2022-03-13 18:32:17 +08:00
Nayan Patel
127183e70e
docs: update image for digital support services (#6904)
* Delete digitalsupportservices.png

* add new image

* Delete digitalsupportservices.png

* Compressed version

* Delete digitalsupportservices.png

* add image correct res

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-13 11:50:56 +08:00
Joshua Chen
d85cee576d
test: improve test coverage; properly test core client APIs (#6905)
* test: improve test coverage

* fix
2022-03-12 23:15:45 +08:00