From 2ded691f9d35ac142aa2c6da01fc0f5884398365 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Fri, 28 Jul 2023 08:26:16 -0400 Subject: [PATCH] Update contributing documentation for restructuring of repository (#216) Co-authored-by: Johannes Tax Co-authored-by: Armin Ruech --- CONTRIBUTING.md | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc249e082..5721670ff 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,10 +11,51 @@ requirements and recommendations. Before you can contribute, you will need to sign the [Contributor License Agreement](https://identity.linuxfoundation.org/projects/cncf). -## TODO +## How to Contribute -We need to flesh out the rest of the contributing document for specifics on -semantic conventions. +When contributing to semantic conventions, it's important to understand a few +key, but non-obvious, aspects: + +- All attributes, metrics, etc. are formally defined in YAML files under + the `model/` directory. +- All descriptions, normative language are defined in the `docs/` + directory. + - We provide tooling to generate Markdown documentation from the formal + YAML definitons. See [Yaml to Markdown](#yaml-to-markdown). + - We use Hugo to render [semantic conventions on our website](https://opentelemetry.io/docs/specs/semconv/). + You will see ` +``` + +When creating new pages, you should provide the `linkTitle` attribute. This is used +to generate the navigation bar on the website, and will be listed relative to the +"parent" document. + +## Automation + +Semantic Conventions provides a set of automated tools for general development. ### Consistency Checks