diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 898ce19..5ae09d7 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -1,7 +1,7 @@ -name: Deploy Docs/Blog Site +name: Deploy Docs on: workflow_dispatch: - + push: branches: - main diff --git a/k8s/deploy-site.yml b/k8s/deploy-site.yml index b1bd191..5cdbc31 100644 --- a/k8s/deploy-site.yml +++ b/k8s/deploy-site.yml @@ -51,7 +51,7 @@ spec: checkIntervalSec: 60 port: 8000 type: HTTP - requestPath: /blog/ + requestPath: /docs/category/quick-start/ cdn: enabled: true cachePolicy: diff --git a/site/docusaurus.config.js b/site/docusaurus.config.js index 1dd8ab1..1f0fd2e 100644 --- a/site/docusaurus.config.js +++ b/site/docusaurus.config.js @@ -55,13 +55,13 @@ const config = { // editUrl: // 'https://github.com/bitsy-ai/printnanny-os/tree/main/packages/create-docusaurus/templates/shared/', }, - blog: { - showReadingTime: true, - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - // editUrl: - // 'https://github.com/bitsy-ai/printnanny-os/tree/main/packages/create-docusaurus/templates/shared/', - }, + // blog: { + // showReadingTime: true, + // // Please change this to your repo. + // // Remove this to remove the "edit this page" links. + // // editUrl: + // // 'https://github.com/bitsy-ai/printnanny-os/tree/main/packages/create-docusaurus/templates/shared/', + // }, theme: { customCss: require.resolve('./src/css/custom.css'), }, @@ -106,12 +106,12 @@ const config = { label: 'Quick Start', }, { - to: '/blog', + href: 'https://printnanny.ai/blog/', position: 'left', label: 'Blog', }, - { label: 'Join Launch Waitlist', position: 'left', href: 'https://printnanny.ai' }, - { label: 'Skip Waitlist, Get Early Access', position: 'left', href: 'https://printnanny.ai/shop/founding-membership' }, + { label: 'Pricing', position: 'left', href: 'https://printnanny.ai/pricing' }, + { label: 'Dashboard', position: 'left', href: 'https://printnanny.ai/devices' }, { label: 'Discord', position: 'right', href: 'https://discord.gg/sf23bk2hPr' }, { diff --git a/site/docusaurus.config.k8s.js b/site/docusaurus.config.k8s.js index db0fbaf..7ef462c 100644 --- a/site/docusaurus.config.k8s.js +++ b/site/docusaurus.config.k8s.js @@ -60,35 +60,35 @@ const config = { path: 'docs', sidebarPath: require.resolve('./sidebars.js'), }, - blog: { - showReadingTime: true, - path: 'blog', - routeBasePath: 'blog', - blogTitle: "PrintNanny News", - include: ['**/*.{md,mdx}'], - exclude: [ - '**/_*.{js,jsx,ts,tsx,md,mdx}', - '**/_*/**', - '**/*.test.{js,jsx,ts,tsx}', - '**/__tests__/**', - ], - postsPerPage: 10, - blogListComponent: '@theme/BlogListPage', - blogPostComponent: '@theme/BlogPostPage', - blogTagsListComponent: '@theme/BlogTagsListPage', - blogTagsPostsComponent: '@theme/BlogTagsPostsPage', - rehypePlugins: [], - beforeDefaultRemarkPlugins: [], - beforeDefaultRehypePlugins: [], - truncateMarker: //, - feedOptions: { - type: 'all', - title: `PrintNanny Blog`, - description: 'Latest in 3D printing news and PrintNanny development updates.', - copyright: `Copyright © ${new Date().getFullYear()} Bitsy AI Labs, LLC. All rights reserved.`, - language: undefined, - }, - }, + // blog: { + // showReadingTime: true, + // path: 'blog', + // routeBasePath: 'blog', + // blogTitle: "PrintNanny News", + // include: ['**/*.{md,mdx}'], + // exclude: [ + // '**/_*.{js,jsx,ts,tsx,md,mdx}', + // '**/_*/**', + // '**/*.test.{js,jsx,ts,tsx}', + // '**/__tests__/**', + // ], + // postsPerPage: 10, + // blogListComponent: '@theme/BlogListPage', + // blogPostComponent: '@theme/BlogPostPage', + // blogTagsListComponent: '@theme/BlogTagsListPage', + // blogTagsPostsComponent: '@theme/BlogTagsPostsPage', + // rehypePlugins: [], + // beforeDefaultRemarkPlugins: [], + // beforeDefaultRehypePlugins: [], + // truncateMarker: //, + // feedOptions: { + // type: 'all', + // title: `PrintNanny Blog`, + // description: 'Latest in 3D printing news and PrintNanny development updates.', + // copyright: `Copyright © ${new Date().getFullYear()} Bitsy AI Labs, LLC. All rights reserved.`, + // language: undefined, + // }, + // }, theme: { customCss: require.resolve('./src/css/custom.css'), },