|
1 | | -# Starlight Starter Kit: Basics |
| 1 | +# PixiEditor Docs |
2 | 2 |
|
3 | | -[](https://starlight.astro.build) |
| 3 | +The Documentation for [PixiEditor](https://github.com/PixiEditor/PixiEditor) |
4 | 4 |
|
5 | | -``` |
6 | | -npm create astro@latest -- --template starlight |
7 | | -``` |
| 5 | +Built with [Starlight](https://starlight.astro.build/getting-started/) and [Tailwind](https://tailwindcss.com/docs/) |
8 | 6 |
|
9 | | -[](https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics) |
10 | | -[](https://codesandbox.io/p/sandbox/github/withastro/starlight/tree/main/examples/basics) |
11 | | -[](https://app.netlify.com/start/deploy?repository=https://github.com/withastro/starlight&create_from_path=examples/basics) |
12 | | -[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwithastro%2Fstarlight%2Ftree%2Fmain%2Fexamples%2Fbasics&project-name=my-starlight-docs&repository-name=my-starlight-docs) |
| 7 | +## File Structure |
13 | 8 |
|
14 | | -> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 9 | +All docs are located at `src/assets/docs` |
15 | 10 |
|
16 | | -## 🚀 Project Structure |
| 11 | +Images can be added to `src/assets/` |
17 | 12 |
|
18 | | -Inside of your Astro + Starlight project, you'll see the following folders and files: |
| 13 | +### Usage |
19 | 14 |
|
20 | | -``` |
21 | | -. |
22 | | -├── public/ |
23 | | -├── src/ |
24 | | -│ ├── assets/ |
25 | | -│ ├── content/ |
26 | | -│ │ ├── docs/ |
27 | | -│ └── content.config.ts |
28 | | -├── astro.config.mjs |
29 | | -├── package.json |
30 | | -└── tsconfig.json |
31 | | -``` |
| 15 | +`src/contents/usage` contains documentation about the usage of PixiEditor, and is oriented towards the users of PixiEditor. |
32 | 16 |
|
33 | | -Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name. |
| 17 | +### Contribution |
34 | 18 |
|
35 | | -Images can be added to `src/assets/` and embedded in Markdown with a relative link. |
| 19 | +`src/contents/contribution` contains documentation on how to work on the source code of [PixiEditor](https://github.com/PixiEditor/PixiEditor) |
36 | 20 |
|
37 | | -Static assets, like favicons, can be placed in the `public/` directory. |
| 21 | +It is oriented towards developers working on PixiEditor |
38 | 22 |
|
39 | | -## 🧞 Commands |
| 23 | +## Developing & Running |
40 | 24 |
|
41 | | -All commands are run from the root of the project, from a terminal: |
42 | 25 |
|
43 | | -| Command | Action | |
44 | | -| :------------------------ | :----------------------------------------------- | |
45 | | -| `npm install` | Installs dependencies | |
46 | | -| `npm run dev` | Starts local dev server at `localhost:4321` | |
47 | | -| `npm run build` | Build your production site to `./dist/` | |
48 | | -| `npm run preview` | Preview your build locally, before deploying | |
49 | | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | |
50 | | -| `npm run astro -- --help` | Get help using the Astro CLI | |
| 26 | +### VS Code / VSCodium |
51 | 27 |
|
52 | | -## 👀 Want to learn more? |
| 28 | +Go to the Run tab and run the `Development Server` launch configuration |
53 | 29 |
|
54 | | -Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat). |
| 30 | +#### Recommended Extensions |
| 31 | +* [Astro](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode) |
| 32 | +* [Tailwind CSS](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) |
| 33 | +* [MDX](https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx) |
| 34 | + |
| 35 | +### CLI |
| 36 | + |
| 37 | +```bash |
| 38 | +yarn dev |
| 39 | +``` |
0 commit comments