Commit Graph

17 Commits

Author SHA1 Message Date
d37bfc453f util/generate-hugo-content.py: add support for fsc.csv
Currently the only difference is the name of the module column and
that there are no mandatory fields so we need to be careful there.
2021-12-21 19:07:16 +02:00
baf534efd5 Update references to shema-fields.csv 2021-12-20 12:04:11 +02:00
c106cf2cc3 util/create-rdf.py: add execute bit
So we can run it directly without calling Python.
2021-12-18 22:40:08 +02:00
8440637eaa Rename util/rdf_creation.py to util/create-rdf.py
Use imperative mood and a dash instead of underscore.
2021-12-18 22:38:57 +02:00
ac308fb1db adding fsc rdf 2021-12-16 12:58:15 +01:00
355fa3a56f Update rdf_creation.py 2021-12-16 09:58:51 +01:00
6f62b97b53 rdf regenerate 2021-12-13 14:20:13 +01:00
c5eca3cc12 util/generate-hugo-content.py: re-work vocabularies
Read vocabularies from the data/controlled-vocabularies directory
instead of exporting them from the schema itself. Also, I use the
name vocabulary.txt for all of them on the site since they are in
each field's directory already.
2021-12-13 15:03:20 +02:00
747837d14b util/generate-hugo-content.py: update comment 2021-12-13 13:31:29 +02:00
14edfab18b util/generate-hugo-content.py: minor re-org
We get the cluster first since clusters encompass modules.
2021-12-13 13:20:09 +02:00
fd3be3163f util/generate-hugo-content.py: don't split element name on dash
We don't need to do this anymore since we adopted the new clusters
and cleaned up the element name field.
2021-12-13 13:17:03 +02:00
0265e97a2b util/generate-hugo-content.py: read schema from CSV
Read the schema fields from CSV instead of Excel now that there is
a copy here in the repository.
2021-12-07 22:57:09 +02:00
2b27a79840 util/generate-hugo-content.py: update for clusters and modules
Peter re-worked the schema to incorporate the concept of clusters
and modules.
2021-11-26 11:58:06 +02:00
99d9c7cd94 util/generate-hugo-content.py: Update header 2021-11-17 17:16:22 +02:00
a5aad2d9a9 util/generate-hugo-content.py: write module to content
We need to write the IDSS module to the site content.
2021-11-11 15:05:18 +02:00
4e65813180 Rename util/generate_docs.py to util/generate-hugo-content.py
This script doesn't generate the docs itself. It actually only does
the schema parsing to generate the metadata term content and vocabs.
The docs site is generated by Hugo after running this.
2021-11-01 09:04:57 +02:00
30310e6db6 Add util/generate-docs.py
This script parses the Excel schema file to produce term metadata
and extract controlled vocabularies to the site content directory.
After running this we can generate the site using Hugo.
2021-11-01 08:21:50 +02:00