Sébastien Lorber
730ce485ba
feat(theme): make it possible to provide your own page title formatter ( #11090 )
Argos CI / take-screenshots (push) Has been cancelled
Build Hash Router / Build Hash Router (push) Has been cancelled
Canary Release / Publish Canary (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Continuous Releases / Continuous Releases (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (18.0) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (20) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (22) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Has been cancelled
E2E Tests / E2E — npm (push) Has been cancelled
E2E Tests / E2E — pnpm (push) Has been cancelled
2025-04-11 19:16:17 +02:00
Sébastien Lorber
f9825af43e
refactor: prepare types for React 19 ( #10746 )
2024-12-06 18:03:04 +01:00
Sébastien Lorber
026a317fc4
refactor(docs): theme-common shouldn't depend on docs content ( #10316 )
2024-07-23 10:50:07 +02:00
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 ( #8288 )
...
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Sébastien Lorber
88b6f5fc68
docs: v2 docs should discourage the usage of a lower-case MDX component (will not work in v3) ( #8779 )
2023-03-16 15:23:55 +01:00
Devansu Yadav
90e7e321d1
feat(eslint-plugin): new prefer-docusaurus-heading rule ( #8384 )
2023-01-19 17:08:24 +01:00
Sébastien Lorber
6f63ffe0a3
refactor(theme): split admonitions, make swizzle easier, better retrocompatibility ( #7945 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-07 17:49:44 +02:00
Sébastien Lorber
79360c6ae6
docs: publish 2.0.0 release blog post + adapt website for the launch ( #7863 )
2022-08-01 07:51:03 +02:00
Sébastien Lorber
9473508c33
refactor(theme-common): split package into public/internal API entrypoints ( #7660 )
...
* add theme-common/internal export
* Split @docusaurus/theme-common into public/internal apis
* fixes
* public <-> private
* public <-> private
* public <-> private
* fix
* add "removeThemeInternalReexport" CI script
* :s windows CI check not working: not that useful
* remove bad import
* refactors
* reorder
* make useBackToTopButton internal
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-24 11:21:27 +02:00
Joshua Chen
8e3e89d9ff
docs: add link from every category index page to the guide page ( #7665 )
2022-06-23 13:46:59 +02:00
Joshua Chen
bac292d84b
docs: document MDXComponents scope ( #7503 )
...
* docs: document MDXComponents scope
* address reviews
* add info
2022-05-26 21:50:50 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting ( #7477 )
2022-05-24 15:40:26 +08:00
Joshua Chen
2d94d575a1
refactor: make entire project typecheck with root tsconfig ( #7466 )
2022-05-23 12:54:25 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08: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
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
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
Sébastien Lorber
e97dc0d37e
refactor(theme-classic): split sidebar into smaller parts ( #6844 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-10 16:55:30 +01:00
Joshua Chen
7ec44bb32c
refactor(theme-classic): replace color mode toggle with button; remove switchConfig ( #6771 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-03-02 15:57:17 +01:00
Joshua Chen
0d14470d54
refactor: unify export directive style ( #6751 )
2022-02-24 17:25:17 +08:00
Joshua Chen
b89d93fab5
refactor: recommend using data-theme without html element selector ( #6668 )
...
* refactor: recommend using data-theme without html element selector
* simplify site CSS
* refactor
2022-02-14 10:23:42 +08:00
Joshua Chen
d0b4aaffed
fix(website): update colors correctly when palette is only customized in one color mode ( #6448 )
2022-01-23 14:29:32 +08:00
Joshua Chen
abdcad7316
feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator ( #5822 )
...
* docs: update website palette to pass WCAG test
* Darker palette in light mode
* Fix CodeBlock
* Fix front page
* Fix announcement color
* Unify primary color
* Add contrast check in website
* Fix color input not updating
* Use website for preview; allow changing background
* Persist in localStorage
* Fixes
* Fix SSR
* Edit dark mode separately
* Fix light mode palette
* Fix storage reset
* Fix CSS
* Fix
* fix toggling when not on styling-layout
* require 100% lighthouse accessibility score
* use sessionStorage
* refactor
* tweak light color
* update comments
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-20 14:51:18 +08:00
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs ( #6369 )
2022-01-15 16:33:09 +08:00
Joshua Chen
cb1aa30286
refactor: enforce type import specifiers ( #6230 )
...
* refactor: enforce type import specifiers
* fix
* Upgrade esbuild
* Fix (haha)
2021-12-31 21:17:09 +08:00
Sébastien Lorber
7adc1c0cdb
test: ensure consistent CSS ordering ( #6222 )
2021-12-30 14:26:26 +01:00
Joshua Chen
8cd593379c
docs: fix react live scope button color in dark mode ( #6191 )
2021-12-25 16:50:14 +08:00
Joshua Chen
fcaa94695d
fix(core): do not apply theme-init alias to user component ( #5983 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:59:45 +01:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps ( #5963 )
...
* chore: upgrade ESLint related deps
* Upgrade TS
* Fix lock
* Bump Babel
* Update config
2021-11-18 21:15:37 +08:00
Joshua Chen
e0127c66be
chore(website): enable eslint in website ( #5889 )
...
* chore: enable eslint in website
* Fixes
* prettier users
2021-11-06 19:04:45 +08:00
Sébastien Lorber
f40ce05102
refactor: clean Canny integration + rename 'Feedback' to 'Feature Requests' + improve TS doc page ( #5389 )
...
* Better Canny integration
* Add missing netlify redirects
* polish
* TS doc: mention it's possible to use JSDoc in config
* issue templates: use /feature-requests new url
2021-08-20 11:42:13 +02:00
Joshua Chen
6c21061e34
refactor(website): convert website to TypeScript ( #5328 )
...
* Initial work
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor changes
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix error
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* This looks better
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Address suggestions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better context typing
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update edit URL
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 11:38:33 +02:00
Alexey Pyltsyn
30d7408815
refactor(v2): various markup improvements ( #3763 )
2020-11-17 02:15:22 +03:00
Manuel Cepeda
e118fcd4e1
fix(v2): website feedback page hydration bug ( #3269 )
2020-08-12 11:43:52 +02:00
Sam Zhou
5ccd24cc1f
feat(v2): Support swizzling TypeScript components ( #2671 )
...
* feat(v2): Support swizzling TypeScript components
* Add tsc --noEmit to tsc script in theme-classic
Now everything can pass the type checker! (although still a lot of any)
* Add tsconfig and types.d.ts to website
Improve developer experience.
As an example, I converted NotFound to tsx
* Apply type annotation suggestions
* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined
* Fix tsc
* Add module declaration for @theme-original/*
* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
Sébastien Lorber
953abd8154
feat(v2): allow adding components to react-live scope ( #2826 )
...
* feat(v2): add components to react-live scope (#2807 )
* fix admonition issue + improve react-live scope doc
* fix again admonition :(
* remove forwarding of mdx components to react-live scope (for now)
* remove useless dep
2020-06-04 15:18:42 +03:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Endi
71aefbcddc
chore(v2): make feedback page accessible, not 404 ( #1695 )
...
* chore(v2): make feedback page accessible, not 404
* hack
2019-07-24 00:28:12 +07:00