All, It took a little longer than expected, but I've published the initial version of spdx3tohtml which will convert an SPDX 3 document into a (currently very ugly) HTML document with links back to the documentation. Using it should be as simple as `pip install spdx3tohtml` and the --help will give you the usage.
It also has IDs based on the RDF IDs of all classes and properties in input example, so for example if the HTML file is published somewhere, linking to http://example.spdx.org/example.html#https://spdx.org/rdf/3.0.1/terms/Core/Relationship will automatically jump to the first instance of the "Relationship" class in the document. This should allow the SPDX documentation to easily link to an actual instance in the example file for users to reference. Hopefully we can get this integrated in the documentation release pipeline in combination with Gary's full SPDX example to provide examples of how to write SPDX JSON-LD for users. I'm really bad with CSS, so if someone wants to make the output look prettier, please submit a PR :) Thanks, Joshua Watt -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6035): https://lists.spdx.org/g/Spdx-tech/message/6035 Mute This Topic: https://lists.spdx.org/mt/116394920/21656 Group Owner: [email protected] Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
