docusaurus/packages/docusaurus-theme-common/src/utils
Joshua Chen ee6ebc4877
refactor: better typing + remove unnecessary eslint-disable (#5335)
* Initial work

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix a few errors

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Restore default value

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Update docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Use custom route config

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Address a few suggestions

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Revert logo change

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Restore key

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Oops

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Remove use of any

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Remove eslint-disable

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Put type reference back

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Remove

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 16:07:17 +02:00
..
__tests__ fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
docsPreferredVersion fix: fix constant value import (#5297) 2021-08-05 14:54:09 +02:00
ThemeClassNames.ts refactor(v2): rename class main-docs-wrapper to docs-wrapper (#4619) 2021-04-15 18:56:41 +02:00
announcementBarUtils.tsx refactor: reduce ESLint warnings / better typing (#5242) 2021-07-29 17:59:38 +02:00
codeBlockUtils.ts fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
docsUtils.ts feat(v2): @docusaurus/theme-common (#3775) 2020-11-18 16:00:51 +01:00
generalUtils.ts refactor: better typing + remove unnecessary eslint-disable (#5335) 2021-08-11 16:07:17 +02:00
mobileSecondaryMenu.tsx feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
pathUtils.ts chore(v2): fix several lint warnings, add missing types, cleanup (#3844) 2020-11-30 16:42:58 +01:00
searchUtils.ts chore(v2): fix several lint warnings, add missing types, cleanup (#3844) 2020-11-30 16:42:58 +01:00
storageUtils.ts refactor(v2): cleanup console output (#4979) 2021-06-16 11:37:28 +02:00
useAlternatePageUtils.ts style(v2): reduce number of ESLint warnings (#4993) 2021-06-24 18:12:48 +02:00
useLocalPathname.ts refactor(v2): mobile dropdown navbar: expand when subitem become active (#5168) 2021-07-14 19:42:47 +02:00
useLocationChange.ts fix(v2): ignore hash changes in useChangeRoute hook (#5023) 2021-06-22 12:41:58 +02:00
usePluralForm.ts style(v2): reduce number of ESLint warnings (#4993) 2021-06-24 18:12:48 +02:00
usePrevious.ts fix(v2): ignore hash changes in useChangeRoute hook (#5023) 2021-06-22 12:41:58 +02:00
useThemeConfig.ts feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00