Commit Graph

314 Commits

Author SHA1 Message Date
1678ec077e
site/layouts: add cluster to partialCached key
When we cache the output of partials we get duplicate elements be-
cause both ISEAL and FSC have "Scope", "Certificate", etc modules.
We need to use the cluster as an extra key for the partial cache
so these don't overlap.

See: https://gohugo.io/functions/partialcached/
2022-02-06 21:32:45 +03:00
baa22a7afc
source/scss/fsc.scss: style h4 2022-02-06 21:17:56 +03:00
2c789ea9a4
site/layouts: adjust fsc layout for modules
Adjust the FSC layout to group modules together.
2022-02-06 21:17:47 +03:00
008ff55695
site/layouts: use bubble buttons for elements
I got rid of these when initially trying to group the elements for
each module together under their clusters, but actually now there
are less elements so we can keep this bubble style. A bonus is that
we don't need to figure out how to delimit by comma in Hugo's Go
templates (the last one is always tricky).
2022-02-06 21:04:20 +03:00
89c6228770
site/layouts: link to modules in top table 2022-02-06 21:00:54 +03:00
d7544f63e9
source/scss/iseal.scss: apply style to h4 2022-02-06 21:00:14 +03:00
503da470df
site/layouts: group elements by module
Group elements by module within each cluster.
2022-02-06 20:58:42 +03:00
24ff4048b6
site: remove old comment in HTML template 2022-02-06 17:59:19 +03:00
alanorth
a5d7f53cd4 Automated commit with site updates 2022-02-03 18:44:54 +00:00
d7d3bf42cd
site/assets: regenerate static assets
After updating source/scss/iseal.scss I ran `npm run build` to reg-
enerate the static assets like iseal.min.css.
2022-02-03 21:38:28 +03:00
12134512e8
site: add ISEAL logo 2022-02-03 21:37:53 +03:00
adamISEAL
aea79cea28 Automated commit with site updates 2022-02-03 15:42:43 +00:00
adamISEAL
46e4f064d3 Update fsc.csv
Changed 'impact' module to 'evaluation'
2022-02-03 15:41:40 +00:00
adamISEAL
db06340277 Update iseal-core.csv
Remove control values column in csv
2022-02-03 15:37:14 +00:00
adamISEAL
957724703b Automated commit with site updates 2022-02-03 15:31:12 +00:00
adamISEAL
8cd468b0ce Update home.html
Table update 'impact' to 'evaluation'
2022-02-03 15:30:14 +00:00
alicevthompson
8977cd441f Automated commit with site updates 2022-02-03 15:19:49 +00:00
alicevthompson
4c8d9f0b16 Update iseal-core.csv
Change Impact module to Evaluation
2022-02-03 15:18:42 +00:00
9951d6598d
README.md: update TODO 2022-01-30 21:09:51 +03:00
bca3d25bbd
README-dev.md: massive update on workflows 2022-01-30 20:56:29 +03:00
852e793c3d
README.md: update TODO
The `util/create-rdf.py` script is slightly out of date with the
latest changes in the repository. The paths to CSV and TTL files
need to be updated, as well as the namespace for the project.
2022-01-30 20:38:30 +03:00
0ee5f5218b
README-dev.md: adjust Python steps
On Linux and macOS we can run these scripts directly because they
have executable permissions and the shebang line points to a sane
Python, but on Windows only God can help us. Better to write the
slightly lamer invocation here with Python directly (even though
the slash style will be different)...
2022-01-30 20:06:05 +03:00
6216144070
util/generate-hugo-content.py: controlled vocabularies
We are planning to remove the controlled vocabularies from the CSV
files so we should not expect that this column will exist. Instead,
check if there is a controlled vocabulary in the data directory.

The controlled vocabularies were already exported once using the
util/export-controlled-vocabularies.py script so we don't actually
need them in the CSVs anymore.
2022-01-30 20:04:28 +03:00
812c9241bd
README-dev.md: start working on docs 2022-01-30 19:41:45 +03:00
362c7f8779 README-dev.md: update introduction 2022-01-30 13:29:07 +03:00
51cc63843b README-dev.md: update note about Python 2022-01-30 13:29:07 +03:00
88077ea494 Update requirements.txt
Generated with poetry:

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

