Welcome to the Hacktron documentation repository! This repository contains the official documentation for Hacktron, powered by Mintlify.
Before contributing, please read this document carefully to understand our documentation standards and contribution process.
We welcome contributions from the community to improve our documentation, e.g. fixing typos, adding examples, or expanding explanations. To contribute, please follow these steps:
- Fork this repository
- Create a new branch for your changes
- Make your changes in the appropriate
.mdxfiles - Test your changes locally
- Submit a pull request describing your changes
-
Node.js 18 or higher
-
Git
-
A code editor (we recommend VS Code with MDX extension)
- Start the development server:
mintlify dev-
Visit
http://localhost:3000to preview changes -
Make changes to
.mdxfiles and see them live-reload
For VS Code users, we recommend installing these extensions:
-
MDX
-
Prettier
-
Tailwind CSS IntelliSense
Each document should follow this structure:
---
title: 'Document Title'
description: 'A brief description of the content'
---
## Overview
Brief introduction to the topic.
## Main Content
Your primary content sections.
## Related
- Link to related doc 1
- Link to related doc 2Use Mintlify components to enhance documentation:
<Tabs>
<Tab title="Example 1">
Content for example 1
</Tab>
<Tab title="Example 2">
Content for example 2
</Tab>
</Tabs>
<Steps>
<Step title="First Step">
Instructions for first step
</Step>
</Steps>
<Card>
Important information here
</Card>-
Use syntax highlighting
-
Include comments and write idiomatic code
-
Keep examples concise
-
Test all code examples
Good example:
def greet(name):
"""Return a greeting message."""
return f"Hello, {name}!"Bad example:
def greet(name):
return "Hello, " + name