Lojhan

Contributing to the Documentation

Thank you for your interest in contributing to our documentation! This guide will help you understand how to add or modify content effectively.

Content Structure

Our documentation is bilingual, with content available in both English (en-US) and Portuguese (pt-BR). The content is organized as follows:

map
public/content/
β”œβ”€β”€ en-US/     # English content
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ golang/
β”‚   β”‚   β”œβ”€β”€ README.md
β”‚   β”‚   β”œβ”€β”€ struct_tags.md
β”‚   β”‚   └── ...
β”‚   └── dotnet/
β”‚       └── ...
└── pt-BR/     # Portuguese content
    β”œβ”€β”€ README.md
    β”œβ”€β”€ golang/
    β”‚   β”œβ”€β”€ README.md
    β”‚   β”œβ”€β”€ struct_tags.md
    β”‚   └── ...
    └── dotnet/
        └── ...

Contribution Guidelines

General Principles

  1. Bilingual Content - All content should be available in both English and Portuguese
  2. Technical Accuracy - Ensure all technical information is correct and up-to-date
  3. Clear Examples - Include practical code examples when appropriate
  4. Consistent Style - Follow the established style and formatting guidelines

Adding New Content

When adding new content, please follow these steps:

  1. Create both language versions - Content must be added in both /en-US/ and /pt-BR/ directories
  2. Maintain parallel structure - Keep the same file paths and names across both language versions
  3. Include proper metadata - Add appropriate headers and metadata to both versions
  4. Link properly - Ensure all internal links work in both language versions

Formatting Guidelines

Pull Request Process

Before Creating a PR

  1. Check existing content - Ensure your contribution doesn't duplicate existing material
  2. Test locally - Make sure your changes render correctly in the site

Creating a Pull Request

  1. Fork the repository
  2. Create a new branch for your changes
  3. Make your changes to both language versions
  4. Commit your changes with clear, descriptive commit messages
  5. Push your changes to your fork
  6. Submit a pull request to the main repository

PR Description

When submitting a pull request, please include:

Review Process

After submitting your PR:

  1. Maintainers will review your changes
  2. You may receive feedback requesting changes
  3. Once approved, your content will be merged into the main documentation

Translation Guidelines

When creating content in both languages:

Thank you for contributing to making our documentation better for everyone!

Authors: