GitBook-style documentation templates for NodeMatrix Documentation Generator node. These templates define the section structure and content for different token types.
Note: This repository is used with the Documentation Generator node in NodeMatrix. When you use the Documentation Generator node in your workflow, it references these templates to generate comprehensive documentation sections for your token projects.
This repository contains GitBook-style documentation templates organized by token type. Each template defines:
- Section structure (overview, tokenomics, utility, etc.)
- Section order and organization
- Default content and descriptions
- Section types (custom, api_docs, use_cases, social_proof, bento)
Sections: Overview, Tokenomics, Token Utility, API Documentation, Use Cases, Roadmap, Team
Sections: Game Overview, Gameplay, NFTs, Rewards, Tokenomics, Roadmap
Sections: DeFi Protocol, Features, Yield Farming, Tokenomics
Sections: NFT Collection, Collection Details, NFT Utility, Roadmap
Sections: Overview, Tokenomics, Community
Sections: Overview, Tokenomics, Utility, Roadmap
Each template is defined in templates.json with the following structure:
{
"token-type": [
{
"section_key": "section-name",
"section_type": "custom|api_docs|use_cases|social_proof|bento",
"enabled": true,
"order_index": 0,
"defaultContent": {
"title": "Section Title",
"description": "Section description"
},
"defaultConfig": {}
}
]
}- custom: Standard markdown content section
- api_docs: API documentation with code examples
- use_cases: Use case showcase section
- social_proof: Community and social links section
- bento: Feature grid/bento box layout section
- Documentation Generator node reads
templates.json - Selects template based on token type (utility-token, game-token, etc.)
- Creates documentation sections based on template structure
- Populates sections with token information from RunConfig
- Generates GitBook-style documentation
The Documentation Generator node automatically uses these templates when generating documentation. You can:
- Select a template in the Token Info node (template field)
- Customize sections after generation
- Add or remove sections as needed
- Modify section content and order
After documentation is generated, you can:
- Edit section content
- Reorder sections
- Enable/disable sections
- Add custom sections
- Modify section configurations
dynamic-documentation-writer/
├── README.md # This file
├── templates.json # Template definitions
└── .gitignore # Git ignore file
For questions about NodeMatrix:
- Visit nodematrix.one/docs for documentation
- Check api.nodematrix.one for API reference
- Open an issue on GitHub
MIT License - use these templates freely for your projects.