-
Notifications
You must be signed in to change notification settings - Fork 1
Starlight integration #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ac05734
c2e3c63
9ee9a38
1bf2647
3d5a0cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,19 @@ | ||
| # The Zane Website | ||
|
|
||
| --- | ||
|
|
||
| # Deploy locally: | ||
| > The following steps assume you've already cloned the repo and you have | ||
| >`node` installed. | ||
|
|
||
| Inside the project folder, execute: | ||
|
|
||
| ```bash | ||
| npm install | ||
| ``` | ||
|
|
||
| If everything went well you shoulb be able to deploy the website locally with: | ||
|
|
||
| ``` | ||
| npm run dev | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,33 @@ | ||||||||||
| // @ts-check | ||||||||||
| import { defineConfig } from 'astro/config'; | ||||||||||
| import starlight from '@astrojs/starlight'; | ||||||||||
|
|
||||||||||
| // https://astro.build/config | ||||||||||
| export default defineConfig({ | ||||||||||
| site: "https://zane-lang.org", | ||||||||||
| integrations: [ | ||||||||||
| starlight({ | ||||||||||
| title: 'Zane Docs', | ||||||||||
| description: 'The Zane programming language', | ||||||||||
| favicon: '/favicons/favicon.ico', | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||
| logo: { | ||||||||||
| src: './src/assets/zane-black.svg', | ||||||||||
| alt: 'Black version of Zane logo', | ||||||||||
| }, | ||||||||||
| social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/TheLazyCat00' }], | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The social link for GitHub points to a personal profile (
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The GitHub social link currently points to a personal profile (
Suggested change
|
||||||||||
| sidebar: [ | ||||||||||
| { | ||||||||||
| label: 'Guides', | ||||||||||
| items: [ | ||||||||||
| // Each item here is one entry in the navigation menu. | ||||||||||
| { label: 'Example Guide', slug: 'guides/example' }, | ||||||||||
| ], | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| label: 'Reference', | ||||||||||
| items: [{ autogenerate: { directory: 'reference' } }], | ||||||||||
| }, | ||||||||||
| ], | ||||||||||
| }), | ||||||||||
| ], | ||||||||||
| }); | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in this line: 'shoulb' should be 'should'.