Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for Markdown headings used in spec generation #867

Merged
merged 24 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ and during our [regular meetings][meetings].

All the details are in: <https://spdx.dev/participate/tech/>

This repository consists of Markdown files describing the model classes,
This repository consists of files written in
[a specific Markdown format][format] describing the model classes,
datatypes, properties, and vocabularies which will be used to automatically
create documentation, ontologies, and validation artifacts.
These are organized by profile.
Expand Down Expand Up @@ -54,6 +55,11 @@ updating individual profiles.

This method of development was agreed upon by the SPDX Tech team on 2023-01-17.

## Translation

Translations of model descriptions are welcome.
Please see [translation.md][translation] for details.

## Profile Maintainers

In accordance with the development model described above,
Expand All @@ -76,6 +82,8 @@ Each profile in active development phase also has their own
| Security | [Thomas Steenbergen][gh-thomas], [Adolfo García Veytia][gh-adolfo], and [Rose Judge][gh-rose] |
| Software | [Alexios Zavras][gh-alexios] and [Gary O'Neall][gh-gary] |

[format]: ./docs/format.md
[translation]: ./docs/translation.md
[spdx-tech-list]: https://lists.spdx.org/mailman/listinfo/spdx-tech
[meetings]: https://github.com/spdx/meetings/
[issues]: https://github.com/spdx/spdx-3-model/issues/
Expand Down
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ standard.

## Branches and Formats

The editable files inside `model/` directory are written in a constrained
subset of Markdown, with specific headings for specific types of information,
The editable files inside `model/` directory are written in a
[constrained subset of Markdown][format],
with specific headings for specific types of information,
and are stored in the `main` branch.

Textual description of these model files
[can be translated][translation] into other natural languages.

The editable files are automatically processed by
[spec-parser](https://github.com/spdx/spec-parser/)
and the following are generated:
Expand All @@ -34,7 +38,7 @@ and the following are generated:
- [Turtle format](https://en.wikipedia.org/wiki/Turtle_(syntax)):
[spdx-model.ttl](https://spdx.org/rdf/3.0.1/spdx-model.ttl)
- [JSON-LD format](https://json-ld.org/):
[spdx-model.jsonld](https://spdx.github.io/spdx-spec/v3.0.1/rdf/spdx-model.jsonld)
[spdx-model.jsonld](https://spdx.github.io/spdx-spec/v3.0.1/rdf/spdx-model.jsonld)

People who wish to read the current version of the information
should be viewing the generated files, while anyone wanting to edit
Expand All @@ -47,7 +51,8 @@ For the specification content other than the model, they are in the

The SPDX model is described using profiles related to the software application.
The profiles are organized as sub-directories under the ‘model’ directory.
The model diagram is available in [model.drawio](./model.drawio) file.

The model diagram is available in [model.drawio][model-diagram] file.

Note:

Expand Down Expand Up @@ -120,7 +125,11 @@ snippets, and artifacts of the software application.

See [CHANGELOG.md](CHANGELOG.md) for changes between versions.

## Contribute!
## Glossary

See [glossary][glossary] for definitions and explanations of terms used throughout the specification.

## Contribute

For information about how to contribute to a specific profile,
please see [Contributing.md](Contributing.md).
Expand All @@ -133,5 +142,9 @@ and during our [regular meetings][meetings].

All the details are in: <https://spdx.dev/participate/tech/>

[format]: ./docs/format.md
[translation]: ./docs/translation.md
[model-diagram]: ./docs/model.drawio
[glossary]: ./docs/glossary.md
[meetings]: https://github.com/spdx/meetings/
[spdx-tech-list]: https://lists.spdx.org/mailman/listinfo/spdx-tech
Loading