Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
goulvenclech committed May 1, 2024
1 parent c005a31 commit a942607
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .changeset/pink-bees-add.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@goulvenclech/astropi": minor
"@goulvenclech/astropi": patch
---

Fix landing styles & content.
38 changes: 23 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,61 @@
# Astropi - Let's make a better doc 🪐

Astropi is a free and open-source project that helps you build beautiful and accessible API documentation for your projects. It's built with [Astro](https://astro.build/), a fast and modern Static Site Generator.
> [!WARNING]
> Astropi is in early development and is not ready for public use... but new contributors are welcome!
## 🚀 How to use Astropi
[Astropi](https://astropi.goulven-clech.dev/) is a free and open-source project that helps you build beautiful and accessible API documentation for your projects. It's built with [Astro](https://astro.build/), a fast and modern Static Site Generator.

This mono-repository contains the core of Astropi, the documentation website, and the starter template. You can find more information about each part of the project in the `README.md` files of each main directory.

## How to install

Create a new Astropi project by running the following command:

```bash
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
# If you use npm
npm create astro --template github:goulvenclech/astropi/starter
# If you use yarn
yarn create astro --template github:goulvenclech/astropi/starter
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
```

Or add Astropi to an existing Astro project:

```bash
# If you use pnpm
pnpm astro add @goulvenclech/astropi
# If you use npm
npx astro add @goulvenclech/astropi
# If you use yarn
yarn astro add @goulvenclech/astropi
# If you use pnpm
pnpm astro add @goulvenclech/astropi
```

From there, read the generated `README.md` in your new project, or check out the [Astropi documentation](https://astropi.dev) for more information.
## How to use

## 👷 How to contribute
Check out the [Astropi documentation](https://astropi.goulven-clech.dev/) for more information. Here are some quick links:

Astropi is a community-driven project, and we welcome contributions of all kinds. If you experience any problem with our project, please [open an issue](). If you have any idea or suggestions, please open or join [a discussion]().
- [Getting Started](https://astropi.goulven-clech.dev/learn/2-getting-started)
- [Creating a blog](https://astropi.goulven-clech.dev/learn/3-create-a-blog)

If you want to contribute to Astropi, please read the [Contributing Guide](./CONTRIBUTING.md) and the [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request. You can find more technical information about the project in the `README.md` files of each main directory:
## How to contribute

Astropi is a community-driven project, and we welcome contributions of all kinds. If you experience any problem with our project, please [open an issue](https://github.com/goulvenclech/astropi/issues). If you have any suggestions, please [open a discussion](https://github.com/goulvenclech/astropi/discussions).

If you want to contribute to Astropi, please read the [Contributing Guide](./CONTRIBUTING.md) (work in progress) and the [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request. You can find more technical information about the project in the `README.md` files of each main directory:

- `./packages/astropi/` contains the core of Astropi, including the components, styles, and utilities that power the project.

- `./docs/` contains the Astropi documentation website (built with Astropi!)

- `./packages/astropi-starter/` contains the Astropi starter template, which is cloned when you create a new Astropi project.

## ⚖️ License
## License

Astropi is licensed under the [MIT License](./LICENSE.md). You are free to use, modify, and distribute this project. You must include the original license in any fork of this project. Attribution is appreciated.

## ❤️ Aknowledgements
## Aknowledgements

Thanks [Astro](https://astro.build/) for being the core of Astropi and an amazing Static Site Generator.

Thanks [Starlight](https://starlight.astro.build) for being the main inspiration for Astropi and our example of Astro Integration.

Thanks [Readme.so](https://readme.so/) and [VitePress](https://vitepress.vuejs.org/) for inspiring us in the documentation design.
Thanks [Starlight](https://starlight.astro.build) for being the main inspiration for Astropi, alongside other documentation tools like [Readme.com](https://readme.com/), [GitBook](https://docs.gitbook.com/), [VitePress](https://vitepress.vuejs.org/), etc.
8 changes: 4 additions & 4 deletions docs/src/content/learn/1-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ Welcome to Astropi 🪐
Create a new Astropi project by running the following command:

```bash
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
# If you use npm
npm create astro --template github:goulvenclech/astropi/starter
# If you use yarn
yarn create astro --template github:goulvenclech/astropi/starter
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
```

## Add to an existing project

Alternatively, you can add Astropi to an existing Astro project:

```bash
# If you use pnpm
pnpm astro add @goulvenclech/astropi
# If you use npm
npx astro add @goulvenclech/astropi
# If you use yarn
yarn astro add @goulvenclech/astropi
# If you use pnpm
pnpm astro add @goulvenclech/astropi
```

But please make sure thare our generated routes are not conflicting with yours.
2 changes: 2 additions & 0 deletions docs/src/content/learn/2-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ your_project/
```bash
# Start the development server
npm run dev
# Build the project
npm run build
```


44 changes: 37 additions & 7 deletions packages/astropi/README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,61 @@
# Astropi - Let's make a better doc 🪐

Astropi is a free and open-source project that helps you build beautiful and accessible API documentation for your projects. It's built with [Astro](https://astro.build/), a fast and modern Static Site Generator.
> [!WARNING]
> Astropi is in early development and is not ready for public use... but new contributors are welcome!
[Astropi](https://astropi.goulven-clech.dev/) is a free and open-source project that helps you build beautiful and accessible API documentation for your projects. It's built with [Astro](https://astro.build/), a fast and modern Static Site Generator.

This core package contains the components, styles, and utilities that power the project.

## 🚀 How to use Astropi
## How to install

Create a new Astropi project by running the following command:

```bash
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
# If you use npm
npm create astro --template github:goulvenclech/astropi/starter
# If you use yarn
yarn create astro --template github:goulvenclech/astropi/starter
# If you use pnpm
pnpm create astro --template github:goulvenclech/astropi/starter
```

Or add Astropi to an existing Astro project:

```bash
# If you use pnpm
pnpm astro add @goulvenclech/astropi
# If you use npm
npx astro add @goulvenclech/astropi
# If you use yarn
yarn astro add @goulvenclech/astropi
# If you use pnpm
pnpm astro add @goulvenclech/astropi
```

From there, read the generated `README.md` in your new project, or check out the [Astropi documentation](https://astropi.goulven-clech.dev) for more information.
## How to use

Check out the [Astropi documentation](https://astropi.goulven-clech.dev/) for more information. Here are some quick links:

- [Getting Started](https://astropi.goulven-clech.dev/learn/2-getting-started)
- [Creating a blog](https://astropi.goulven-clech.dev/learn/3-create-a-blog)

## How to contribute

Astropi is a community-driven project, and we welcome contributions of all kinds. If you experience any problem with our project, please [open an issue](https://github.com/goulvenclech/astropi/issues). If you have any suggestions, please [open a discussion](https://github.com/goulvenclech/astropi/discussions).

If you want to contribute to Astropi, please read the [Contributing Guide](./CONTRIBUTING.md) (work in progress) and the [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request. You can find more technical information about the project in the `README.md` files of each main directory:

- `./packages/astropi/` contains the core of Astropi, including the components, styles, and utilities that power the project.

- `./docs/` contains the Astropi documentation website (built with Astropi!)

- `./packages/astropi-starter/` contains the Astropi starter template, which is cloned when you create a new Astropi project.

## License

Astropi is licensed under the [MIT License](./LICENSE.md). You are free to use, modify, and distribute this project. You must include the original license in any fork of this project. Attribution is appreciated.

## Aknowledgements

Thanks [Astro](https://astro.build/) for being the core of Astropi and an amazing Static Site Generator.

Thanks [Starlight](https://starlight.astro.build) for being the main inspiration for Astropi, alongside other documentation tools like [Readme.com](https://readme.com/), [GitBook](https://docs.gitbook.com/), [VitePress](https://vitepress.vuejs.org/), etc.

0 comments on commit a942607

Please sign in to comment.