docusaurus/packages/docusaurus-theme-common/src/utils
Joshua Chen 9145ae88cc
chore: disable string escaping in snapshots (#7131)
2022-04-08 11:23:19 +08:00
..
__tests__ chore: disable string escaping in snapshots (#7131) 2022-04-08 11:23:19 +08:00
ThemeClassNames.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
codeBlockUtils.ts test: improve test coverage (#7113) 2022-04-05 14:09:19 +08:00
docsUtils.tsx refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
footerUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
generalUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
historyUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
jsUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
metadataUtils.tsx refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
navbarUtils.tsx feat(theme-classic): show blog sidebar on mobile (#7012) 2022-03-30 09:15:54 +08:00
reactUtils.tsx feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
regexpUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
routesUtils.ts refactor(core): refactor routes generation logic (#7054) 2022-03-29 16:37:29 +08:00
scrollUtils.tsx fix(theme-common): use native scrolling when smooth behavior set in CSS (#7057) 2022-03-29 18:02:09 +08:00
searchUtils.ts refactor(theme-classic): extract doc-related navbar items' logic to theme-common (#7067) 2022-03-30 14:50:04 +08:00
storageUtils.ts refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
tagsUtils.ts refactor(content-{blog,docs}): unify handling of tags (#7117) 2022-04-07 15:58:21 +02:00
tocUtils.ts refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
useAlternatePageUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useLocalPathname.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useLocationChange.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
usePluralForm.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useThemeConfig.ts refactor: ensure all types are using index signature instead of Record (#6995) 2022-03-25 18:06:30 +08:00