An open API service indexing awesome lists of open source software.

https://github.com/oxidemod/oxide.docs

Official documentation for the Oxide modding framework
https://github.com/oxidemod/oxide.docs

documentation

Last synced: 6 months ago
JSON representation

Official documentation for the Oxide modding framework

Awesome Lists containing this project

README

          

# Oxide.Docs

This repository contains the source files for the Oxide documentation. The documentation is built using [VitePress](https://vitepress.dev/).

## Contributing

### Requirements

- [Node.js](https://nodejs.org/) (v20 or higher)

### Dependencies

To get started, you will need to install the dependencies. You can do this by running the following command:

```bash
npm install
```

### Development

To start the development server, run the following command:

```bash
npm run docs:dev
```

### Production

To preview the production build of the documentation, run the following command:

```bash
npm run docs:build
```

This can be previewed by running the following command:

```bash
npm run docs:preview
```

### Code Style

The project uses EditorConfig, Prettier, and pre-commit hooks to ensure consistent code style across the codebase.

When you commit changes, pre-commit hooks will automatically format your code according to our style guidelines.

To manually format files:

```bash
# Format all supported files
npm run format

# Check code style
npm run lint

# Also check code style
npm run check
```