From 81f6380dd407cb8782d1e690fa00f40388fae18d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 16 Jun 2025 09:28:21 -0400 Subject: [PATCH] Add the blog section back (#670) * Revert "docs/blog: remove (#273)" This reverts commit df3509ec998d002e8bcef6285c7c0bc16b54d513. * chore: intro to the blog post Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso --- docs/blog/2025-06-16-welcome/index.mdx | 14 +++++++++ docs/blog/authors.yml | 9 ++++++ docs/blog/tags.yml | 1 + docs/docusaurus.config.ts | 43 ++++++++++++++++---------- 4 files changed, 50 insertions(+), 17 deletions(-) create mode 100644 docs/blog/2025-06-16-welcome/index.mdx create mode 100644 docs/blog/authors.yml create mode 100644 docs/blog/tags.yml diff --git a/docs/blog/2025-06-16-welcome/index.mdx b/docs/blog/2025-06-16-welcome/index.mdx new file mode 100644 index 0000000..932ca0c --- /dev/null +++ b/docs/blog/2025-06-16-welcome/index.mdx @@ -0,0 +1,14 @@ +--- +slug: welcome +title: Welcome to the Anubis blog! +authors: [xe] +tags: [intro] +--- + +Hello, world! + +At Techaro, we've been working on making Anubis even better, and in the process we want to share what we've done, how it works, and signal boost cool things the community has done. As things happen, we'll blog about them so that you can learn from our struggles. + +More details to come soon! + +{/* truncate */} diff --git a/docs/blog/authors.yml b/docs/blog/authors.yml new file mode 100644 index 0000000..6f7cb7a --- /dev/null +++ b/docs/blog/authors.yml @@ -0,0 +1,9 @@ +xe: + name: Xe Iaso + title: CEO @ Techaro + url: https://github.com/Xe + image_url: https://github.com/Xe.png + email: xe@techaro.lol + page: true + socials: + github: Xe diff --git a/docs/blog/tags.yml b/docs/blog/tags.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/blog/tags.yml @@ -0,0 +1 @@ + diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 547d979..9aa29ba 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -47,21 +47,21 @@ const config: Config = { editUrl: 'https://github.com/TecharoHQ/anubis/tree/main/docs/', }, - // blog: { - // showReadingTime: true, - // feedOptions: { - // type: ['rss', 'atom', "json"], - // xslt: true, - // }, - // // Please change this to your repo. - // // Remove this to remove the "edit this page" links. - // editUrl: - // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', - // // Useful options to enforce blogging best practices - // onInlineTags: 'warn', - // onInlineAuthors: 'warn', - // onUntruncatedBlogPosts: 'warn', - // }, + blog: { + showReadingTime: true, + feedOptions: { + type: ['rss', 'atom', "json"], + xslt: true, + }, + // Please change this to your repo. + // Remove this to remove the "edit this page" links. + editUrl: + 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + // Useful options to enforce blogging best practices + onInlineTags: 'warn', + onInlineAuthors: 'warn', + onUntruncatedBlogPosts: 'warn', + }, theme: { customCss: './src/css/custom.css', }, @@ -86,9 +86,14 @@ const config: Config = { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', - label: 'Tutorial', + label: 'Docs', + }, + { to: '/blog', label: 'Blog', position: 'left' }, + { + href: 'https://github.com/sponsors/Xe', + label: "Sponsorship", + position: 'left' }, - // { to: '/blog', label: 'Blog', position: 'left' }, { href: 'https://github.com/TecharoHQ/anubis', label: 'GitHub', @@ -128,6 +133,10 @@ const config: Config = { { title: 'More', items: [ + { + label: 'Blog', + to: '/blog', + }, { label: 'GitHub', href: 'https://github.com/TecharoHQ/anubis',