Sébastien Lorber
9c85f8689a
fix(core): optimize i18n integration for site builds + improve inference of locale config ( #11550 )
2025-11-14 13:13:05 +01:00
Zed Spencer-Milnes
43795fcabb
feat(blog): Add author social icons for bluesky, mastodon, threads, twitch, youtube, instagram ( #10768 )
...
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
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: Chas Emerick <chas@cemerick.com>
2024-12-27 12:32:25 +01:00
Sébastien Lorber
d268a20a6f
fix(core): bundler should not minimize static assets ( #10658 )
2024-11-08 18:26:37 +01:00
Sébastien Lorber
08a893a2eb
chore: add prettier-xml plugin ( #10364 )
2024-08-02 14:01:02 +02:00
Sébastien Lorber
7650829e91
chore: add lint autofix CI job ( #9604 )
2023-12-01 20:09:04 +01:00
Sébastien Lorber
5a59378e11
chore: vendor MDX deps for Jest and the MDX 2 upgrade ( #8515 )
2023-01-06 12:08:15 +01:00
Joshua Chen
b31220032b
refactor(theme-classic): migrate to tsc for build ( #7447 )
...
* refactor(theme-classic): migrate to tsc for build
* fix
2022-05-18 20:08:09 +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
39b66d82ef
feat(core): rework swizzle CLI ( #6243 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-25 14:13:15 +01:00
Pranab Das
f415da1c95
refactor: self-host KaTeX assets ( #6429 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-27 11:39:45 +01:00
Joshua Chen
14bec7cf11
feat(stylelint-copyright): autofix, stricter config ( #6374 )
...
* feat(stylelint-copyright): autofix, stricter config
* revert TS
* oops
2022-01-16 11:34:10 +08:00
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release ( #6147 )
2021-12-21 17:15:04 +01:00
Joshua Chen
68c970175a
refactor: migrate lqip-loader to TS, fix typing for Webpack Loaders ( #5779 )
2021-10-27 16:38:11 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus ( #5635 )
...
* initial create-docusaurus impl
* cleanup
* @docusaurus/init renamed to create-docusaurus
* 0.0.6
* update lockfile
* fix lint
* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute
* prettier
* add correct version
* prettier
* prettier
* prettier
* prettier
* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00
Joshua Chen
3f1f8255a2
chore: upgrade Prettier + regenerate lock file ( #5611 )
...
* Bump deps
* Run prettier
* Format docs
* Minor refactor
* Collapse objects
* Fix type
* Update lock file
2021-09-30 12:54:17 +02:00
Sébastien Lorber
b835aecaec
chore: removal of Docusaurus v1 code from master (it is now available on docusaurus-v1 branch) ( #4902 )
2021-06-10 10:54:07 +02:00
Sébastien Lorber
4d49945775
chore(v2): prepare v2.0.0.alpha-73 release ( #4628 )
...
* add changelog
* add alpha 73
* run prettier on versions file (+ ignore it as we don't care much and it's annoying when releasing)
* v2.0.0-alpha.73
2021-04-16 12:48:10 +02:00
Sébastien Lorber
3bcd0a6ab1
fix(v2): examples should use Node 14 by default on CodeSandbox + regen with alpha72 ( #4574 )
...
* codesandbox: use node 14 by default
* Regenerate examples
* Add example json files to prettierrignore
2021-04-07 18:28:06 +02:00
Sébastien Lorber
3422f80a9a
chore: simplify CI setup ( #4447 )
...
* improve ci
* improve ci
* use actions/setup-node@v2 everywhere
* run pwd for test
* debug gh action
* debug glob CI issue?
* Separate v1/v2 tests due to shell conflict
* cleanup
* test v1 change
* circleci fix
* fix test docusaurus v1 paths
* Refactor CI script names and use paths to filter actions from running unnecessary
* fix lighthouse url
* v1 tests runInBand
* try to fix v1 tests race conditions
* change rootDir for v1 tests
* minor CI improvements
2021-03-18 17:40:28 +01:00
besemuna
b99a4031c6
feat(v2): Improve the initial templates #4302 ( #4320 )
...
* feat: add getting started doc at classic inital templates
* fix: improve the contents of getting started page
* fix: fix slug routing
* fix: rename gettingStarted to getting-started and re-adjust the content
* feat: add markdown-features docs
* feat: add a page on how to create a simple document
* feat: add a page on how to create pages
* feat: add create a post doc
* feat: add thank you page with whats next
* feat : update sidebar.js
* feat : add introduction content
* feat : add self hosting content
* feat : add GitHub pages content
* fix : remove automatically deploying with github actions content
* feat : add deploying to netlify
* feat : add Translate your site
* add : Manage versions
* fix : formatted docs with prettier
* Revert "fix : formatted docs with prettier"
This reverts commit af8c0b48
* run prettier to init templates with fixes
* complete new init template
* rename manage-docs-versions
* change wording
* refresh config file
* rework init template homepage
* minor changes
Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com>
Co-authored-by: Javid <singularity.javid@gmail.com>
Co-authored-by: ShinteiMai <stevenhanselgo@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-17 15:59:01 +01:00
Bartosz Kaszubowski
9ad02ca466
chore(v1): add missing generated files from v1 to ignores ( #3872 )
2020-12-03 18:13:44 +01:00
Bartosz Kaszubowski
f37987f32f
chore(v2): fix ignore paths and Prettier commands in themes ( #3865 )
...
* chore(v2): fix Prettier ignore paths and commands in themes
* chore(ci): do not ignore v1 lib, remove old .gitignore
* chore(ci): apply tweaks also to eslint ignore
2020-12-03 11:50:03 +01:00
Bartosz Kaszubowski
7d0b451783
chore: add Yarn v2 cache directory to ignores ( #3860 )
2020-12-01 18:46:21 +01:00
Sébastien Lorber
abcd8cefd6
feat(v2): @docusaurus/theme-common ( #3775 )
...
* create base @docusaurus/theme-common package + fix Webpack client export aliases issue shadowing other theme-common package
* Move theme-classic/src/utils code to new @docusaurus/theme-common package
* add prettierignore
* fix bad test location for getDocusaurusAliases()
2020-11-18 16:00:51 +01:00
Sébastien Lorber
7cceee7e38
feat(v2): markdown pages ( #3158 )
...
* markdown pages POC
* add remark admonition, mdx provider, yarn2npm...
* pluginContentPages md/mdx tests
* pluginContentPages md/mdx tests
* add relative file path test link to showcase link problem
* fix Markdown pages issues after merge
* fix broken links found in markdown pages
* fix tests
* factorize common validation in @docusaurus/utils-validation
* add some documentation
* add using plugins doc
* minor md pages fixes
2020-07-31 16:04:56 +02:00
Anshul Goyal
a78f703366
feat(v2): v1-v2 migration cli automate migration from v1 to v2 ( #3015 )
...
* add poc for migration tool
* fix version
* fix path
* fix some type error
* fix type errors
* fix commad
* delete package.lock.json
* ignore lib folder in eslint
* ignore lib in prettier
* fix missing version
* fix sidebar in next
* use primaey color
* fix navbar link
* fix footer
* sanatize front-matter for gray-matter
* add e2e test
* fixworkflow
* add unit test
* chore(v2): fix eslint error
* refactor(v2): use descriptive variable names
* refactor(v2): refactor createProjectStructure
* refactor(v2): refactor migrateDocusaurusProject
* refactor(v2): fix eslint errors
* fix(v2): fix mistake
* use path.join
* remove console.log
* try automate migrating md file to mdx
* fix types not found
* fix types
* remove unused fixture
* use package.json for version
* add support for pages
* add support
* sanitize fortmatter only in case of special character
* chore(v2): add color to dependencies
* feat(v2): initialize config with range of color and add logs
* chore(v2): add glob dependency
* fix(v2): fix color generation
* fix(v2): fix type issue
* feat(v2): add all unknown fields to customFields
* fix(v2): fix css mistake
* fix lerna
* fix(v2): fix github actions
* feat(v2): add option flag for migrating pages
* fix special character
* remove depulicate build
* fix test
* remove unwanted file
* fix frontmatter
* remove unused file
* rerun the test
* fix links
* feat(v2): filter out more fields from customFields
* feat(v2): filter out deprecated fields from customFields
* fix items
* fix types
* merge master
* revert docs
* fix doc
* fix broken link
* fix test
* test
* fix ci
* fix ci
* fix ci
* fix ci
* fix frontmatter
* log custom fields
Co-authored-by: teikjun <teikjunhci@gmail.com>
2020-07-24 12:52:16 +02:00
Sébastien Lorber
c2bb03ab00
fix(v2): refactor color mode system ( #3012 )
...
* refactor color mode system to enable all possibilities
* fix destructuring bug
* colorMode validation + deprecation + minor name changes + doc
* rename method noFlashColorMode
* fix doc wording
* docs wording
* docs wording
* re-enable theme config merging/normalization + colorMode fixes
* document theme normalization
* code review changes
2020-06-30 12:21:20 +02:00
Sam Zhou
6e37d3fb12
feat(v2): Implement proof-of-concept Docusaurus Debug Dashboard ( #2928 )
...
* feat(v2): Implement proof-of-concept Docusaurus Debug Dashboard
* Ensure we show the exact boolean
2020-06-14 15:30:04 +08:00
Sébastien Lorber
768ed7368b
Merge branch 'master' into feature/client-side-redirects
2020-05-28 16:11:58 +02:00
Sébastien Lorber
6462e1c4da
chore: ignore /coverage folder ( #2821 )
2020-05-28 00:38:36 +08:00
Sébastien Lorber
03f4100cd4
Merge branch 'master' into feature/client-side-redirects
2020-05-26 21:04:51 +02:00
slorber
5efbe90034
prettierignore: packages/docusaurus-plugin-client-redirects/lib/
2020-05-26 19:05:11 +02:00
Alexey Pyltsyn
0ff6dd31f4
style(v2): disable Prettier checks for Markdown files of init templates ( #2792 )
2020-05-23 05:05:16 +08:00
Yangshun Tay
55e676cb25
misc: add command to run prettier on docs ( #2102 )
...
* misc: add command to run prettier on docs
* Fix GH issue template
* Fix tests
* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
Dongwoo Gim
104733914a
refactor(v2): convert `@docusaurus/plugin-ideal-image` to TypeScript ( #2011 )
...
* refactor @docusaurus/plugin-ideal-image
refactor @docusaurus/plugin-ideal-image
* Update react-ideal-image.d.ts
* Update types.ts
* Update IdealImage.tsx
* Update package.json
2019-11-30 16:09:26 -08:00
Pawel Kadluczka
c23f981f67
refactor(v2): Convert sitemap plugin to TypeScript ( #1894 )
...
* Convert sitemap plugin to TypeScript
Test - enabled the sitemap plugin in the v2 website and verified that
the sitemap is created after running `docusaurus build`.
* Addressing review comments
2019-10-27 14:44:53 +07:00
Yangshun Tay
54e9e025d8
misc(v2): remove legacy from docs
2019-10-10 19:45:50 -07:00
Yangshun Tay
c4cc7f881b
refactor(v2): add typing for pages plugin ( #1813 )
...
* refactor(v2): add typing for pages plugin
* misc: new lines
2019-10-07 22:35:58 -07:00
Endi
1591128cdd
refactor(v2): add typing for docs plugin ( #1811 )
...
* refactor(v2): add typing for docs plugin
* nits
2019-10-07 18:28:33 +07:00
Dongwoo Gim
78159f6dd5
refactor(v2): convert `@docusaurus/plugin-content-blog` to TypeScript ( #1785 )
...
* convert `@docusaurus/plugin-content-blog` to typescript
remove divided plugin
convert `@docusaurus/plugin-content-blog` to typescript
convert `@docusaurus/plugin-content-blog` to typescript
convert `@docusaurus/plugin-content-blog` to typescript
add `packages/docusaurus-plugin-content-blog/lib` to ignores
linted
refactoring type definition
fix test fails
lint
* lint
2019-09-16 23:46:57 +08:00
Endi
d61cc01217
feat(v2): @docusaurus/init package ( #1655 )
...
* feat(v2): separate v2 docusaurus/init package
* nits
* docs
* rm unwanted
* readme
2019-07-14 01:06:23 +07:00
Endi
305e698e6e
refactor(v2): migrate core to Typescript ❄️ 🌀 🐋 ( #1494 )
...
* refactor(v2): add typing for docusaurus/core
* wip: last working
* refactor(v2): add typing for @docusaurus/core
* prettier
* dont run in parallel otherwise some are uncompiled
* nits
* more typing
* more typing
* nits
* type commands
* nits
2019-05-20 09:59:04 -07:00
Endi
cbd2a589e3
refactor(v2): migrate to Typescript ❄️ 🌀 🐋 ( #1490 )
...
* refactor(v2): migrate to typescript
* scripts nits
* fix test
* nits
* nits
* tsconfig tweak
2019-05-18 11:37:35 -07:00
Endi
56cd3a22ce
chore(v2): rm flowtype ( #1444 )
2019-05-09 18:32:56 +07:00
Endi
c2ebde997a
refactor(v2): add flowtype + refactor test ( #1443 )
...
* chore(v2): add flow setup
* nits
* fix
* add flow-typed
* ignore compiled library
* fix error
* fix typing
* fix module name mapper
* setup for @docusaurus/core
* dont try remove type without @flow
* fix can't find @docusaurus/utils
* fix test
* remove obscure relative paths
* more refactoring
* add typing for server/load/theme.js
* no need to ship .flow source
2019-05-08 23:03:52 +07:00
Yangshun Tay
398d7c7ae4
feat(v2): pluginify pages ( #1278 )
...
* feat(v2): convert pages into a plugin
* fix: update tests
2019-03-13 13:08:12 -07:00
Yangshun Tay
211e04f409
refactor(v2): shift generated files out of core into website dir
2019-02-24 15:20:58 -08:00
Yangshun Tay
63851a6f14
chore(v2): remove prettier from specific projects
2019-02-23 14:28:32 -08:00
Yangshun Tay
9d4a5d5359
Prettify all JavaScript files ( #964 )
...
* Prettify all JavaScript files
* Make trailingComma all
* Delete v2/.prettierignore
* Remove v2 Prettier commands in package.json
2018-09-17 15:34:55 +08:00
endiliey
48f273e68f
v2: ignore v2 folder for now
2018-09-17 12:06:23 +08:00