Skip to content

Commit

Permalink
upgraded docs to docusaurus v3
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Mar 5, 2024
1 parent 3f47ac3 commit 9f390b4
Show file tree
Hide file tree
Showing 5 changed files with 11,475 additions and 8,390 deletions.
2 changes: 1 addition & 1 deletion docs/registry-docs/enforcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ hauler store save --filename kubewarden-policy.tar.zst

### Loading Policy Artifact to a Registry (Airgaped Environments)

To move the Policy Artifact into your registry, use the following script and the resulting TAR from the [Saving Policy](enforcement.md#saving-the-policy-artifact).
Use the below script, substituting your registry, to load the policy artifact:

```bash
# load the content from the tarball to the hauler store
Expand Down
15 changes: 8 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -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;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand All @@ -28,12 +28,13 @@ const config = {
},

plugins: [
[
require.resolve("@cmfcmf/docusaurus-search-local"),
[ require.resolve('docusaurus-lunr-search'),
{
// Options here
},
],
languages: ['en'],
indexBaseUrl: true,
highlightResult: true
}
]
],

presets: [
Expand Down
Loading

0 comments on commit 9f390b4

Please sign in to comment.