Joshua Chen
115212c2ba
docs: add theme-common to API docs
2022-05-09 23:26:10 +08:00
Joshua Chen
c3880cc342
refactor(create): clean up logic when prompting for unspecified arguments ( #7374 )
2022-05-08 22:00:28 +08:00
Joshua Chen
7c9892888d
refactor: normalize error logging ( #7370 )
2022-05-08 13:40:34 +08:00
Joshua Chen
87c7639a52
fix(cli): output correct path when swizzling bare-file component in subfolder ( #7369 )
...
* fix(cli): output correct path when swizzling bare-file component in subfolder
* fix snapshot
2022-05-08 13:23:40 +08:00
Joshua Chen
f29bb73300
fix(core): make error boundary fallback a component instead of a callback ( #7368 )
2022-05-07 22:35:57 +08:00
Joshua Chen
5bc50ff71f
chore: upgrade dependencies ( #7366 )
2022-05-07 19:46:21 +08:00
Joshua Chen
c0bd145a29
fix(theme-classic): resolve customCss from site dir ( #7363 )
2022-05-07 18:57:35 +08:00
Michael Hughes
204b9a386f
fix(core): allow githubPort in config validation ( #7360 )
...
* Update configValidation.ts
Proposed fix for #7359
* add test case
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-07 13:41:45 +08:00
Romain Dejoux
e32ff04d93
fix(types): declare missing peerDependencies
2022-05-06 17:12:04 +08:00
Sébastien Lorber
26df8c83ce
chore: prepare v2.0.0-beta.20 release ( #7347 )
2022-05-05 20:26:48 +02:00
Sébastien Lorber
dfe743c660
fix: avoid flash of page scrolling to top on refresh ( #7342 )
2022-05-05 19:39:10 +08:00
Joshua Chen
49a9f0345c
fix(theme-classic): properly highlight code block line numbers ( #7341 )
2022-05-05 18:07:46 +08: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
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
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
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
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
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
53564f33ab
refactor(core): prefetch/preload refactor ( #7282 )
2022-05-02 12:56:58 +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
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
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
Joshua Chen
ae788c536f
feat(core): rework client modules lifecycles, officially make API public ( #6732 )
2022-04-29 15:11:20 +02:00
Joshua Chen
2429bfbd59
refactor(cli): normalize the application of default option values ( #7220 )
...
* refactor(cli): normalize default value application
* improve help text
2022-04-29 12:09:03 +02:00
Sébastien Lorber
6265f6dabb
feat: custom navbarItem types (workaround) ( #7231 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-29 11:23:46 +02:00
JMW
7073cc3462
fix: pass pollOptions to webpack ( #7180 )
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-29 10:48:18 +02:00
Joshua Chen
d2562a4434
refactor: normalize Markdown linkification behavior, elaborate in documentation ( #7248 )
...
* refactor: normalize Markdown linkification behavior, elaborate in documentation
* fix broken links
* allow links to be relative to site root
* fix test
* minor doc update
* Update website/docs/guides/markdown-features/markdown-features-links.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-29 11:36:39 +08:00
Joshua Chen
a30daa1530
chore: remove baseUrl from tsconfig ( #7258 )
...
* chore: remove baseUrl from tsconfig
* ?
2022-04-28 22:03:25 +08:00
Joshua Chen
9a1b7217ba
chore: upgrade Jest to 28; add GitHub-actions reporter ( #7243 )
2022-04-27 23:47:59 +08:00
Joshua Chen
10a5ebecec
fix(content-docs): make category index text translatable ( #7233 )
2022-04-27 23:40:15 +08:00
Joshua Chen
67faa686e8
refactor: semantic markup improvement, fix validation warnings ( #7244 )
...
* refactor: semantic markup improvement, fix validation warnings
* change section/article a bit
2022-04-26 20:15:45 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies ( #7232 )
2022-04-23 11:55:01 +08:00
Joshua Chen
c4e92c89e8
fix(core): prevent 404 when accessing /page.html ( #7184 )
2022-04-22 17:44:11 +02:00
Alexey Pyltsyn
4e4aa6add7
feat(theme-classic): toggle code wrap button ( #7036 )
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-04-22 14:50:27 +02:00