Skip to content

Commit

Permalink
Remove blog config (#251)
Browse files Browse the repository at this point in the history
* update top bar

* use href instead of internal routing
  • Loading branch information
leigh-johnson committed Feb 8, 2023
1 parent 1b860f7 commit 3f74490
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy Docs/Blog Site
name: Deploy Docs
on:
workflow_dispatch:

push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion k8s/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
checkIntervalSec: 60
port: 8000
type: HTTP
requestPath: /blog/
requestPath: /docs/category/quick-start/
cdn:
enabled: true
cachePolicy:
Expand Down
20 changes: 10 additions & 10 deletions site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
Expand Down Expand Up @@ -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' },
{
Expand Down
58 changes: 29 additions & 29 deletions site/docusaurus.config.k8s.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: /<!--\s*(truncate)\s*-->/,
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: /<!--\s*(truncate)\s*-->/,
// 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'),
},
Expand Down

0 comments on commit 3f74490

Please sign in to comment.