-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* docs: set up initial documentation structure - Added GitBook configuration - Created documentation outline - Added getting started guide - Added installation guide - Set up API documentation structure - Added placeholder pages for future content * docs(ci): add documentation deployment to GitHub Pages - Configure GitHub Pages deployment - Include both Dokka and GitBook documentation - Update permissions for Pages deployment * docs: set up initial documentation structure - Added GitBook configuration and outline - Created getting started and installation guides - Added API documentation structure with placeholders - Set up KDoc/Dokka configuration Closes #5 * fix(docs): remove ./docs from dokka upload * chore(ci): remove pages deployment from build workflow --------- Co-authored-by: Chafficui <[email protected]>
- Loading branch information
Showing
16 changed files
with
287 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root: ./docs | ||
|
||
structure: | ||
readme: README.md | ||
summary: SUMMARY.md | ||
|
||
redirects: | ||
guide/getting-started: ./guide/getting-started.md | ||
api/overview: ./api/overview.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# ChafficLib Documentation | ||
|
||
Welcome to the ChafficLib documentation! This guide will help you get started with using ChafficLib in your Spigot plugins. | ||
|
||
## Quick Links | ||
|
||
- [Getting Started](guide/getting-started.md) | ||
- [API Reference](api/overview.md) | ||
- [GitHub Repository](https://github.com/chafficplugins/ChafficLib) | ||
|
||
## Features | ||
|
||
- 🎮 GUI System - Create intuitive inventory interfaces | ||
- ⚙️ Configuration System - Type-safe configuration handling | ||
- 💾 Database System - Easy database integration | ||
- 🛠️ Item System - Streamlined item creation | ||
- ✨ Effects System - Particle and sound effects | ||
- 📝 Event System - Simplified event handling | ||
- 🎯 Command System - Annotation-based commands | ||
|
||
## Support | ||
|
||
Need help? Check our: | ||
- [Discord Server](https://discord.gg/RPZBhB4rna) | ||
- [Issue Tracker](https://github.com/chafficplugins/ChafficLib/issues) | ||
- [API Documentation](api/overview.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Table of contents | ||
|
||
* [Introduction](README.md) | ||
|
||
## Guide | ||
* [Getting Started](guide/getting-started.md) | ||
* [Installation](guide/installation.md) | ||
|
||
## API Reference | ||
* [Overview](api/overview.md) | ||
* [GUI System](api/gui.md) | ||
* [Configuration](api/configuration.md) | ||
* [Database](api/database.md) | ||
* [Items](api/items.md) | ||
* [Effects](api/effects.md) | ||
* [Events](api/events.md) | ||
* [Commands](api/commands.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Command System | ||
|
||
The command system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Command creation | ||
- Argument parsing | ||
- Tab completion | ||
- Permission handling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Configuration System | ||
|
||
The configuration system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- YAML configuration | ||
- Type-safe config | ||
- Auto-reloading | ||
- Migration system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Database System | ||
|
||
The database system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Connection pooling | ||
- Query building | ||
- Entity mapping | ||
- Migration support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Effects System | ||
|
||
The effects system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Particle effects | ||
- Sound effects | ||
- Visual effects | ||
- Animation system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Event System | ||
|
||
The event system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Event handling | ||
- Priority system | ||
- Filtering | ||
- Custom events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# GUI System | ||
|
||
The GUI system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Inventory creation | ||
- Click handling | ||
- Pagination | ||
- Templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Item System | ||
|
||
The item system documentation will be available once the feature is implemented. | ||
|
||
Stay tuned for: | ||
- Item building | ||
- NBT handling | ||
- Serialization | ||
- Templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# API Overview | ||
|
||
ChafficLib provides several core systems to help you develop Spigot plugins more efficiently. This documentation is currently under development and will be expanded as features are implemented. | ||
|
||
## Core Systems | ||
|
||
### GUI System | ||
Create and manage inventory GUIs with a fluent builder API. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Configuration System | ||
Type-safe configuration handling with automatic reloading. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Database System | ||
Easy database integration with connection pooling and query building. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Item System | ||
Create and modify items with a builder pattern. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Effects System | ||
Handle particles, sounds, and visual effects. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Event System | ||
Simplified event handling with Kotlin DSL. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
### Command System | ||
Annotation-based command creation with argument parsing. | ||
```kotlin | ||
// Example code will be added once implemented | ||
``` | ||
|
||
## API Documentation | ||
|
||
Detailed API documentation will be available once features are implemented. Each system will have its own dedicated page with comprehensive examples and usage guidelines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Getting Started with ChafficLib | ||
|
||
ChafficLib is a modern Spigot library designed to streamline plugin development. This guide will help you get started with using ChafficLib in your projects. | ||
|
||
## Requirements | ||
|
||
- Java 21 or higher | ||
- Spigot 1.20.x - 1.21.x | ||
- Gradle or Maven build system | ||
|
||
## Installation | ||
|
||
### Gradle (Kotlin DSL) | ||
```kotlin | ||
repositories { | ||
mavenCentral() | ||
maven("https://jitpack.io") | ||
} | ||
|
||
dependencies { | ||
implementation("com.github.chafficplugins:ChafficLib:VERSION") | ||
} | ||
``` | ||
|
||
### Maven | ||
```xml | ||
<repositories> | ||
<repository> | ||
<id>jitpack.io</id> | ||
<url>https://jitpack.io</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.github.chafficplugins</groupId> | ||
<artifactId>ChafficLib</artifactId> | ||
<version>VERSION</version> | ||
</dependency> | ||
</dependencies> | ||
``` | ||
|
||
## Basic Usage | ||
|
||
More examples and detailed API documentation will be added as features are implemented. | ||
|
||
## Next Steps | ||
|
||
- Check out our [API Reference](../api/overview.md) | ||
- View examples in the [GitHub repository](https://github.com/chafficplugins/ChafficLib) | ||
- Join our [Discord](https://discord.gg/RPZBhB4rna) for support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Installation | ||
|
||
ChafficLib can be included in your project using either Gradle or Maven. | ||
|
||
## Requirements | ||
|
||
- Java 21 or higher | ||
- Spigot 1.20.x - 1.21.x | ||
- Gradle or Maven build system | ||
|
||
## Adding the Dependency | ||
|
||
### Gradle (Kotlin DSL) | ||
|
||
Add the following to your `build.gradle.kts`: | ||
|
||
```kotlin | ||
repositories { | ||
mavenCentral() | ||
maven("https://jitpack.io") | ||
} | ||
|
||
dependencies { | ||
implementation("com.github.chafficplugins:ChafficLib:VERSION") | ||
} | ||
``` | ||
|
||
### Maven | ||
|
||
Add the following to your `pom.xml`: | ||
|
||
```xml | ||
<repositories> | ||
<repository> | ||
<id>jitpack.io</id> | ||
<url>https://jitpack.io</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.github.chafficplugins</groupId> | ||
<artifactId>ChafficLib</artifactId> | ||
<version>VERSION</version> | ||
</dependency> | ||
</dependencies> | ||
``` | ||
|
||
## Verifying Installation | ||
|
||
To verify that ChafficLib is properly installed: | ||
|
||
1. Build your project | ||
2. Check that ChafficLib is included in your plugin's dependencies | ||
3. Test loading your plugin on a Spigot server | ||
|
||
## Next Steps | ||
|
||
- Check out the [Getting Started Guide](getting-started.md) | ||
- View the [API Documentation](../api/overview.md) |