Commit graph

5274 commits

Author SHA1 Message Date
Joshua Chen
eea27aad68
misc: move lighthouse message formatter to admin folder, refactor (#7338) 2022-05-05 14:51:16 +08:00
Alexey Pyltsyn
9cf8d75de8
fix(website): restore showcase (#7337) 2022-05-05 09:22:58 +03:00
Reece Dunham
d3f526fd8a
fix(core): inject docusaurus version into SSR as local (#7329)
* Revert "fix(core): handle case where package.json is not available at CWD (#7187)"

This reverts commit 3b32a41f22.

* properly fix

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-05 09:10:47 +08:00
Sébastien Lorber
78400541cb
chore: fix site deployment (#7328) 2022-05-04 19:28:06 +02:00
Steven Hicks
9ead309809
docs: add clarity to versioning behavior (#7327) 2022-05-05 00:15:50 +08:00
Sébastien Lorber
c31d076aed
chore: fix site deployment Crowdin issue (#7326) 2022-05-04 17:48:29 +02:00
Alexey Pyltsyn
6fa51890f0
chore: prepare v2.0.0-beta.19 release (#7325)
* chore: prepare v2.0.0-beta.19 release

* v2.0.0-beta.19
2022-05-04 18:38:45 +03:00
Alexey Pyltsyn
7944fdd9a2
refactor: minor improvements for breadcrumbs (#7299)
* refactor: minor improvements for breadcrumbs

* Apply suggestions from code review

* Update packages/docusaurus-theme-translations/locales/fr/theme-common.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-05-04 17:54:47 +03:00
Joshua Chen
b3feb01009
fix(theme-classic): remove breadcrumb items without href from microdata (#7304) 2022-05-04 16:54:24 +02:00
Alexey Pyltsyn
3a7e6665ad
misc: adjust Lighthouse CI (#7324)
* misc: adjust Lighthouse CI

* Use MD link

* Format code
2022-05-04 22:48:41 +08:00
Joshua Chen
39f5cf3e29
chore: remove dependabot from upgrading npm dependencies (#7322) 2022-05-04 22:21:58 +08:00
Joshua Chen
35b0f0d0aa
refactor(create): add i18n config in init template (#7290) 2022-05-04 16:09:08 +02:00
Alexey Pyltsyn
be0dc6b0c9
chore: upgrade Infima to alpha.39 (#7306) 2022-05-04 16:06:54 +02:00
Joshua Chen
470e242eef
chore: make dependabot use tag: dependencies tag (#7310) 2022-05-04 21:52:51 +08:00
Joshua Chen
987c33508f
chore: use "Maintenance" instead of "Internal" in changelog (#7309) 2022-05-04 21:16:46 +08:00
Alexey Pyltsyn
344f7957c7
misc: run Lighthouse CI without assertions (#7308) 2022-05-04 15:57:33 +03:00
Alexey Pyltsyn
ee203870be
misc: add doc page for checking by Lighthouse CI (#7300)
* misc: check doc page by Lighthouse CI

* Update lighthouse-report.yml

* Add script to render Lighthouse results

* Use script
2022-05-04 15:36:51 +03:00
Joshua Chen
977ef7121b
docs: add mdx-code-block around tabs; use JS example for magic comments (#7307) 2022-05-04 20:29:09 +08:00
surendran82
0466dbcf3f
docs: add Hasura Docs site to showcase (#7301)
* docs(v2): Add Hasura Docs site to showcase page

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-04 18:56:01 +08:00
Joshua Chen
b1cafe73df
refactor: remove long-deprecated routesLoaded lifecycle (#7257) 2022-05-04 12:32:49 +02:00
Joshua Chen
51815c12c9
feat(theme-classic): extensible code block magic comment system (#7178) 2022-05-04 12:31:13 +02:00
Joshua Chen
785fed723f
refactor(theme-classic): move all sidebar-related config under themeConfig.docs.sidebar (#7277) 2022-05-04 12:08:19 +02:00
Joshua Chen
881430078e
refactor(create): update screenshots in quick start tutorial (#7286) 2022-05-04 12:00:12 +02:00
Joshua Chen
7a3894e664
docs: update docs for logger, add API docs to website (#7305)
* docs: update docs for logger, add API docs to website

* fix broken image
2022-05-04 17:59:47 +08:00
Fusang❀
efdd070ead
docs: add meoo.space to showcase (#7302)
* Update users.tsx

* Add files via upload

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-04 16:10:58 +08:00
Aaron Nwabuoku
18d81a1065
docs: add ChatKitty to showcase (#7297)
* docs: add ChatKitty to showcase

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-04 16:00:43 +08:00
Joshua Chen
e73cda87d6
docs: remove extraneous line break tags (#7298) 2022-05-04 11:45:20 +08:00
Joshua Chen
1a9bdd1a4e
refactor: use export = syntax for utility packages (#7295) 2022-05-03 20:22:22 +08:00
Joshua Chen
a2c993bf9a
fix(*): make TypeScript realize that each plugin package has a default export (#7294) 2022-05-03 18:23:34 +08:00
Joshua Chen
b49ae67521
refactor(types): move non-core, non-public types out of the types package (#7293) 2022-05-03 17:15:48 +08:00
Joshua Chen
c7a5af7c4d
refactor(core): collocate CLI commands and their option types (#7292)
* refactor(core): collocate CLI commands and their option types

* fixes
2022-05-03 15:32:12 +08:00
Joshua Chen
5bed55aeda
refactor(types): JSDoc for docusaurus config fields (#7291) 2022-05-03 13:57:19 +08:00
Chinazaekpere Ngubo
fc8b7674e3
docs: add AvN Gateway to showcase (#7287)
* Update users.tsx

* Add files via upload

* Update users.tsx

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-03 11:41:24 +08:00
dependabot[bot]
a1182b374c
chore(deps): bump github/codeql-action from 2.1.8 to 2.1.9 (#7288)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1ed1437484...7502d6e991)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 09:01:58 +08:00
Joshua Chen
e1b7171bb1
fix(core): allow empty static directories (#7285)
* fix(core): allow empty static directories

* improve comment

* add empty directory
2022-05-02 16:34:30 +08:00
Joshua Chen
594d8f357c
docs: add a paragraph about SSR as an optimization technique (#7284) 2022-05-02 14:23:42 +08:00
Joshua Chen
a6c007849e
chore: fix pnpm E2E test to work on pnpm v7 (#7283)
* chore: fix pnpm E2E test

* fix?
2022-05-02 13:38:08 +08:00
Joshua Chen
53564f33ab
refactor(core): prefetch/preload refactor (#7282) 2022-05-02 12:56:58 +08:00
Joshua Chen
3c24cbc2c0
misc: tighten CI trigger conditions (#7279) 2022-04-30 22:17:37 +08:00
Joshua Chen
9fd5d62340
docs: enhance docs about Markdown TOC and metadata (#7278)
* docs: multiple documentation improvements

* fix

* fix
2022-04-30 21:30:14 +08:00
Joshua Chen
afc72480ab
refactor(eslint-plugin): migrate to TS-ESLint infrastructure (#7276)
* refactor(eslint-plugin): migrate to TS-ESLint infrastructure

* fix lock
2022-04-30 17:57:57 +08:00
Joshua Chen
f063e9add5
chore: upgrade dependencies (#7274)
* chore: upgrade dependencies

* remove nodemon
2022-04-30 14:32:37 +08:00
Joshua Chen
710f898703
refactor(theme-classic): multiple re-arrangements (#7273)
* refactor(theme-classic): enforce collocated JSX and module CSS

* refactor
2022-04-30 12:29:54 +08:00
Dan Roscigno
355a22907d
docs: specify Node version requirement to a minor (#7271)
* Update installation.md

I believe the current version of Docusaurus requires node 16.  With 14 I get:
```
import {program} from 'commander';
        ^^^^^^^
SyntaxError: The requested module 'commander' does not provide an export named 'program'
    at ModuleJob._instantiate (internal/modules/esm/module_job.js:92:21)
    at async ModuleJob.run (internal/modules/esm/module_job.js:107:20)
    at async Loader.import (internal/modules/esm/loader.js:179:24)
```

* Update installation.md

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-30 09:12:37 +08:00
Sébastien Lorber
2a0f105434
refactor(theme-classic): DocPage theme refactors polish (#7268) 2022-04-29 19:34:40 +02:00
Joshua Chen
41f53718c1
fix(theme-common): allow details to not provide a summary (#7267) 2022-04-29 19:33:28 +02:00
Sébastien Lorber
e053f39cf0
refactor(theme-classic): refactor TOC-related theme components (#7270)
* extract TOCItemTree component

* refactor TOCCollapsible
2022-04-29 19:32:35 +02:00
Sébastien Lorber
3bef88232f
refactor: extract useSkipToContent() (#7269) 2022-04-29 19:16:02 +02:00
Sébastien Lorber
fe286f1833
misc: add links section to PR template (#7266)
* add links section to PR template

* wording

* wording

* update template

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-29 18:49:05 +02:00
Elias Papavasileiou
3b1170eb44
feat: Docusaurus ESLint plugin to enforce best Docusaurus practices (#7206)
* feat: add eslint plugin

* refactor

* add tests

* fixups!

* fix(no-dynamic-i18n-messages): make translate() recognize template literals

* refactor: rename rule no-dynamic-i18n-messages --> string-literal-i18n-messages

* feat: add ignoreStrings option and refactor

* docs: migrate docs to /docs/api/plugins

* docs: fix anchor links in README.md

* fix: add some ignored strings

* docs: update eslint-plugin docs

* fix: update README link

* docs: various updates

- Reorder sidebar entries
- Fix title size
- Use Markdown file paths
- Simplify relative links

* address reviews

* wording polish

* add npmignore

* fix all internal warnings

* doc improvements

* fix test

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-30 00:04:25 +08:00