Skip to content

Commit

Permalink
update directory structure and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark committed Sep 17, 2024
1 parent daac578 commit 07c67be
Show file tree
Hide file tree
Showing 44 changed files with 17,852 additions and 11,392 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Sphinx: Render docs"
name: "docs"

on:
push:
Expand Down Expand Up @@ -32,15 +32,15 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U setuptools wheel
pip install -r requirements_docs.txt
pip install -r docs/requirements.txt
- name: Render documentation from ttl
run: python sphinx/ttl_to_rst.py
run: python docs/scripts/ttl_to_rst.py

- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "sphinx/"
docs-folder: "docs/"
pre-build-command: "apt-get update -y; apt-get install -y pandoc"

# Still upload built documentation as an artifact if not deploying
Expand All @@ -49,12 +49,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: documentationHTML
path: sphinx/_build/html/
path: docs/_build/html/

# Only deploy if pushing to 'master'
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: sphinx/_build/html
publish_dir: docs/_build/html
24,346 changes: 13,148 additions & 11,198 deletions battinfo-inferred.ttl

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions battinfo.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,42 @@
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix annotations: <https://w3id.org/emmo/top/annotations#> .
@prefix electrochemistry: <https://big-map.github.io/BattINFO/ontology/electrochemistry#> .
@base <https://big-map.github.io/BattINFO/ontology/BattINFO> .
@prefix echem: <https://w3id.org/emmo/domain/electrochemistry#> .
@prefix batt: <https://w3id.org/emmo/domain/battery#> .
@base <https://w3id.org/battinfo> .

<https://big-map.github.io/BattINFO/ontology/BattINFO> rdf:type owl:Ontology ;
owl:versionIRI <https://big-map.github.io/BattINFO/ontology/BattINFO/0.7.0/battinfo> ;
owl:imports <https://w3id.org/emmo/domain/battery/0.8.0-beta/battery> ;
dcterms:abstract """A battery interface domain ontology based on EMMO.
<https://w3id.org/battinfo> rdf:type owl:Ontology ;
owl:versionIRI <https://w3id.org/battinfo/0.8.0-beta/battinfo> ;
owl:imports <https://w3id.org/emmo/domain/battery/0.13.0-beta/battery> ;
dcterms:abstract """A battery interface domain ontology based on EMMO.
This file is intended to be empty and merely collecting the other ontologies.
Released under the Creative Commons license Attribution 4.0 International (CC BY 4.0)."""@en ;
dcterms:contributor "Anna Szczesna"@en ,
"Denmark Technical University (DTU), DK"@en ,
"Deyana Stoytcheva"@en ,
"EPFL, CH"@en ,
"Fraunhofer ISC, DE"@en ,
"ICMAB, ES"@en ,
"Marek Marcinek"@en ,
"Martin Uhrin"@en ,
"Miran Gaberscek"@en ,
"National Institute of Chemistry, SI"@en ,
"Rosa Palacin"@en ,
"Simon Stier"@en ,
"Warsaw University of Technology, PL"@en ;
dcterms:creator "Casper Welzel Andersen"@en ,
"Eibar Flores"@en ,
"Francesca Lønstad Bleken"@en ,
"Jesper Friis"@en ,
"SINTEF, NO"@en ,
"Simon Clark"@en ;
dcterms:license "https://creativecommons.org/licenses/by/4.0/legalcode" ;
dcterms:title "Battery Interface Ontology (BattINFO)"@en ;
rdfs:comment """Contacts:
dcterms:contributor "Anna Szczesna"@en ,
"Denmark Technical University (DTU), DK"@en ,
"Deyana Stoytcheva"@en ,
"EPFL, CH"@en ,
"Fraunhofer ISC, DE"@en ,
"ICMAB, ES"@en ,
"Marek Marcinek"@en ,
"Martin Uhrin"@en ,
"Miran Gaberscek"@en ,
"National Institute of Chemistry, SI"@en ,
"Rosa Palacin"@en ,
"Simon Stier"@en ,
"Warsaw University of Technology, PL"@en ;
dcterms:creator "Casper Welzel Andersen"@en ,
"Eibar Flores"@en ,
"Francesca Lønstad Bleken"@en ,
"Jesper Friis"@en ,
"SINTEF, NO"@en ,
"Simon Clark"@en ;
dcterms:license "https://creativecommons.org/licenses/by/4.0/legalcode" ;
dcterms:title "Battery Interface Ontology (BattINFO)"@en ;
rdfs:comment """Contacts:
Simon Clark
SINTEF Industry
email: [email protected]"""@en ;
owl:versionInfo "0.7.0" .
owl:versionInfo "0.8.0" .

#################################################################
# Annotation properties
Expand Down
Loading

0 comments on commit 07c67be

Please sign in to comment.