diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
index 0f0e8010..b30a2f0f 100644
--- a/docs/.vitepress/config.mts
+++ b/docs/.vitepress/config.mts
@@ -1,7 +1,8 @@
import { URL, fileURLToPath } from 'node:url'
-import { resolve } from 'path'
+
import { defineConfig } from 'vitepress'
import { getSidebarItemsFromMdFiles } from './utils.mts'
+import { resolve } from 'path'
// https://vitepress.dev/reference/site-config
export default defineConfig({
@@ -22,7 +23,8 @@ export default defineConfig({
['meta', { name: "msapplication-config", content: "/favicons/browserconfig.xml"}],
['meta', { name: "theme-color", content: "#000000"}],
['script', { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-QTDTMG01Z5' } ],
- ['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-QTDTMG01Z5');"]
+ ['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-QTDTMG01Z5');"],
+ ['script', {}, "(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});\nvar f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\nj.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-TFFZXCQW');"],
],
lastUpdated: true,
@@ -99,7 +101,7 @@ export default defineConfig({
{
icon: 'github',
link: 'https://github.com/jozu-ai/kitops'
- },
+ }
],
footer: {
license: {
diff --git a/docs/.vitepress/theme/components/Footer.vue b/docs/.vitepress/theme/components/Footer.vue
index 34d613bf..cfa7e62f 100644
--- a/docs/.vitepress/theme/components/Footer.vue
+++ b/docs/.vitepress/theme/components/Footer.vue
@@ -59,6 +59,21 @@ const year = (new Date()).getFullYear()
+
+
+ x
+
+
+
diff --git a/docs/.vitepress/theme/components/Home.vue b/docs/.vitepress/theme/components/Home.vue
index 32200c97..5435d338 100644
--- a/docs/.vitepress/theme/components/Home.vue
+++ b/docs/.vitepress/theme/components/Home.vue
@@ -38,7 +38,7 @@ import { VueMarqueeSlider } from 'vue3-marquee-slider'
-
Kit cli
+
Kit cli
The Kit CLI is a command line interface (CLI) that performs actions on ModelKits.
@@ -46,8 +46,8 @@ import { VueMarqueeSlider } from 'vue3-marquee-slider'
diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts
index 1572400e..87f21aec 100644
--- a/docs/.vitepress/theme/index.ts
+++ b/docs/.vitepress/theme/index.ts
@@ -14,9 +14,19 @@ const isPlatformModalOpen = ref(false)
export default {
extends: DefaultTheme,
Layout: () => {
+ // Google tag manager
+ const noscript = document.createElement('noscript')
+ const ifr = document.createElement('iframe')
+ ifr.src = 'https://www.googletagmanager.com/ns.html?id=GTM-TFFZXCQW';
+ ifr.height = 0;
+ ifr.width = 0;
+ ifr.style = 'display:none;visibility:hidden;';
+ noscript.appendChild(ifr)
+ document.body.insertBefore(noscript, document.body.firstElementChild)
+
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
- 'sidebar-nav-after': () => h(PlatformSelect),
+ 'sidebar-nav-after': () => h(PlatformSelect)
})
},
enhanceApp({ app, router, siteData }) {
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
index 11503d9b..1566323f 100644
--- a/docs/.vitepress/theme/style.css
+++ b/docs/.vitepress/theme/style.css
@@ -103,6 +103,36 @@
letter-spacing: normal;
}
+.vp-doc ul,
+.vp-doc ol {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+ margin-left: 1.25rem;
+}
+
+.vp-doc ul ::marker,
+.vp-doc ol ::marker {
+ color: var(--color-cornflower);
+}
+
+.vp-doc ol ::marker {
+ font-weight: bold;
+}
+
+.vp-doc li {
+ padding-left: 0.5rem;
+}
+
+.vp-doc li+li {
+ margin-top: 2rem;
+}
+
+.vp-doc li > ol,
+.vp-doc li > ul {
+ margin-top: 2rem;
+ list-style: circle;
+}
+
/**
* Component: Button
* -------------------------------------------------------------------------- */
diff --git a/docs/src/docs/cli/cli-reference.md b/docs/src/docs/cli/cli-reference.md
index 48f8879c..e9c7f4f8 100644
--- a/docs/src/docs/cli/cli-reference.md
+++ b/docs/src/docs/cli/cli-reference.md
@@ -41,7 +41,7 @@ kit info registry.example.com/my-model:1.0.0
### Options inherited from parent commands
```
- --config string Config file (default $HOME/.kitops)
+ --config string Alternate path to root storage directory for CLI
-v, --verbose Include additional information in output (default false)
```
@@ -85,7 +85,7 @@ kit inspect registry.example.com/my-model:1.0.0
### Options inherited from parent commands
```
- --config string Config file (default $HOME/.kitops)
+ --config string Alternate path to root storage directory for CLI
-v, --verbose Include additional information in output (default false)
```