Skip to content

Commit

Permalink
Add a lightweight intro
Browse files Browse the repository at this point in the history
  • Loading branch information
magick93 committed Aug 3, 2023
1 parent 7965c6c commit e26e4b5
Showing 1 changed file with 6 additions and 69 deletions.
75 changes: 6 additions & 69 deletions src/content/docs/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,76 +1,13 @@
---
title: "Installation"
title: "Introduction"
outline: ["what-is-gena" , "getting-started", "installation","configuring-the-sidebar
", "adding-content", "deployment-and-build", "other-helpful-docs"]
---

# what is gena?
It is a ready template to help you get strarted writting documentation as quick as possible.

It is built with `Astro` + `tailwindCSS` + `mdx`

## getting started

### installation
Read the [installation guide](./installation).

### configuring the sidebar

the left sidebar is configuration is on the `src/content.ts` file. <br/>
edit the file in order to change the content of the sidebar.

```ts
// src/content.ts
export const sidebarStructure = [
{
label: "Getting Started",
children: [
{
label: "introduction",
path: "./docs/introduction",
},
{
label: "installation",
path: "./docs/installation",
},
],
}
];
```
<br/>
configuring the right sidebar happens in the markdown/mdx file in the `content` folder.

example `content/docs/introduction.mdx`.


```md
---
title: "Introduction"
outline: ["getting-started", "installation"]
---

rest of the markdown...
```
<br/>

### adding content

To add more content to the template, just add more `markdown\mdx` files to the `content/docs` directory.<br/>
The routing is done automatically by
Astro, [read about router here](https://docs.astro.build/core-concepts/routing/).

note:
> To change it from the docs directory you'll have to change `src/content.ts`
```js
export const docsDir = "docs";
```
<br/>
# What is this?

### deployment and build
static files are generated hence your docs can be deployed anywhere you want, [read more here](https://docs.astro.build/guides/deploy/).
<br/>
These documents are intended to inspire key conversations and practical steps that will lead to:

### other helpful docs
1. [Astro](https://astro.build/)
2. [tailwindcss](https://tailwindcss.com/)
3. [mdx](https://mdxjs.com/)
- a collective that makes informed decisions
- a transparent sharing of information that lead up to specific decision
- an informed and empowered collective

0 comments on commit e26e4b5

Please sign in to comment.