This repository hosts the official documentation website for SmartSpawner, a powerful Minecraft plugin designed to enhance mob spawner management on servers.
SmartSpawner is a feature-rich plugin that simplifies and enhances the management of mob spawners in Minecraft servers. It offers advanced customization options, seamless integrations with popular plugins, and a robust developer API for extending functionality. Notably, its GUI-based system generates mob drops and experience without spawning entities, significantly boosting server performance.
- Framework: Astro with Starlight theme
- Version: 0.0.1
- Primary Dependencies:
- Astro (^5.13.2)
- @astrojs/starlight (^0.35.2)
- Starlight themes (Catppuccin, Next, Obsidian)
- Sharp (^0.34.2)
- Node.js (version 18 or higher)
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/NighterDevelopment/smartspawner-docs.git cd smartspawner-docs -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The site will be available at
http://localhost:4321.
-
Build for production:
npm run build
-
Preview the production build:
npm run preview
smartspawner-docs/
├── src/
│ ├── content/
│ │ ├── docs/ # Main documentation files (Markdown/MDX)
│ │ └── config.ts # Content configuration
│ ├── components/ # Custom Astro components
│ ├── styles/ # Custom CSS styles
│ └── assets/ # Static assets
├── public/ # Public static files
├── astro.config.mjs # Astro configuration
├── package.json # Project dependencies and scripts
└── tsconfig.json # TypeScript configuration
We appreciate contributions from the community! Whether you're fixing a typo, adding new documentation, or improving the site's functionality, your input is valuable.
-
Fork the repository on GitHub.
-
Create a feature branch:
git checkout -b feature/your-feature-name
-
Make your changes:
- Documentation updates go in
src/content/docs/ - Component changes in
src/components/ - Style modifications in
src/styles/
- Documentation updates go in
-
Test your changes locally using
npm run dev. -
Update timestamps for documentation files (if you modified any
.mdfiles insrc/content/docs/):npm run add-timestamps
This command automatically updates the "Last update" timestamp at the end of each modified documentation file based on its last modification time. This ensures accurate update information for readers
-
Commit your changes with descriptive messages:
git commit -m "Add comprehensive guide for plugin integrations" -
Push to your fork and create a pull request.
- Follow existing Markdown formatting and structure.
- Use clear, concise language suitable for both beginners and advanced users.
- Include code examples where applicable.
- Test all links and ensure they are functional.
For significant changes or new features, please open an issue first to discuss the proposed modifications.
This site is configured for deployment to GitHub Pages:
npm run deployThis command builds the site and deploys it using gh-pages.
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs or request features via GitHub Issues
- Discussions: Join community discussions on Discord Server
For questions about the SmartSpawner plugin itself, please refer to the main plugin repository or community channels.
Built with ❤️ using Astro and Starlight