This repository contains the official documentation for S1API, a Schedule One Mono/Il2Cpp cross-compatibility layer. The documentation is built using VitePress, a modern static site generator powered by Vue.js.
# Clone the repository
git clone https://github.com/ifBars/S1API-docs.git
cd S1API-docs
# Install dependencies
npm install
# Start the development server
npm run docs:dev
The development server will be available at http://localhost:5173
(or another port if 5173 is in use).
S1API-docs/
├── .vitepress/ # VitePress configuration
│ ├── config.mjs # Site configuration
│ ├── theme/ # Custom theme components
│ └── docs/ # Documentation content
│ ├── guide/ # User guides and tutorials
│ ├── api/ # API reference documentation
│ └── public/ # Static assets (images, etc.)
├── .github/workflows/ # GitHub Actions workflows
└── package.json # Project dependencies
Documentation files are written in Markdown (.md
). VitePress enhances standard Markdown with:
---
title: Page Title
description: Page description for SEO
---
```csharp
// C# code here with syntax highlighting
var api = new S1API();
api.Initialize();
```
::: tip
Helpful tips and information
:::
::: warning
Important warnings
:::
::: danger
Critical information
:::
[Getting Started Guide](/guide/getting-started)
- All development happens on the
dev
branch - Push changes to the
dev
branch to trigger the automatic build - The CI/CD pipeline builds and deploys to the
prod
branch - GitHub Pages serves content from the
prod
branch
We welcome contributions to improve the S1API documentation!
-
Fork the repository and create a branch:
git checkout dev git checkout -b feature/my-documentation-update
-
Make your changes, commit, and push:
git add . git commit -m "Add documentation for feature X" git push origin feature/my-documentation-update
-
Open a pull request against the
dev
branch
- Use clear, concise language
- Include code examples where appropriate
- Follow the existing document structure
- Test all code snippets to ensure they work correctly