Skip to content

Commit 68ccfe6

Browse files
committed
Install Starlight
1 parent 4251124 commit 68ccfe6

File tree

102 files changed

+8325
-1565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+8325
-1565
lines changed

.gitignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
/.astro
2+
/.fleet
3+
/.idea
14
/.phpunit.cache
2-
/node_modules
3-
/node_modules.nosync
4-
/public/build
5+
/.vscode
56
/public/api
7+
/public/build
8+
/public/docs
69
/public/hot
710
/public/storage
11+
/node_modules
12+
/node_modules.nosync
813
/storage/*.key
914
/vendor
1015
/vendor.nosync
@@ -13,12 +18,9 @@
1318
.env.backup
1419
.env.production
1520
.phpunit.result.cache
21+
auth.json
22+
filament-cli
1623
Homestead.json
1724
Homestead.yaml
18-
auth.json
1925
npm-debug.log
2026
yarn-error.log
21-
/.fleet
22-
/.idea
23-
/.vscode
24-
filament-cli

astro.config.mjs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import starlight from '@astrojs/starlight';
4+
import tailwind from '@astrojs/tailwind';
5+
6+
// https://astro.build/config
7+
export default defineConfig({
8+
base: '/docs',
9+
publicDir: './docs/public',
10+
outDir: './public/docs',
11+
srcDir: './docs',
12+
trailingSlash: 'never',
13+
integrations: [
14+
starlight({
15+
title: 'Docs with Tailwind',
16+
social: {
17+
github: 'https://github.com/withastro/starlight',
18+
},
19+
sidebar: [
20+
{
21+
label: 'Guides',
22+
items: [
23+
// Each item here is one entry in the navigation menu.
24+
{ label: 'Example Guide', slug: 'guides/example' },
25+
],
26+
},
27+
{
28+
label: 'Reference',
29+
autogenerate: { directory: 'reference' },
30+
},
31+
],
32+
customCss: ['./docs/tailwind.css'],
33+
}),
34+
tailwind({ applyBaseStyles: false, configFile: './docs/tailwind.config.mjs' }),
35+
],
36+
});

content/articles/danharrin-compile-new-tailwind-css-classes-panel.md

Lines changed: 1 addition & 1 deletion

content/articles/leandrocfe-easy-way-to-create-a-filament-theme-in-minutes.md

Lines changed: 1 addition & 1 deletion

content/articles/leandrocfe-form-builder-common-errors-to-avoid.md

Lines changed: 1 addition & 1 deletion

docs/assets/houston.webp

96.2 KB

docs/content.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineCollection } from 'astro:content';
2+
import { docsLoader } from '@astrojs/starlight/loaders';
3+
import { docsSchema } from '@astrojs/starlight/schema';
4+
5+
export const collections = {
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
7+
};
Lines changed: 11 additions & 0 deletions

docs/content/docs/index.mdx

Lines changed: 46 additions & 0 deletions
Lines changed: 11 additions & 0 deletions

0 commit comments

Comments
 (0)