spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

Create a website for the RDF IRI's in the spec

Open goneall opened this issue 1 year ago • 2 comments

In SPDX 2.X, if you went to the URL represented by the IRI for a class or property, you went to an actual HTML page describing the spec. For SPDX 3.0, we would need separate HTML files for the spec.

If these files are generated, we can upload those to the AWS S3 bucket and publish them.

goneall avatar Dec 17 '24 17:12 goneall

One possible solution is to just generate redirects to the MKDocs github.io pages.

Attached is an example HTML page which redirects to the Core page.

The example is what is currently used to redirect from http://spdx.org/rdf/ontology/spdx-3-0-1 index.html.txt

goneall avatar Dec 27 '24 18:12 goneall

@ilans comment from https://github.com/spdx/spdx-3-model/issues/1005:

I suggest to forward the ID (the URL) of classes, properties, vocabularies and named individuals to their appropriate section in the spec.

Examples: https://spdx.org/rdf/3.0.1/terms/Build/Build -> https://spdx.github.io/spdx-spec/v3.0.1/model/Build/Classes/Build/ https://spdx.org/rdf/3.0.1/terms/SimpleLicensing/licenseExpression -> https://spdx.github.io/spdx-spec/v3.0.1/model/SimpleLicensing/Properties/licenseExpression/ https://spdx.org/rdf/3.0.1/terms/Security/ExploitCatalogType/kev -> https://spdx.github.io/spdx-spec/v3.0.1/model/Security/Vocabularies/ExploitCatalogType/ https://spdx.org/rdf/3.0.1/terms/Core/NoneElement -> https://spdx.github.io/spdx-spec/v3.0.1/model/Core/Individuals/NoneElement/

bact avatar Mar 09 '25 04:03 bact