Commit Graph

12 Commits

Author SHA1 Message Date
75076124a5 util/generate-hugo-content.py: use dspace field name
Now all elements have DSpace field names so we can use that as the
unique identifier for each element.
2022-01-06 12:40:20 +02:00
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
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