-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: guides, landing page and verbiage updates
Co-authored-by: Tasos Bitsios <[email protected]> Co-authored-by: Larkin Young <[email protected]> Co-authored-by: Kyle Breeding <[email protected]>
- Loading branch information
Showing
45 changed files
with
1,056 additions
and
957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,42 @@ | ||
// @ts-check | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import tailwind from '@astrojs/tailwind'; | ||
import { defineConfig } from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [ | ||
starlight({ | ||
title: 'NodeKit', | ||
logo: { | ||
src: './public/nodekit.png', | ||
replacesTitle: true, | ||
}, | ||
social: { | ||
github: 'https://github.com/algorandfoundation/nodekit', | ||
}, | ||
sidebar: [ | ||
// { | ||
// label: 'Guides', | ||
// items: [ | ||
// // Each item here is one entry in the navigation menu. | ||
// { label: 'Example Guide', slug: 'guides/example' }, | ||
// ], | ||
// }, | ||
{ | ||
label: 'Reference', | ||
// collapsed: true, | ||
autogenerate: { directory: 'reference' }, | ||
}, | ||
], | ||
customCss: ['./src/tailwind.css'], | ||
}), | ||
tailwind({ applyBaseStyles: true }), | ||
], | ||
integrations: [ | ||
starlight({ | ||
title: "NodeKit", | ||
logo: { | ||
light: "./public/nodekit-light.png", | ||
dark: "./public/nodekit-dark.png", | ||
alt: "NodeKit for Algorand", | ||
replacesTitle: true, | ||
}, | ||
social: { | ||
github: "https://github.com/algorandfoundation/nodekit", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Guides", | ||
autogenerate: { directory: "guides" }, | ||
}, | ||
{ | ||
label: "Troubleshooting", | ||
link: "/troubleshooting", | ||
}, | ||
{ | ||
label: "Command Reference", | ||
collapsed: true, | ||
autogenerate: { directory: "reference" }, | ||
}, | ||
], | ||
components: { | ||
ThemeProvider: "./src/components/CustomThemeProvider.astro", | ||
}, | ||
customCss: ["./src/tailwind.css"], | ||
}), | ||
tailwind({ applyBaseStyles: true }), | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'; | ||
import mocha from '@catppuccin/vscode/themes/mocha.json' with {type: 'json'} | ||
import latte from '@catppuccin/vscode/themes/latte.json' with {type: 'json'} | ||
import fs from 'node:fs'; | ||
|
||
/** @type {import('@astrojs/starlight/expressive-code').StarlightExpressiveCodeOptions} */ | ||
export default { | ||
plugins: [pluginLineNumbers()], | ||
themes: [latte, mocha], | ||
}; |
Oops, something went wrong.