Skip to content

Commit

Permalink
ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ukdaaan committed Nov 23, 2024
1 parent 7a4b265 commit c4b2215
Show file tree
Hide file tree
Showing 10 changed files with 1,694 additions and 6 deletions.
859 changes: 859 additions & 0 deletions .astro/astro/content.d.ts

Large diffs are not rendered by default.

810 changes: 810 additions & 0 deletions .astro/collections/i18n.schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .astro/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_variables": {
"lastUpdateCheck": 1731188452484
"lastUpdateCheck": 1732362782403
}
}
2 changes: 2 additions & 0 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/// <reference types="astro/client" />
/// <reference path="integrations/_astrojs_starlight/i18n-plugins.d.ts" />
/// <reference path="integrations/starlight-sitemap-integration/types.d.ts" />
/// <reference path="astro/content.d.ts" />
16 changes: 15 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import vue from "@astrojs/vue";
import tailwind from "@astrojs/tailwind";

import starlightThemeObsidian from "starlight-theme-obsidian";
import sitemap from "@astrojs/sitemap";

// https://astro.build/config
Expand All @@ -14,7 +14,21 @@ export default defineConfig({
},
integrations: [
starlight({
plugins: [
starlightThemeObsidian({
graphConfig: {
depth: 1,
depthDirection: "both",
repelForce: 500,
},
}),
],
title: "setup.md",
logo: {
replacesTitle: true,
light: "./src/assets/logo-dark.png",
dark: "./src/assets/logo-light.png",
},
editLink: {
baseUrl: "https://github.com/setupmd/docs/edit/v3",
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@vitejs/plugin-vue": "^5.0.4",
"astro": "^4.16.2",
"sharp": "^0.32.6",
"starlight-theme-obsidian": "^0.0.9",
"tailwindcss": "^3.3.6",
"typescript": "^5.3.4",
"vue": "^3.3.10"
Expand Down
Binary file added src/assets/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { defineCollection } from 'astro:content';
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';
import { pageThemeObsidianSchema } from 'starlight-theme-obsidian/schema';

export const collections = {
docs: defineCollection({ schema: docsSchema() }),
i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
};
docs: defineCollection({ schema: docsSchema({
extend: pageThemeObsidianSchema
}) }),
};
2 changes: 1 addition & 1 deletion src/content/docs/hosting/providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ We'd also recommend you ensure your chosen provider hasn't ended up on our list
<LinkCard
title="Summerhosts"
description="Summerhost - A service provider that is poorly ran and/or operating illegally which should be avoided."
href="https://summerhosts.net"
href="/h/summerhosts"
/>
<br/>
<strong> If in doubt ASK! Measure twice and cut once.</strong>

0 comments on commit c4b2215

Please sign in to comment.