Skip to content

Commit

Permalink
Merge pull request #2 from matzemathics/tailwind
Browse files Browse the repository at this point in the history
Add tailwind and nemo colour scheme
  • Loading branch information
monsterkrampe authored Sep 24, 2024
2 parents 6b2cea6 + cbbfcb7 commit 918b16d
Show file tree
Hide file tree
Showing 6 changed files with 864 additions and 22 deletions.
27 changes: 16 additions & 11 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
site: 'https://knowsys.github.io/',
base: '/nemo-doc',
outDir: './dist/nemo-doc',

integrations: [
starlight({
title: 'Nemo Rule Engine',
customCss: [
'./src/tailwind.css'
],
social: {
github: 'https://github.com/knowsys/nemo',
github: 'https://github.com/knowsys/nemo'
},
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
items: [ // Each item here is one entry in the navigation menu.
{ label: 'Installing', slug: 'guides/installing' },
{ label: 'Command Line', slug: 'guides/cli' },
{ label: 'Rule Language', slug: 'guides/tour' },
{ label: 'Broser Integration', slug: 'guides/wasm' },
{ label: 'Python API', slug: 'guides/python' },
],
{ label: 'Browser Integration', slug: 'guides/wasm' },
{ label: 'Python API', slug: 'guides/python' }
]
},
{
label: 'Language Reference',
autogenerate: { directory: 'reference' },
},
],
// todo: reorder
autogenerate: { directory: 'reference' }
}
]
}),
],
tailwind()
]
});
Loading

0 comments on commit 918b16d

Please sign in to comment.