Skip to content

Commit

Permalink
slowly starting with docs
Browse files Browse the repository at this point in the history
updatet starlight to 0.12 added skyblocker-assets as submodule so we can hopefully use the images from skyblocker-assets directly.
  • Loading branch information
LifeIsAParadox committed Nov 19, 2023
1 parent 8c3e877 commit 6b85329
Show file tree
Hide file tree
Showing 9 changed files with 1,156 additions and 657 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "src/assets/Skyblocker-Assets"]
path = src/assets/Skyblocker-Assets
url = https://github.com/SkyblockerMod/Skyblocker-Assets
branch = images
56 changes: 34 additions & 22 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
import {defineConfig} from 'astro/config';
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from "@astrojs/tailwind";

const site = "https://wiki.hysky.de"
const github = "https://github.com/SkyblockerMod"
const discord = "https://discord.com/invite/aNNJHQykck"
const youtube = "https://www.youtube.com/@wohlhabend_"

// https://astro.build/config
export default defineConfig({
site: 'https://wiki.hysky.de',
integrations: [starlight({
title: 'SkyBlocker Docs',
site,
integrations: [
starlight({
title: 'Skyblocker Docs',
favicon: '/src/assets/Skyblocker-Assets/other/skyblocker.png',
customCss: [
// Path to your Tailwind base styles:
'./src/tailwind.css',
],
social: {
github: 'https://github.com/skyblockermod/skyblocker',
discord: 'https://discord.com/invite/aNNJHQykck',
youtube: 'https://www.youtube.com/@wohlhabend_'
},
social: { github, discord, youtube },
editLink: {
baseUrl: 'https://github.com/SkyblockerMod/wiki.hysky.de/edit/main/docs/'
baseUrl: 'https://github.com/SkyblockerMod/wiki.hysky.de/edit/main/'
},
sidebar: [{
label: 'Contribute',
autogenerate: {
directory: 'contributor'
}
}, {
label: 'Mod',
autogenerate: {
directory: 'reference'
sidebar: [
{
label: '👨‍💻 Contribute',
autogenerate: {
directory: 'contribute'
}
},
{
label: '🛠️ Mod',
autogenerate: {
directory: 'mod'
}
},
{
label: '📦️ Modpack',
autogenerate: {
directory: 'modpack'
}
}
}],
],
defaultLocale: 'root',
// optional
locales: {
Expand All @@ -49,8 +61,8 @@ export default defineConfig({
}
}),
tailwind({
// Disable the default base styles:
applyBaseStyles: false,
// Disable the default base styles:
applyBaseStyles: false,
}),
],
});
Loading

0 comments on commit 6b85329

Please sign in to comment.