This is useful for people who don't have poetry.
2022-01-30 13:29:07 +03:00
dd6f4ee8d6 poetry.lock: run poetry update 2022-01-30 13:29:07 +03:00
fe36c5c25b util/*.py: run isort
Sorts and organizes the Python imports.
2022-01-30 13:29:07 +03:00
7488a24e34 pyproject.toml: update dependencies
Most of these are minor and would have been selected by the semant-
ic version string during `poetry install`, but I want to make sure
that they are as current as possible before I leave the project.

In the case of Pandas 1.4.0 the minimum Python version is actually
only 3.8, so let's set that as the minimum.
2022-01-30 13:29:07 +03:00
ddc7596a09 pyproject.toml: change name to iseal-core 2022-01-30 13:29:07 +03:00
2b1a1ea943 package-lock.json: run npm update
This syncs the latest dependencies as specified by evaluating the
package.json.
2022-01-30 13:29:07 +03:00
3da6569961 site/package.json: minor version bump for bootstrap
NPM semantic versioning will already select 5.1.3 due to the ^5.1.1
version string, but let's just update package.json anyways.
2022-01-30 13:29:07 +03:00
86ae899f3e site/package.json: update Hugo
Only used on local development workflows (GitHub Actions uses its
own Hugo task that always has the latest version).
2022-01-30 13:29:07 +03:00
alanorth
18c6560b58 Automated commit with site updates 2022-01-30 09:32:54 +00:00
88ba512cf1
README-dev.md: improve introduction 2022-01-30 12:31:30 +03:00
e202cbe3de
Add README-dev.md
I need to start collecting and organizing documentation for various
technical workflows here. For example:

- Adding a new schema element
- Adding a new schema extension
- Updating controlled vocabularies
- Updating the documentation site layout

Etc...
2022-01-29 17:15:51 +03:00
6a1a99fb2a README.md: begin reorganizing
This README should be low tech.
2022-01-29 17:05:26 +03:00
alanorth
275fd1d851 Automated commit with site updates 2022-01-29 13:28:27 +00:00
7876edb171
Update screenshot.png
Take a screenshot with window borders and apply a shadow.

See: https://stefanscherer.github.io/how-to-take-screenshots-with-drop-shadow/
2022-01-29 16:26:37 +03:00
alanorth
97e31887b9 Automated commit with site updates 2022-01-23 16:00:23 +00:00
0321ad3c44
data/fsc.csv: add fsc.transitionEndDate
This is the date a standard is no longer in transition.
2022-01-23 18:55:38 +03:00
261b089eaa
data/fsc.csv: update description for fsc.inTransition 2022-01-23 18:52:20 +03:00
12b9a274f8
Update requirements.txt
Generated with poetry:

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

This is useful for people who don't have poetry and will use python
with vanilla virtual environments.
2022-01-23 18:02:59 +03:00
e81b7e98dd
poetry.lock: run poetry update 2022-01-23 18:02:33 +03:00
alanorth
92fd918081 Automated commit with site updates 2022-01-11 19:03:47 +00:00
0ebe3bd751
util/create-schema-dspace.py: update comment 2022-01-11 20:57:42 +02:00
d0093722ec
util/create-schema-dspace.py: update logic
Detect actual HTTP return codes for various situations:

- HTTP 500 means the schema or field already exists
- HTTP 415 means we are posting some invalid data
- HTTP 404 means the parent schema does not exist
2022-01-11 20:55:34 +02:00
b0ef411f62
util/create-schema-dspace.py: fix error in POST
The missing "headers=headers" was causing an HTTP 415 that took me
over an hour to fix. Sigh.
2022-01-11 20:54:19 +02:00
0fca6bbc90
util/create-schema-dspace.py: clean up output
Minor nitpick after staring at this while debugging for an hour. I
think the period at the end of these lines is ugly.
2022-01-11 20:53:55 +02:00