Oak Network Documentation - Comprehensive documentation for the Oak Network crowdfunding protocol built with Mintlify.
- Overview
- Prerequisites
- Installation
- Development
- Content Management
- Contributing
- Content Standards
- Deployment
- License
- Support
This repository contains the documentation for Oak Network, a decentralized crowdfunding protocol built on the Celo blockchain. The documentation is built with Mintlify and provides comprehensive guides for developers, users, and contributors.
- Concepts - Understanding Oak Network's architecture and core concepts
- Smart Contracts - Detailed API reference for all smart contracts
- Integration Guides - Step-by-step guides for developers
- Security - Security model, audits, and best practices
- Operations - Operational guides and runbooks
- API Reference - Complete Payment API documentation, synced from the backend OpenAPI spec
- Node.js 18+ (to run the Mintlify CLI)
- Git for version control
- Basic knowledge of Markdown / MDX (for contributions)
# Clone the repository
git clone https://github.com/oak-network/docs.git
cd docs
# Install the Mintlify CLI
npm i -g mint # or run ad-hoc with: npx mint@latest <cmd># Start the local preview server
mint dev
# The site will be available at http://localhost:3000# Check internal links
mint broken-links
# Validate docs.json and the OpenAPI spec
mint validateAll configuration lives in docs.json β theme, navigation, redirects, SEO, and the API reference.
- Create a new
.mdxfile in the relevant content directory - Add its path (without the
.mdxextension) to the appropriategroupindocs.jsonβnavigation.tabsβ a page is only visible once it is listed in the navigation - Use proper frontmatter for metadata
---
title: "Page Title"
description: "Page description"
---
# Page Content
Your content here...- Create a new
.mdxfile in theblog/directory - Add it to the Blog tab in
docs.json - Include proper frontmatter
---
title: "Post Title"
description: "Post description"
---
# Post Content
Your blog post content...- Callouts -
<Tip>,<Info>,<Note>,<Warning> - Mermaid Diagrams - fenced
```mermaidcode blocks - Styling - modify
style.css
The API Reference tab is generated natively by Mintlify from the bundled OpenAPI spec at api-specs/v1/crowdsplits.yaml. The spec is not edited by hand β it is synced from the oak-network/crowdsplit backend.
We welcome contributions to improve the documentation! Please read our Contributing Guide for detailed information.
# Fork and clone the repository
git clone https://github.com/your-username/docs.git
cd docs
# Create a feature branch
git checkout -b feature/your-feature-name
# Start the preview server
mint dev
# Make your changes, then validate
mint broken-links && mint validate
# Commit and push
git add .
git commit -m "docs: improve your section"
git push origin feature/your-feature-name
# Open a Pull Request- π Content Updates - Improve existing documentation
- β¨ New Pages - Add new documentation sections
- π¨ UI/UX - Improve design and user experience
- π Bug Fixes - Fix broken links, typos, etc.
- π Translations - Translate documentation
- π Diagrams - Add or improve Mermaid diagrams
# Use proper heading hierarchy
## Section headings
### Subsection headings
**Bold text** for emphasis
*Italic text* for subtle emphasis
`code` for inline code
- Use bullet points for lists
- Keep lines under 80 characters
- Use descriptive link text- Clear and concise - Write for your audience
- Consistent tone - Professional but approachable
- Active voice - Use "you" instead of "one"
- Short sentences - Break up complex ideas
- Examples - Include practical examples
concepts/ # Core concepts
contracts/ # Smart contract docs
contracts-sdk/ # Contracts client SDK reference
sdk/ # Payments SDK reference
guides/ # Integration guides
security/ # Security documentation
operations/ # Operational guides
blog/ # Blog posts
api-specs/ # Bundled OpenAPI spec (powers the API Reference tab)
```mermaid
graph TB
A[User] --> B[Contract]
B --> C[Result]
```This site is built with Mintlify, so there is no local build step to run.
Before opening a PR, verify locally:
mint dev # preview the site
mint validate # validate docs.json and the OpenAPI specThis project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs.oaknetwork.org
- Discord: Join our community
- GitHub Issues: Report issues
- Email: docs@oaknetwork.org
- Mintlify - Documentation platform
- Mermaid - Diagram generation
- Community - Feedback, contributions, and support
Built with β€οΈ by the Oak Network team
Comprehensive documentation for decentralized crowdfunding