Thank you for your interest in contributing to the Okto documentation! We value community contributions and appreciate you taking the time to help improve our documentation. Please read these guidelines carefully to ensure a smooth and efficient contribution process.
- Development Workflow
- Documentation Standards
- Contribution Review Process
- Issue Reporting
- Join the Community
To contribute to the Okto documentation, please follow this standard Git workflow:
-
Fork the Repository: Create your own fork of the
okto-sdk-docs-v2
repository on GitHub. -
Create a Feature Branch: Create a dedicated branch for your contribution, named descriptively:
git checkout -b feat/your-feature-name # Example: git checkout -b feat/improve-authentication-guide
-
Commit Your Changes: Make your documentation changes and commit them. Please adhere to Conventional Commits for commit message formatting. This helps us maintain a clear and organized commit history.
git commit -m "docs: improve authentication guide clarity"
-
Push to Your Fork: Push your feature branch to your forked repository on GitHub:
git push origin feat/your-feature-name
-
Submit a Pull Request (PR): Open a Pull Request against the
main
branch of the mainokto-sdk-docs-v2
repository. Please provide a clear and concise description of your changes in the PR.
To maintain a high standard of quality and consistency across the Okto documentation, please adhere to the following guidelines:
-
Use MDX for Interactivity: Utilize MDX (Markdown + JSX) to create interactive documentation components and enhance user engagement.
-
Maintain Existing Hierarchy: When adding new documentation, please follow the established directory structure and hierarchy. For example, SDK-specific documentation should be organized as follows:
/docs ├── [sdk-name] (e.g., /docs/react-sdk) │ ├── getting-started │ ├── usage │ ├── api-reference │ ├── ui-customization │ └── troubleshooting
- Conciseness: Keep paragraphs concise and focused, ideally under 5 lines for readability.
- Active Voice: Write in an active voice for clarity and directness.
- Code Samples are Essential: Include clear and well-formatted code samples for all code-related explanations.
- Visual Aids for Complex Flows: Use Mermaid diagrams to visually represent complex workflows, processes, or architectural components.
- Link Verification: Please verify all external links monthly to ensure they are still active and relevant.
- Use Headers Properly: Structure content with properly nested headers (h2, h3, h4) for clear organization.
Once you've prepared your documentation improvements and submitted a pull request, here's what happens next:
- The Okto documentation team will review your contribution
- We may suggest changes or improvements
- Once approved, your contribution will be merged into the main branch
- Your name will be added to our contributors list (unless you opt out)
Not ready to contribute code yet? You can still help improve our documentation by reporting issues you encounter while using it. Identifying problems is the first step toward better documentation.
If you encounter errors, or areas for improvement in the documentation, please help us by submitting detailed issue reports. Documentation issues might include:
- Incorrect or missing information
- Outdated Content
- Unclear explanations
- Broken links
- Code samples that don't work
- Formatting problems
When reporting an issue with the documentation, please include:
## Documentation Issue
**Page URL/Location:** [URL or path to the affected page]
**Issue Type:** [Missing information/Incorrect information/Unclear explanation/Outdated content/Broken link/Code sample issue/Typo or grammar/Formatting]
**Description:**
[Provide a clear description of the issue you found]
**Current Content:** (if applicable)
[Quote the current problematic content]
**Suggested Improvement:** (if you have one)
[Describe how you think the documentation could be improved]
**Screenshots:** (if applicable)
[Attach screenshots highlighting the issue]
**Additional Context:**
[Any additional information that might help understand the issue]
If you have ideas for improving or expanding the documentation, we welcome your enhancement suggestions through our standardized request process.
## Documentation Enhancement Request
**Documentation Area:** [Specify which part of the documentation this enhancement relates to]
**Enhancement Type:** [New content/Expanded explanation/Reorganization/Better examples/Visual aids/Other]
**Description:**
[Describe clearly what you think should be added or improved in the documentation]
**Who Would Benefit:**
[Explain which users would benefit from this enhancement and how]
**Proposed Structure:** (if applicable)
[If suggesting new content, provide an outline of how you think it should be structured]
**Examples/References:** (if applicable)
[Include examples or references to similar documentation elsewhere that illustrates your idea]
For real-time discussions, questions, and collaboration, please join our Discord Server.
Thank you for helping make Okto documentation better for everyone!