Add network & containerisation
Build and deploy Docusaurus / build-and-deploy (push) Successful in 1m1s
Build and deploy Docusaurus / build-and-deploy (push) Successful in 1m1s
This commit is contained in:
@@ -2,32 +2,23 @@ import {themes as prismThemes} from 'prism-react-renderer';
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
const config: Config = {
|
||||
title: 'Home Server Docs',
|
||||
title: 'Homelab Documentation',
|
||||
tagline: 'Homelab documentation',
|
||||
favicon: 'img/favicon.ico',
|
||||
|
||||
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
|
||||
future: {
|
||||
v4: true, // Improve compatibility with the upcoming Docusaurus v4
|
||||
v4: true,
|
||||
},
|
||||
|
||||
// Set the production url of your site here (unused in homelab, but required)
|
||||
url: 'https://docs.lan',
|
||||
// Site is served at the root
|
||||
url: 'https://doc.lan',
|
||||
baseUrl: '/',
|
||||
|
||||
// Git hosting metadata (not critical for homelab usage)
|
||||
organizationName: 'Shaz',
|
||||
projectName: 'Documentation',
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
|
||||
// Even if you don't use internationalization, you can use this field to set
|
||||
// useful metadata like html lang. For example, if your site is Chinese, you
|
||||
// may want to replace "en" with "zh-Hans".
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en'],
|
||||
@@ -38,13 +29,11 @@ const config: Config = {
|
||||
'classic',
|
||||
{
|
||||
docs: {
|
||||
// Use existing Markdown under Doc/ as the docs root
|
||||
path: '../Doc',
|
||||
routeBasePath: '/',
|
||||
sidebarPath: './sidebars.ts',
|
||||
editUrl: undefined,
|
||||
},
|
||||
// No blog for this knowledge base
|
||||
blog: false,
|
||||
theme: {
|
||||
customCss: './src/css/custom.css',
|
||||
@@ -54,15 +43,14 @@ const config: Config = {
|
||||
],
|
||||
|
||||
themeConfig: {
|
||||
// Replace with your project's social card
|
||||
image: 'img/docusaurus-social-card.jpg',
|
||||
colorMode: {
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
navbar: {
|
||||
title: 'Home Server Docs',
|
||||
title: 'Homelab Documentation',
|
||||
logo: {
|
||||
alt: 'Home Server Docs Logo',
|
||||
alt: 'Homelab Documentation Logo',
|
||||
src: 'img/logo.svg',
|
||||
},
|
||||
items: [
|
||||
@@ -77,7 +65,7 @@ const config: Config = {
|
||||
footer: {
|
||||
style: 'dark',
|
||||
links: [],
|
||||
copyright: `Documentation built with Docusaurus.`,
|
||||
copyright: `Homelab Documentation built with Docusaurus.`,
|
||||
},
|
||||
prism: {
|
||||
theme: prismThemes.github,
|
||||
|
||||
Reference in New Issue
Block a user