docusaurus/packages/docusaurus-theme-common/src/utils
Joshua Chen c387a177e8
refactor(theme-common): unify missing context errors (#6826)
* refactor(theme-common): unify missing context errors

* update test

* more robust
2022-03-03 22:26:56 +08:00
..
__tests__ refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
docsPreferredVersion refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
ThemeClassNames.ts feat(docs,theme-classic): docs breadcrumbs (#6517) 2022-02-16 19:02:58 +01:00
announcementBarUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
codeBlockUtils.ts refactor: enforce named capture groups; clean up regexes (#6524) 2022-02-01 17:43:15 +08:00
colorModeUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
docSidebarItemsExpandedState.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
docsUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
generalUtils.ts refactor: add blank lines below all copyright headers (#6071) 2021-12-09 11:53:46 +08:00
historyUtils.ts refactor: reduce exported members of docusaurus router (#6651) 2022-02-11 12:16:13 +01:00
jsUtils.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00
mobileSecondaryMenu.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
pathUtils.ts fix(theme-common): isSamePath should be case-insensitive (#6758) 2022-02-25 14:58:54 +01:00
reactUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
regexpUtils.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00
routesUtils.ts fix(theme-common): breadcrumbs home bug in docs-only (#6824) 2022-03-03 20:20:02 +08:00
scrollUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08: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: unify error handling behavior (#6755) 2022-02-25 15:07:13 +08:00
tabGroupChoiceUtils.tsx refactor(theme-common): unify missing context errors (#6826) 2022-03-03 22:26:56 +08:00
tagsUtils.ts polish: remove unused eslint-disable (#5560) 2021-09-21 18:07:54 +02:00
tocUtils.ts refactor: make MDX export a flat TOC list instead of tree (#6729) 2022-02-23 15:12:04 +01:00
useAlternatePageUtils.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00
useContextualSearchFilters.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08: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(theme-common): do not run useLocationChange when hot reloading (#6696) 2022-02-17 08:41:15 +08:00
usePluralForm.ts refactor: unify error handling behavior (#6755) 2022-02-25 15:07:13 +08:00
usePrevious.ts chore: Enable ESLint rules of hooks + fix new lint errors (#5714) 2021-10-20 16:09:52 +02:00
useTOCHighlight.ts fix(theme-classic): temporarily disable toc heading autoscrolling (#6748) 2022-02-24 11:28:17 +01:00
useThemeConfig.ts refactor(theme-classic): replace color mode toggle with button; remove switchConfig (#6771) 2022-03-02 15:57:17 +01:00