We welcome contributions to improve the Solo documentation! This guide covers everything you need to know to contribute effectively, from fixing typos to adding new content and making technical improvements.
- Fix typos and improve clarity in existing documentation.
- Add new guides or examples for common use cases.
- Update content for new Solo features or changes.
- Improve navigation and information architecture.
- Translate content to additional languages.
- Improve the documentation site (Hugo, Docsy, styling).
- Fix build issues or CI/CD problems.
- Add new features to the documentation platform.
- Update dependencies and maintain infrastructure.
- Git
- A GitHub account
- Basic knowledge of Markdown
-
Find something to improve: Browse the documentation at solo.hiero.org or check open issues.
-
Fork the repository: Click the "Fork" button on GitHub.
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/solo-docs.git cd solo-docs -
Create a branch for your changes:
git checkout -b docs/fix-typo-in-setup-guide
-
Make your changes: Edit the relevant
.mdfiles incontent/en/docs/ -
Preview your changes (optional):
npm install hugo server -D --baseURL http://localhost:1313/
-
Commit and push:
git add . git commit -m "docs(setup-guide): fix typo in dependencies section" git push origin docs/fix-typo-in-setup-guide
-
Create a Pull Request: Go to GitHub and click "Compare & pull request"
This repository uses scoped semantic conventional commits to maintain a clear and organized git history. All commit messages must follow the Conventional Commits format with appropriate scopes.
type(scope): description
[optional body]
[optional footer]
feat: A new featurefix: A bug fixdocs: Documentation changesstyle: Code style changes (formatting, semicolons, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasks (build, dependencies, etc.)
Use specific scopes to categorize your changes:
docs: General documentation changescontent: Content updates (guides, examples)style: Styling and theming changesbuild: Build system and CI/CD changesdeps: Dependency updatesconfig: Configuration fileslayout: Hugo layout changes
docs(installation): update installation prerequisites
fix(content): correct typo in troubleshooting guide
feat(style): add dark mode support
chore(deps): update Hugo to latest version
refactor(layout): simplify header component
- Use present tense ("add" not "added")
- Keep the description under 72 characters
- Use scopes consistently and appropriately
- Reference issues when relevant (e.g.,
fix(#123): resolve dependency mapping)
- Use clear, concise language.
- Write in active voice when possible.
- Use second person ("you") to address the reader.
- Keep sentences and paragraphs short.
- Use headings and subheadings for structure.
- Use proper heading hierarchy (H1 → H2 → H3).
- Include alt text for images
- Use code blocks with language specification
- Link to related documentation sections
- Use tables for structured data
Each content file should include proper front matter:
---
title: "Your Page Title"
weight: 10
description: >
Brief description for SEO and navigation
categories: ["Category"]
tags: ["tag1", "tag2"]
type: docs
---- Node.js 22+
- Go 1.18+ (for Hugo extended)
- Hugo extended 0.145.0+
- Git
-
Clone the repository:
git clone https://github.com/hiero-ledger/solo-docs.git cd solo-docs -
Install dependencies:
npm install
-
Start the development server:
hugo server -D --baseURL http://localhost:1313/ --cleanDestinationDir
Open
http://localhost:1313/in your browser.
# Build the site
npm run build
# Start development server
npm run serve
# Clean build artifacts
npm run clean
# Format code
npm run fix:format
# Run tests (link checking)
npm run testcontent/en/docs/
├── _index.md # Documentation home page
├── simple-solo-setup/ # Getting started guides
├── advanced-solo-setup/ # Complex configurations
├── using-solo/ # Usage and operations
├── troubleshooting.md # Common issues
└── community-contributions.md # Community info
- Test your changes locally
- Check that links work correctly
- Ensure proper formatting and spelling
- Follow the content guidelines above
- Update any related documentation
When creating a pull request, include:
- Description: What changes and why
- Testing: How you tested the changes
- Screenshots: For UI or layout changes
- Related Issues: Link to any related issues
- Automated checks will run (formatting, link checking)
- A maintainer will review your changes
- Address any feedback or requested changes
- Once approved, your PR will be merged
- Be constructive and respectful
- Focus on the content and user experience
- Check for technical accuracy
- Verify adherence to style guidelines
- Test changes when possible
- Be open to feedback
- Explain your reasoning when requested
- Make requested changes promptly
- Ask questions if anything is unclear
- Use the bug report template
- Include steps to reproduce
- Provide environment details
- Add screenshots if relevant
- Describe the problem you're trying to solve
- Explain your proposed solution
- Consider alternative approaches
- Be specific about what needs improvement
- Suggest concrete changes when possible
- Provide examples from other documentation
- Discussions: Use GitHub Discussions for questions
- Issues: Report bugs and request features on GitHub Issues
- Solo Tool: For questions about Solo itself, visit the Solo repository
Contributors are recognized in several ways:
- Your name in the contributor list
- Attribution in release notes
- Recognition in community discussions
Thank you for contributing to Solo documentation! 🎉