Skip to content

Commit

Permalink
chore: update to docusaurus v3.0.0
Browse files Browse the repository at this point in the history
fixes #4581
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Nov 21, 2023
1 parent 74a7cbe commit 382538a
Show file tree
Hide file tree
Showing 5 changed files with 3,522 additions and 2,661 deletions.
4 changes: 2 additions & 2 deletions website/docs/installation/macos-install.md
Expand Up @@ -11,7 +11,7 @@ You can install Podman Desktop on Mac:
1. Using the .dmg file
2. Using Brew

:::infoPrerequisite
:::info[Prerequisite]
Podman Desktop requires [Podman Engine](https://docs.podman.io/en/latest/index.html). If you don't have Podman Engine installed, Podman Desktop will prompt you to do so at a later stage.
:::

Expand Down Expand Up @@ -48,7 +48,7 @@ Podman Desktop requires [Podman Engine](https://docs.podman.io/en/latest/index.h

## Installing Podman Desktop on MacOS using [brew](https://brew.sh/)

:::infoPrerequisite
:::info[Prerequisite]

- [Homebrew](https://brew.sh/)
:::
Expand Down
6 changes: 3 additions & 3 deletions website/docusaurus.config.js
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.dracula;

const title = 'podman desktop';

Expand Down Expand Up @@ -428,7 +428,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['docker', 'shell-session'],
additionalLanguages: ['docker', 'shell-session', 'bash', 'json'],
},
algolia: {
// The application ID provided by Algolia
Expand Down
18 changes: 9 additions & 9 deletions website/package.json
Expand Up @@ -23,25 +23,25 @@
"lint:clean": "rimraf .eslintcache"
},
"dependencies": {
"@docusaurus/core": "2.4.3",
"@docusaurus/plugin-client-redirects": "^2.4.3",
"@docusaurus/preset-classic": "2.4.3",
"@docusaurus/theme-mermaid": "^2.4.3",
"@docusaurus/core": "^3.0.0",
"@docusaurus/plugin-client-redirects": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/theme-mermaid": "^3.0.0",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mdx-js/react": "^1.6.22",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-plugin-goatcounter": "^3.0.0",
"prism-react-renderer": "^2.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-player": "^2.13.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.3",
"@tsconfig/docusaurus": "^2.0.2",
"@docusaurus/module-type-aliases": "^3.0.0",
"@docusaurus/tsconfig": "^3.0.0",
"autoprefixer": "^10.4.16",
"markdownlint": "^0.32.1",
"markdownlint-cli2": "^0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion website/tsconfig.json
@@ -1,6 +1,6 @@
{
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json",
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"baseUrl": "."
}
Expand Down

0 comments on commit 382538a

Please sign in to comment.