-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump prism-react-renderer from 1.3.5 to 2.0.3 in /website
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.3.5 to 2.0.3. - [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases) - [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/[email protected]) --- updated-dependencies: - dependency-name: prism-react-renderer dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
- Loading branch information
1 parent
dabf2ab
commit cf3898e
Showing
3 changed files
with
128 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,121 @@ | ||
const lightCodeTheme = require("prism-react-renderer/themes/github"); | ||
const darkCodeTheme = require("prism-react-renderer/themes/dracula"); | ||
const { | ||
themes: { github: lightCodeTheme, dracula: darkCodeTheme }, | ||
} = require("prism-react-renderer"); | ||
|
||
// With JSDoc @type annotations, IDEs can provide config autocompletion | ||
/** @type {import('@docusaurus/types').DocusaurusConfig} */ | ||
(module.exports = { | ||
title: "TwbsHelper", | ||
tagline: | ||
"Laminas (formerly Zend Framework) module for easy integration of the Twitter Bootstrap v4+", | ||
url: "https://neilime.github.io", | ||
baseUrl: "/twbs-helper-module/", | ||
trailingSlash: true, | ||
onBrokenLinks: "ignore", | ||
onBrokenMarkdownLinks: "warn", | ||
favicon: "img/favicon.ico", | ||
organizationName: "neilime", | ||
projectName: "twbs-helper-module", | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
( | ||
module.exports = { | ||
title: "TwbsHelper", | ||
tagline: | ||
"Laminas (formerly Zend Framework) module for easy integration of the Twitter Bootstrap v4+", | ||
url: "https://neilime.github.io", | ||
baseUrl: "/twbs-helper-module/", | ||
trailingSlash: true, | ||
onBrokenLinks: "ignore", | ||
onBrokenMarkdownLinks: "warn", | ||
favicon: "img/favicon.ico", | ||
organizationName: "neilime", | ||
projectName: "twbs-helper-module", | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
sidebarPath: require.resolve("./sidebars.js"), | ||
editUrl: "https://neilime/twbs-helper-module/edit/main/website/", | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css"), | ||
}, | ||
}), | ||
], | ||
], | ||
|
||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
docs: { | ||
sidebarPath: require.resolve("./sidebars.js"), | ||
editUrl: "https://neilime/twbs-helper-module/edit/main/website/", | ||
navbar: { | ||
title: "TwbsHelper", | ||
logo: { | ||
alt: "TwbsHelper Logo", | ||
src: "img/logo.svg", | ||
}, | ||
items: [ | ||
{ | ||
type: "doc", | ||
docId: "installation", | ||
position: "left", | ||
label: "Installation", | ||
}, | ||
{ | ||
type: "doc", | ||
docId: "usage/intro", | ||
position: "left", | ||
label: "Usage", | ||
}, | ||
{ | ||
href: "https://github.com/neilime/twbs-helper-module", | ||
label: "GitHub", | ||
position: "right", | ||
}, | ||
], | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css"), | ||
footer: { | ||
style: "dark", | ||
links: [ | ||
{ | ||
title: "Docs", | ||
items: [ | ||
{ | ||
label: "Installation", | ||
to: "/docs/installation", | ||
}, | ||
{ | ||
label: "Usage", | ||
to: "/docs/usage", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "ESCEMI", | ||
items: [ | ||
{ | ||
label: "www.escemi.com", | ||
href: "https://www.escemi.com/", | ||
}, | ||
{ | ||
label: "Linkedin", | ||
href: "https://www.linkedin.com/company/escemi", | ||
}, | ||
{ | ||
label: "Malt", | ||
href: "https://www.malt.fr/profile/emilienescalle", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "Github", | ||
href: "https://github.com/escemi-tech", | ||
}, | ||
{ | ||
label: "BuildAndRun", | ||
href: "https://www.build-and-run.fr/", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} TwbsHelper.`, | ||
}, | ||
}), | ||
], | ||
], | ||
|
||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
navbar: { | ||
title: "TwbsHelper", | ||
logo: { | ||
alt: "TwbsHelper Logo", | ||
src: "img/logo.svg", | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme, | ||
additionalLanguages: ["php"], | ||
}, | ||
items: [ | ||
{ | ||
type: "doc", | ||
docId: "installation", | ||
position: "left", | ||
label: "Installation", | ||
}, | ||
{ | ||
type: "doc", | ||
docId: "usage/intro", | ||
position: "left", | ||
label: "Usage", | ||
}, | ||
{ | ||
href: "https://github.com/neilime/twbs-helper-module", | ||
label: "GitHub", | ||
position: "right", | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: "dark", | ||
links: [ | ||
{ | ||
title: "Docs", | ||
items: [ | ||
{ | ||
label: "Installation", | ||
to: "/docs/installation", | ||
}, | ||
{ | ||
label: "Usage", | ||
to: "/docs/usage", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "ESCEMI", | ||
items: [ | ||
{ | ||
label: "www.escemi.com", | ||
href: "https://www.escemi.com/", | ||
}, | ||
{ | ||
label: "Linkedin", | ||
href: "https://www.linkedin.com/company/escemi", | ||
}, | ||
{ | ||
label: "Malt", | ||
href: "https://www.malt.fr/profile/emilienescalle", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "Github", | ||
href: "https://github.com/escemi-tech", | ||
}, | ||
{ | ||
label: "BuildAndRun", | ||
href: "https://www.build-and-run.fr/", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} TwbsHelper.`, | ||
}, | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme, | ||
additionalLanguages: ["php"], | ||
}, | ||
}), | ||
}); | ||
}), | ||
} | ||
); |
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