============================= Repository README Style Guide ============================= ----------------------------------------------------- Structure and Writing Standards for MxOS Repositories ----------------------------------------------------- :Authors: - Rénich Bon Ćirić :Organization: Fundación MxOS, A.C. :Date: September 2026 :Status: Active Standard Description and Scope ===================== This document complements the :doc:`General Style Guide ` and defines the mandatory structure required for the ``README.rst`` file at the root of any repository in the MxOS Foundation ecosystem. Differences from Thematic Documents =================================== Unlike full-length portal documents, ``README.rst`` serves as the immediate technical landing page for developers on the Git forge: * The main title uses formal overline and underline with equals signs ``=``, matching the exact character length. * The document must prioritize high-density, actionable information: direct instructions to build, test, and deploy, omitting rhetorical or decorative introductions. Mandatory Sections in README.rst ================================ Every Foundation repository must organize its ``README.rst`` with the following canonical sections: 1. **Description**: Executive summary of the component: what problem it solves, its high-level architecture, and its role within the MxOS distribution. 2. **Prerequisites**: Software dependencies, required build tools such as GCC/Clang compiler, Crystal runtime, Mock packages, Ansible, or Podman, and minimum hardware/operating system requirements. 3. **Build and Execution Procedure**: Exact, reproducible commands to clone, configure, build, and run the project locally. Typed code blocks ``.. code-block:: bash`` must be used. 4. **Validation and Testing**: Instructions for running unit test suites, static code linters such as Ameba, ShellCheck, or rstcheck, and integration checks. 5. **Project Structure**: Primary directory tree describing the responsibility of each submodule or directory. 6. **License and Contact**: Clear specification of the applicable open-source license such as GPLv3, Apache 2.0, or CC-BY-SA 4.0, along with institutional channels for support or vulnerability reporting.