Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 2.81 KB

README.md

File metadata and controls

40 lines (23 loc) · 2.81 KB

Twitter Follow Discord Astro

🚀 Hibzz Games Documentation Website

This is the official documentation website for the game development tools created by Hibzz Games. It can be found at docs.hibzz.games.

It's built using Astro and a modified version of Starlight. Starlight has been modified to filter the sidebar based on the tools that the user is currently viewing. More information on the patch can be found here.

This repository doesn't host any documentation. The documentation for each tool is stored in their respective repositories under the docs branch and this repository uses submodules to pull in the files for each tool when the GitHub Action runs.


📝 How to write a new page?

Each page must contain a title and description in the frontmatter. The frontmatter is the section at the top of each page that is surrounded by ---.

All Starlight base components are available to use. For more information on how to use them, Please refer to Starlight's Authoring Content in Markdown and Components.

Additionally, custom components are available to use, such as a custom implementation of the Card component that supports a link property. The site has Iconify integration, so you can use any icon from the Iconify Gallery by using the Icon component. For example, <Icon name="mdi:github" /> will render the GitHub icon.


📦 Adding a new tool

Tools must be added as a submodule and can be done so by running the following command from the root of the repository:

git submodule add -b docs <git_url> /src/content/docs/<tool_name>

The content of a submodule can be updated using the following command:

git submodule update --remote

Additionally, make sure to update index.mdx with a card containing the tool's name, description, and link to the documentation.

😍 Contributing

Contributions are welcome! The tools that I have created haven't grown to the point where I need to add contribution guidelines and such. If you want to contribute, please create a pull request with your changes and I'll review it as soon as possible. If you're unsure about something, feel free to create an issue and I'll get back to you.