|
1 |
| -# Website |
| 1 | +# ModulesPress Documentation |
2 | 2 |
|
3 |
| -This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. |
| 3 | +<p align="center"> |
| 4 | + <img src="static/img/logo.png" alt="ModulesPress Logo" width="200"/> |
| 5 | +</p> |
4 | 6 |
|
5 |
| -### Installation |
| 7 | +Welcome to the official documentation repository for ModulesPress! This repository contains the source code for our documentation website built with Docusaurus 3. |
6 | 8 |
|
7 |
| -``` |
8 |
| -$ yarn |
9 |
| -``` |
| 9 | +## π Quick Start |
10 | 10 |
|
11 |
| -### Local Development |
| 11 | +```bash |
| 12 | +# Install dependencies |
| 13 | +npm install |
12 | 14 |
|
13 |
| -``` |
14 |
| -$ yarn start |
| 15 | +# Start development server |
| 16 | +npm start |
| 17 | + |
| 18 | +# Build for production |
| 19 | +npm run build |
15 | 20 | ```
|
16 | 21 |
|
17 |
| -This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. |
| 22 | +## π About |
18 | 23 |
|
19 |
| -### Build |
| 24 | +ModulesPress documentation is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator. Our documentation aims to provide comprehensive guides, tutorials, and API references for ModulesPress users. |
20 | 25 |
|
21 |
| -``` |
22 |
| -$ yarn build |
23 |
| -``` |
| 26 | +## π€ Contributing |
24 | 27 |
|
25 |
| -This command generates static content into the `build` directory and can be served using any static contents hosting service. |
| 28 | +We welcome contributions from the community! Here's how you can help: |
26 | 29 |
|
27 |
| -### Deployment |
| 30 | +### Setting up the Development Environment |
28 | 31 |
|
29 |
| -Using SSH: |
| 32 | +1. Fork the repository |
| 33 | +2. Clone your fork: `git clone https://github.com/YOUR_USERNAME/modulespress-docs.git` |
| 34 | +3. Install dependencies: `npm install` |
| 35 | +4. Create a new branch: `git checkout -b feature/your-feature-name` |
30 | 36 |
|
31 |
| -``` |
32 |
| -$ USE_SSH=true yarn deploy |
33 |
| -``` |
| 37 | +### Making Changes |
34 | 38 |
|
35 |
| -Not using SSH: |
| 39 | +1. Make your changes to the documentation |
| 40 | +2. Test locally using `npm start` |
| 41 | +3. Ensure your changes follow our documentation style guide |
| 42 | +4. Commit your changes with clear, descriptive commit messages |
| 43 | + |
| 44 | +### Submitting a Pull Request |
| 45 | + |
| 46 | +1. Push your changes to your fork |
| 47 | +2. Submit a pull request to the main repository |
| 48 | +3. Describe your changes and why they're necessary |
| 49 | +4. Wait for review and address any feedback |
| 50 | + |
| 51 | +### Documentation Style Guide |
| 52 | + |
| 53 | +- Use clear, concise language |
| 54 | +- Include code examples where appropriate |
| 55 | +- Follow Markdown best practices |
| 56 | +- Add images and diagrams when they help explain concepts |
| 57 | +- Ensure all links are working |
| 58 | +- Include proper headings and subheadings |
| 59 | + |
| 60 | +## π§ Project Structure |
36 | 61 |
|
37 | 62 | ```
|
38 |
| -$ GIT_USER=<Your GitHub username> yarn deploy |
| 63 | +modulespress-docs/ |
| 64 | +βββ docs/ # Documentation markdown files |
| 65 | +βββ src/ # Custom components and pages |
| 66 | +βββ static/ # Static assets |
| 67 | +βββ docusaurus.config.ts # Docusaurus configuration |
| 68 | +βββ sidebars.ts # Sidebar configuration |
39 | 69 | ```
|
40 | 70 |
|
41 |
| -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. |
| 71 | +## π License |
| 72 | + |
| 73 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 74 | + |
| 75 | +Key points: |
| 76 | +- β
Free to use, copy, modify, and distribute |
| 77 | +- β
Commercial use allowed |
| 78 | +- β No warranty provided |
| 79 | +- Must include the original license and copyright notice |
0 commit comments