@robinmordasiewicz/f5xc-docs-theme 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/astro.config.mjs +5 -1
  2. package/package.json +1 -1
package/astro.config.mjs CHANGED
@@ -2,10 +2,14 @@ import { defineConfig } from 'astro/config';
2
2
  import starlight from '@astrojs/starlight';
3
3
  import react from '@astrojs/react';
4
4
  import f5xcDocsTheme from 'f5xc-docs-theme';
5
+ import remarkMermaid from './src/plugins/remark-mermaid.mjs';
5
6
 
6
7
  export default defineConfig({
7
8
  site: process.env.DOCS_SITE || 'https://robinmordasiewicz.github.io',
8
9
  base: process.env.DOCS_BASE || '/',
10
+ markdown: {
11
+ remarkPlugins: [remarkMermaid],
12
+ },
9
13
  integrations: [
10
14
  starlight({
11
15
  title: process.env.DOCS_TITLE || 'Documentation',
@@ -23,7 +27,7 @@ export default defineConfig({
23
27
  sidebar: [
24
28
  {
25
29
  label: process.env.SIDEBAR_LABEL || 'Guide',
26
- autogenerate: { directory: '/' },
30
+ autogenerate: { directory: '.' },
27
31
  },
28
32
  ],
29
33
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinmordasiewicz/f5xc-docs-theme",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "F5 Distributed Cloud branded Starlight documentation theme",
5
5
  "type": "module",
6
6
  "license": "MIT",