-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce support for Docusaurus 3.5.0+ (#919)
* upgrade to docusaurus 3.5.2 * refactor imports and add plugin-content-docs declaration * add module mapper for neotraverse/legacy
- Loading branch information
Showing
9 changed files
with
1,020 additions
and
1,115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/docusaurus-theme-openapi-docs/src/plugin-content-docs.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* ============================================================================ | ||
* Copyright (c) Palo Alto Networks | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* ========================================================================== */ | ||
|
||
/// <reference types="@docusaurus/theme-classic" /> | ||
|
||
declare module "@docusaurus/plugin-content-docs/client" { | ||
export function DocProvider({ | ||
children, | ||
content, | ||
}: { | ||
children: ReactNode; | ||
content: PropDocContent; | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 0 additions & 84 deletions
84
packages/docusaurus-theme-openapi-docs/src/theme/ApiItem/Layout/index.tsx
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
packages/docusaurus-theme-openapi-docs/src/theme/ApiItem/Layout/styles.module.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.