Ekaterina Mozheiko
7b3daee102
fix(theme-classic): reset default style for task lists ( #5643 )
...
* fix(theme-classic): fix markdown list style
* fix(theme-classic): change style for consistency
Co-authored-by: Ekaterina Mozheiko <emojeyko@sberhealth.ru>
2021-10-04 02:15:10 +03:00
Gabriel T. Nardy
46ecda748d
docs: add nanos world docs to showcase ( #5638 )
...
* Added nanos world docs
* Added nanos-world showcase image
2021-10-03 17:05:07 +03:00
Mahdi Hamldar
730de9f025
refactor: update Persian translation with the latest version ( #5640 )
...
* Synchronize Persian language with the latest base version
* style: synchronize Persian language with the latest base version
2021-10-03 01:28:12 +03:00
Alexey Pyltsyn
4260768c53
misc: update base translation + remove extra char ( #5639 )
2021-10-02 18:36:30 +03:00
Sébastien Lorber
a0c2c52829
chore: remove unused Bootstrap theme ( #5634 )
...
* remove package
* remove bootstrap from doc
* remove bootstrap init template + examples
* remove bootstrap preset
* remaining bootstrap refs
* update lockfile
2021-10-01 17:44:34 +02:00
Alexey Pyltsyn
a96878048d
refactor: standardize using media queries ( #5630 )
...
* refactor: standardize using media queries
* Better reusing
2021-10-01 16:09:51 +02:00
Sébastien Lorber
afff053cc9
chore: prepare Algolia migration ( #5632 )
...
* prepare Algolia migration
* Update website/docs/search.md
Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
2021-10-01 15:58:24 +02:00
Sébastien Lorber
9d129631b6
fix: text/link hydration bug ( #5629 )
2021-09-30 19:54:40 +02:00
Bharat Middha
09550b0535
feat: properly type-check the Docusaurus config of new sites ( #5589 )
...
* fix: makes types DocusaurusConfig optional to match docs
* add UserDocusaurusConfig with required keys for user config
* convert UserDocusaurusConfig to use util type
* Docusaurus website config should be type-checked by CI + fix all existing issues
* add doc for config typechecking
* Update template configs for TS autocompletion
* fix last config typechecking bugs
* reapply prettier
* reapply prettier-docs
* Fix TS doc: add missing ()
* fix some docu plugin types
* add "const config" for simpler jsdoc annotation
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-30 17:49:44 +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
Alexey Pyltsyn
4dbc458a22
refactor: various TOC improvements ( #5627 )
2021-09-30 12:22:32 +02:00
Alexey Pyltsyn
725e7e3da1
chore: fix warning after build ( #5628 )
2021-09-30 12:16:55 +02:00
Alexey Pyltsyn
3ea96b8e00
chore: upgrade Terser-related dependencies ( #5609 )
2021-09-29 11:57:11 +02:00
Erick Zhao
c86dfbda61
feat(v2): allow specifying TOC max depth (themeConfig + frontMatter) ( #5578 )
...
* feat: add all TOC levels to MDX loader
* feat: add theme-level config for heading depth
* test: add remark MDX loader test
* fix: limit maxDepth validation to H2 - H6
* refactor: set default `maxDepth` using `joi`
* refactor: `maxDepth` -> `maxHeadingLevel
* refactor: invert underlying TOC depth API
* refactor: make TOC algorithm level-aware
* feat: add support for per-doc TOC heading levels
* feat: support document-level heading levels for blog
* fix: correct validation for toc level frontmatter
* fix: ensure TOC doesn't generate redundant DOM
* perf: simpler TOC heading search alg
* docs: document heading level props for `TOCInline`
* Update website/docs/guides/markdown-features/markdown-features-inline-toc.mdx
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* docs: fix docs (again)
* create dedicated test file for heading searching logic: exhaustive tests will be simpler to write
* toc search: add real-world test
* fix test
* add dogfooding tests for toc min/max
* add test for min/max toc frontmatter
* reverse min/max order
* add theme minHeadingLevel + tests
* simpler TOC rendering logic
* simplify TOC implementation (temp, WIP)
* reverse unnatural order for minHeadingLevel/maxHeadingLevel
* add TOC dogfooding tests to all content plugins
* expose toc min/max heading level frontmatter to all 3 content plugins
* refactor blogLayout: accept toc ReactElement directly
* move toc utils to theme-common
* add tests for filterTOC
* create new generic TOCItems component
* useless css file copied
* fix toc highlighting className conflicts
* update doc
* fix types
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-29 11:19:11 +02:00
Dr-Electron
caba1e4908
docs: Add IOTA wiki to showcase ( #5610 )
...
* Add IOTA wiki
* Update website/src/data/users.tsx
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-09-28 16:35:57 +02:00
Alexey Pyltsyn
b62a12bfc6
chore: upgrade dependencies ( #5608 )
...
* chore: upgrade dependencies
* Revert github-slugger
* Fixes
* Update snapshots
* Update Babel deps
2021-09-24 16:36:41 +02:00
Alexey Pyltsyn
a52d499218
fix: do not use ideal image plugin in dev env ( #5540 )
...
* fix: do not use ideal image plugin in dev env
* Back to JS
2021-09-23 15:41:12 +02:00
Joshua Chen
452f85b5a3
refactor(core): enforce noImplicitAny ( #5605 )
...
* Initial work
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix errors
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove .d.ts files
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-09-23 15:25:16 +02:00
Alexey Pyltsyn
e66e045b74
fix(docs): create tags route if only tags exists ( #5606 )
2021-09-23 13:02:54 +02:00
Jason Bosco
81877d7582
docs: add additional search options, typesense and local search ( #5489 )
...
* docs: add additional search bar options - typesense and local search
* docs: add typesense docsearch to community resources
* improve search doc, explain better where to get support
* improve search doc
* improve search doc
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-22 17:41:27 +02:00
Joshua Chen
e1f4677d04
fix(module-type-aliases): move @type packages to dependencies ( #5601 )
...
* Move devDeps to deps
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update docs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update init template
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-09-22 14:49:25 +02:00
Alexey Pyltsyn
02822b8a42
refactor: use only one close icon ( #5487 )
2021-09-22 13:36:37 +02:00
Alexey Pyltsyn
8a85031078
refactor: use CSS Modules for styles of toggle ( #5592 )
2021-09-22 12:31:05 +02:00
Joshua Chen
89cb975cc4
docs(website): document npm2yarn plugin + use new Tabs API everywhere ( #5590 )
...
* Update docs
* Bad grammar
* Add code highlight
2021-09-22 12:25:21 +02:00
Sébastien Lorber
b403356dbd
fix(preset-classic): fix TS build issue ( #5603 )
2021-09-22 12:15:39 +02:00
Stefan Norberg
dc5ec324dc
feat: make Webpack url-loader limit configurable (env variable) ( #5498 )
...
* Make urlLoaderLimit in the webpack config user-overridable via environment variable 'URL_LOADER_LIMIT'.
* Apply suggestions from code review
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* Changes as per @slorber's suggestions:
* moving it to packages/docusaurus/src/constants.ts
* name it WEBPACK_ URL_LOADER_LIMIT
* add comment to say it's temporary, link to this PR/issue
Co-authored-by: stnor <stefan@selessia.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-09-22 11:55:42 +02:00
Whirl
57c7a302fa
docs: Add whirl.codes to showcase ( #5591 )
...
* added for whirl
* Update users.tsx
* Delete unknown[2].png
* Add files via upload
* Update users.tsx
2021-09-22 11:41:55 +02:00
Joshua Chen
19b27ef73b
refactor(plugin-google-gtag, plugin-google-analytics): migrate packages to TS ( #5561 )
...
* migration
* Move to devDeps
* Use type assertion
2021-09-22 11:36:04 +02:00
Joshua Chen
2ef70cb806
refactor(preset-classic): migrate preset-classic to TypeScript ( #5579 )
2021-09-22 11:09:52 +02:00
Alexey Pyltsyn
578470a24c
fix: ignore code block lines when create excerpt ( #5495 )
2021-09-22 10:15:46 +02:00
Alexey Pyltsyn
ebf81b6ef6
fix: install deps for new project via Yarn properly ( #5490 )
2021-09-22 10:13:01 +02:00
Alexey Pyltsyn
29e06d0677
feat: make tags route path configurable ( #5545 )
2021-09-21 19:19:18 +02:00
Alexey Pyltsyn
ba402e9e63
fix: pin react-live due to possible mismatch React ( #5556 )
2021-09-21 18:33:55 +02:00
Joshua Chen
a839966cd2
polish: remove unused eslint-disable ( #5560 )
...
* fix eslint
* Add report unused disable to CI
* Fix two anys
2021-09-21 18:07:54 +02:00
Alexey Pyltsyn
911d6b1087
fix: highlight active item in recent post list ( #5571 )
2021-09-21 17:07:24 +02:00
dependabot[bot]
6d5d84ca6a
chore: bump axios from 0.21.1 to 0.21.4 ( #5597 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 10:06:44 +03:00
Joshua Chen
e0aa87fe7f
refactor(core): type improvements for PendingNavigation
( #5580 )
...
* Fix type
* Completely fix
* Fix type
2021-09-21 10:05:42 +03:00
dependabot[bot]
7f770ae621
chore: bump prismjs from 1.24.0 to 1.25.0 ( #5595 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:56:47 +03:00
dependabot[bot]
212b10e3ac
chore: bump tmpl from 1.0.4 to 1.0.5 ( #5596 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:56:37 +03:00
headline-design
73b845e915
docs: add Pipeline UI to showcase ( #5574 )
...
* Update users.tsx
* Update users.tsx
Specify website/source for PIPELINE-UI
* Add files via upload
add pipeline-ui to showcase
* add pipeline-ui to showcase
* Update users.tsx
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-19 09:45:47 +03:00
Joshua Chen
e274c72642
docs: fix more references to Discord channels ( #5585 )
2021-09-19 09:45:21 +03:00
Palash Shrivastava
ceff278449
docs: add Blogasaurus to showcase ( #5572 )
...
* Update users.tsx
Add Blogasaurus
* add blogasaurus image
* update filename
* delete 'PNG' file
* add 'png' file
* update users.tsx with 'png' file
2021-09-19 09:44:26 +03:00
Alexey Pyltsyn
19302c4913
docs: clarify MDX version used ( #5575 )
...
* docs: clarify MDX version used
* Update MDX Playground link
2021-09-17 21:27:00 +03:00
Joshua Chen
cc75e85adb
docs: update all Discord links ( #5581 )
2021-09-17 21:25:31 +03:00
Hugh Lilly
d1aba4ede5
misc: fix ungrammatical sentence about 5-min tutorial ( #5573 )
2021-09-16 12:54:25 +03:00
Chris Chinchilla
beedadd498
docs: fix code example ( #5566 )
2021-09-15 18:19:53 +03:00
Jordan Lee
546bf5db4c
docs: minor grammatical correction ( #5559 )
2021-09-15 18:18:51 +03:00
Don
b6d0378704
refactor: adjust styling of back top top button ( #5469 )
...
* refactor: css variables for back to top button
* refactor: adjust back to top button styling
* Update from PR feedback
* err... darker.
* swap secondary color for emphasis scale
* reduce contrast further
* Add new translations
* Cleanup CSS
* Remove active state
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-11 16:09:58 +03:00
Kyriet
9a089d4886
docs: add note about partials on Create doc page ( #5543 )
2021-09-11 12:42:17 +03:00
Alexey Pyltsyn
453d9c099d
fix: remove deprecated createRequireFromPath ( #5496 )
2021-09-11 12:39:33 +03:00