Commit Graph

205 Commits

Author SHA1 Message Date
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
c93f0c422a
README.md: add more TODO 2021-12-18 22:37:58 +02:00
1655728503
README.md: update TODO 2021-12-16 21:36:55 +02:00
14ba97e8de
Add requirements.txt
Generated with poetry:

    $ poetry export -f requirements.txt > requirements.txt

This is useful for people who don't have poetry.
2021-12-16 21:24:58 +02:00
5b075d32f3
poetry.lock: run poetry update 2021-12-16 21:24:14 +02:00
a61aaf4007
pyproject.toml: add csvkit
Useful for CSV wrangling.
2021-12-16 21:23:48 +02:00
Marie-Angélique Laporte
ac308fb1db adding fsc rdf 2021-12-16 12:58:15 +01:00
marieALaporte
074d6a46bd Automated commit with site updates 2021-12-16 08:59:56 +00:00
Marie-Angélique Laporte
355fa3a56f Update rdf_creation.py 2021-12-16 09:58:51 +01:00
marieALaporte
1b6b75f886 Automated commit with site updates 2021-12-14 14:07:12 +00:00
Marie-Angélique Laporte
dcf6921bd0
upper case sustainability outcome 2021-12-14 15:06:20 +01:00
alanorth
a2491b9e15 Automated commit with site updates 2021-12-14 13:19:21 +00:00
5ee058fede
data/schema-fields.csv: minor update
Try to change "sustainability issue" to "Susatainability issue"
2021-12-14 15:17:59 +02:00
3961c3e483
.github/workflows/pages.yml: try to git pull
We should git pull before we update the site.
2021-12-14 15:14:37 +02:00
2eeaa63cce
.github/workflows/pages.yml: add more comments 2021-12-14 14:58:01 +02:00
99be04a784
.github/workflows/pages.yml: update dependencies
Only attempt to update the site content if parsing the schema and
updating the site was successful.
2021-12-14 14:54:54 +02:00
871dca1a49
.github/workflows/pages.yml: add comments 2021-12-14 14:54:07 +02:00
alanorth
4db80ac8c1 Automated commit with site updates 2021-12-14 12:49:06 +00:00
76294adab6
.github/workflows/pages.yml: retab 2021-12-14 14:48:06 +02:00
d6d9767e2d
.github/workflows/pages.yml: attempt to update site
If there are changes to the site after running the schema parsing
script we should commit the changes.
2021-12-14 14:46:16 +02:00
ef580dfd86
.github/workflows/pages.yml: use poetry run 2021-12-14 14:24:38 +02:00
409b7782ac
.github/workflows/pages.yml: parse the schema
Try to install Python dependencies with Poetry and then parse the
schema using ./util/generate-hugo-content.py. I'm not sure if we
need to use `poetry run ...` instead.
2021-12-14 14:22:21 +02:00
b6c2be7960
.github/workflows/pages.yml: try default Poetry
It's better if we don't have to specify an exact version for now.
2021-12-14 14:21:43 +02:00
6fa4791eaf
.github/workflows/pages.yml: Fix syntax
It's due to the indentation (missing the with:).
2021-12-14 14:14:35 +02:00
0ccf573ace
.github/workflows/pages.yml: syntax error
Not sure why this line has a syntax error...?
2021-12-14 14:13:36 +02:00
4e92f0b8cd
.github/workflows/pages.yml: adjust branches
Run Python job steps on all branches, but only push to GitHub pages
from main.

See: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
See: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
2021-12-14 14:09:58 +02:00
22b78ea149
.github/workflows/pages.yml: add Python for parsing
Attempt to add Python and Poetry so we can run the schema parsing
scripts to generate the site content and the RDF.
2021-12-14 14:02:16 +02:00
3c85358f77 README.md: remove TODO about DSpace fields
We have converted this to a GitHub issue.

See: https://github.com/alanorth/iseal-schema/issues/1
2021-12-13 16:16:18 +02:00
Marie-Angélique Laporte
6f62b97b53 rdf regenerate 2021-12-13 14:20:13 +01:00
Marie-Angélique Laporte
0feba6829a removing unused files 2021-12-13 14:10:59 +01:00
cf5f17ff0f
site/docs: regenerate site with hugo 2021-12-13 15:10:04 +02:00
c815e0cffd
package.json: add npm script for hugo server
Use `npm run server` to start local Hugo server.
2021-12-13 15:07:47 +02:00
eb18a5ab3b
site: regenerate vocabularies 2021-12-13 15:05:49 +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
96bc2b5f79
Extract controlled vocabularies
We want to keep these outside of the schema file itself to make it
easier and less error-prone to edit them.
2021-12-13 13:32:29 +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
b8f2819556
site/docs: regenerate site with hugo 2021-12-13 10:24:14 +02:00
3feddf1077
site/assets: run npm build
Regenerate static assets after change in CSS.
2021-12-13 10:23:42 +02:00
f059918c40
Re-work download section
I don't like the "hanging" icons now that I look again. Better to
use normal Bootstrap columns and rows here with the icons in the
header. I need to figure out how to add spacing between these when
we are on small devices and the columns stack, though!
2021-12-13 10:22:46 +02:00
b50e5fa3fd
site/docs: regenerate with hugo 2021-12-12 22:03:23 +02:00
9f88a0ab44
site/layouts: use table for clusters
This is better than a list.
2021-12-12 22:02:43 +02:00
fb43eeb0c8
site/package-lock.json: latest changes
After installing the bootstrap-icons.
2021-12-12 21:24:00 +02:00
7b18447e5d
site: regenerate static assets 2021-12-12 21:16:23 +02:00
060ce5e556
site: add download section
Use something similar to Bootstrap's "Hanging icons" example from
the Bootstrap 5.1 docs.

See: https://getbootstrap.com/docs/5.1/examples/features/
2021-12-12 21:13:46 +02:00
81466a508c
site/package.json: use Bootstrap Icons
For download icons.
2021-12-12 21:09:42 +02:00
86f49b5fb8
README.md: add more TODO 2021-12-07 23:21:26 +02:00
6c58ea2db2
Update python requirements.txt
Generated with poetry:

    $ poetry export -f requirements.txt > requirements.txt

This is useful for people who don't have poetry.
2021-12-07 23:05:27 +02:00