Skip to content

Commit

Permalink
Fix site settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kolloch committed Jan 12, 2024
1 parent 3d02d98 commit f6a30aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.direnv
result*

# nix build results
result*
8 changes: 5 additions & 3 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ import starlight from '@astrojs/starlight';

// https://astro.build/config
export default defineConfig({
site: 'https://kolloch.github.io',
base: '/astro-starlight-with-nix',
integrations: [
starlight({
title: 'My Docs',
title: 'Astro Starlight with Nix',
social: {
github: 'https://github.com/withastro/starlight',
github: 'https://github.com/kolloch/astro-starlight-with-nix',
},
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
{ label: 'Example Guide', link: '/astro-starlight-with-nix/guides/example/' },
],
},
{
Expand Down
2 changes: 2 additions & 0 deletions docs/flake-module.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
perSystem = { config, self', inputs', pkgs, lib, system, ... }: {
checks = config.packages;

packages.docs = pkgs.buildNpmPackage {
pname = "docs";
version = "0.1.0";
Expand Down

0 comments on commit f6a30aa

Please sign in to comment.