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 24
Git
A code editor (we recommend VS Code with MDX extension)
- Install dependencies:
pnpm install- Start the development server:
pnpm devVisit
http://localhost:3000to preview changesMake 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>
<Tabtitle="Example 1">Content for example 1</Tab>
<Tabtitle="Example 2">Content for example 2</Tab>
</Tabs>
<Steps>
<Steptitle="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:
defgreet(name):
"""Return a greeting message."""returnf"Hello, {name}!"Bad example:
defgreet(name):
return"Hello, "+name