├── README.md
├── src
├── components
│ ├── GroupName.astro
│ ├── components.ts
│ ├── Footer.astro
│ ├── CardGrid.astro
│ ├── icon.tsx
│ ├── header-menu.tsx
│ ├── Card.astro
│ ├── button.tsx
│ ├── Header.astro
│ ├── ThemeToggle.astro
│ └── dropdown-menu.tsx
├── assets
│ ├── astro.png
│ ├── houston.webp
│ ├── starmint.jpg
│ ├── dark-logo.svg
│ ├── light-logo.svg
│ ├── astro-logo.svg
│ └── hero.svg
├── env.d.ts
├── content
│ ├── config.ts
│ └── docs
│ │ ├── essentials
│ │ ├── deployments.mdx
│ │ ├── theming.mdx
│ │ ├── images.mdx
│ │ └── creating-pages.mdx
│ │ ├── reference
│ │ └── example.md
│ │ ├── components
│ │ ├── asides.mdx
│ │ ├── tabs.mdx
│ │ └── badge.mdx
│ │ ├── index.mdx
│ │ └── getting-started
│ │ ├── introduction.mdx
│ │ └── quickstart.mdx
├── lib
│ └── utils.ts
└── styles
│ ├── tailwind.css
│ └── custom.css
├── .vscode
├── extensions.json
└── launch.json
├── tsconfig.json
├── .gitignore
├── public
└── favicon.svg
├── package.json
├── astro.config.mjs
└── tailwind.config.ts
/README.md:
--------------------------------------------------------------------------------
1 | # Starmint
2 |
--------------------------------------------------------------------------------
/src/components/GroupName.astro:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/src/assets/astro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexwhitmore/astro-mintlify/HEAD/src/assets/astro.png
--------------------------------------------------------------------------------
/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
--------------------------------------------------------------------------------
/src/assets/houston.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexwhitmore/astro-mintlify/HEAD/src/assets/houston.webp
--------------------------------------------------------------------------------
/src/assets/starmint.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexwhitmore/astro-mintlify/HEAD/src/assets/starmint.jpg
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["astro-build.astro-vscode"],
3 | "unwantedRecommendations": []
4 | }
5 |
--------------------------------------------------------------------------------
/src/components/components.ts:
--------------------------------------------------------------------------------
1 | export { default as Card } from './Card.astro'
2 | export { default as CardGrid } from './CardGrid.astro'
3 |
4 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "astro/tsconfigs/strict",
3 | "compilerOptions": {
4 | "jsx": "react-jsx",
5 | "jsxImportSource": "react"
6 | }
7 | }
--------------------------------------------------------------------------------
/src/content/config.ts:
--------------------------------------------------------------------------------
1 | import { defineCollection } from 'astro:content';
2 | import { docsSchema } from '@astrojs/starlight/schema';
3 |
4 | export const collections = {
5 | docs: defineCollection({ schema: docsSchema() }),
6 | };
7 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | "command": "./node_modules/.bin/astro dev",
6 | "name": "Development server",
7 | "request": "launch",
8 | "type": "node-terminal"
9 | }
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/src/content/docs/essentials/deployments.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: Quickstart
3 | description: A guide in my new Starlight docs site.
4 | ---
5 |
6 | import GroupName from '../../../components/GroupName.astro'
7 |
8 | Getting Started
9 |
10 | # Deployments
11 |
12 | Coming soon!
--------------------------------------------------------------------------------
/src/content/docs/essentials/theming.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: Quickstart
3 | description: A guide in my new Starlight docs site.
4 | ---
5 |
6 | import GroupName from '../../../components/GroupName.astro'
7 |
8 | Getting Started
9 |
10 | # Theming
11 |
12 | Coming soon!
13 |
--------------------------------------------------------------------------------
/src/components/Footer.astro:
--------------------------------------------------------------------------------
1 |
7 |
8 |
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # build output
2 | dist/
3 | # generated types
4 | .astro/
5 |
6 | # dependencies
7 | node_modules/
8 |
9 | # logs
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 | pnpm-debug.log*
14 |
15 |
16 | # environment variables
17 | .env
18 | .env.production
19 |
20 | # macOS-specific files
21 | .DS_Store
22 |
--------------------------------------------------------------------------------
/src/assets/dark-logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/assets/light-logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/content/docs/reference/example.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Example Reference
3 | description: A reference page in my new Starlight docs site.
4 | ---
5 |
6 | Reference pages are ideal for outlining how things work in terse and clear terms.
7 | Less concerned with telling a story or addressing a specific use case, they should give a comprehensive outline of what you're documenting.
8 |
9 | ## Further reading
10 |
11 | - Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
12 |
--------------------------------------------------------------------------------
/public/favicon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/CardGrid.astro:
--------------------------------------------------------------------------------
1 | ---
2 | interface Props {
3 | stagger?: boolean
4 | }
5 |
6 | const { stagger = false } = Astro.props
7 | ---
8 |
9 |
10 |
11 |
36 |
--------------------------------------------------------------------------------
/src/components/icon.tsx:
--------------------------------------------------------------------------------
1 | import { icons } from 'lucide-react'
2 | import { memo } from 'react'
3 |
4 | import { type ClassValue, clsx } from 'clsx'
5 | import { twMerge } from 'tailwind-merge'
6 |
7 | export function cn(...inputs: ClassValue[]) {
8 | return twMerge(clsx(inputs))
9 | }
10 |
11 | export type IconProps = {
12 | name: keyof typeof icons
13 | className?: string
14 | strokeWidth?: number
15 | }
16 |
17 | export const Icon = memo(({ name, className, strokeWidth }: IconProps) => {
18 | const IconComponent = icons[name]
19 |
20 | if (!IconComponent) {
21 | return null
22 | }
23 |
24 | return (
25 |
29 | )
30 | })
31 |
32 | Icon.displayName = 'Icon'
33 |
--------------------------------------------------------------------------------
/src/content/docs/essentials/images.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: Quickstart
3 | description: A guide in my new Starlight docs site.
4 | ---
5 |
6 | import GroupName from '../../../components/GroupName.astro'
7 |
8 | Getting Started
9 |
10 | # Images
11 |
12 | Add image, video, and other HTML elements.
13 |
14 | 
15 |
16 | Markdown and MDX support the Markdown syntax for displaying images that includes alt-text for screen readers and assistive technology.
17 |
18 | ## Using Markdown
19 |
20 | ```md
21 | 
22 | ```
23 |
24 | You can read more about it in [Starlight's documentation](https://starlight.astro.build/guides/authoring-content/#images)!
--------------------------------------------------------------------------------
/src/content/docs/components/asides.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: Asides
3 | description: A guide in my new Starlight docs site.
4 | ---
5 |
6 | import GroupName from '../../../components/GroupName.astro'
7 | import { Aside } from '@astrojs/starlight/components'
8 | import { Card } from '@astrojs/starlight/components'
9 |
10 | Components
11 |
12 | # Asides
13 |
14 | To display secondary information alongside a page’s main content, use the `