Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docs structure #35

Merged
merged 2 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
pip install Markdown==3.4.3 rdflib==6.3.2 # Add any other dependencies if needed

- name: Render documentation from ttl
run: python sphinx/ttl_to_rst.py
run: python docs/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"

- name: Create context file from ttl
run: python sphinx/ttl_to_context.py
run: python docs/ttl_to_context.py

- name: Check if HTML context directory exists
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
fi

- name: Copy context file to HTML directory
run: sudo cp context/context.json sphinx/_build/html/context/
run: sudo cp context/context.json docs/_build/html/context/

- name: Commit changes
run: |
Expand Down Expand Up @@ -104,13 +104,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: documentationHTML
path: sphinx/_build/html/
path: docs/_build/html/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: sphinx/_build/html
publish_dir: docs/_build/html


2 changes: 1 addition & 1 deletion battery.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<https://w3id.org/emmo/domain/battery/battery> rdf:type owl:Ontology ;
owl:versionIRI <https://w3id.org/emmo/domain/battery/0.9.0-beta/battery> ;
owl:imports <https://w3id.org/emmo/domain/battery/0.9.0-beta/batteryquantities> ,
<https://w3id.org/emmo/domain/electrochemistry/0.11.0-beta/electrochemistry> ;
<https://w3id.org/emmo/domain/electrochemistry/0.12.1-beta/electrochemistry> ;
dcterms:abstract "The Battery Domain Ontology, a specialized domain within the Elementary Multiperspective Materials Ontology (EMMO), encompasses essential terms and relationships for battery components, cells, interfaces, methods, models, and data. Its primary objective is to enable the creation of linked and FAIR (Findable, Accessible, Interoperable, and Reusable) data, thereby fostering advancements in research and innovation within the realm of batteries. This ontology serves as a foundational resource for harmonizing battery knowledge representation, enhancing data interoperability, and accelerating progress in battery research and development." ;
dcterms:contributor "Casper Welzel Andersen" ,
"Francesca Lonstad Bleken" ,
Expand Down
2 changes: 1 addition & 1 deletion batteryquantities.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<https://w3id.org/emmo/domain/battery/batteryquantities> rdf:type owl:Ontology ;
owl:versionIRI <https://w3id.org/emmo/domain/battery/0.9.0-beta/batteryquantities> ;
owl:imports <https://w3id.org/emmo/domain/electrochemistry/0.11.0-beta/electrochemicalquantities> ;
owl:imports <https://w3id.org/emmo/domain/electrochemistry/0.12.1-beta/electrochemicalquantities> ;
dcterms:abstract "This battery quantities ontology is a domain of the Elementary Multiperspective Materials Ontology (EMMO). It is a specialized framework designed to represent and organize knowledge about battery quantities. It is designed to integrate with the battery domain ontology or other ontologies from the EMMO ecosystem. The main focus of this ontology is to provide machine-readable descriptions of common battery quantities, linking both to the larger descriptions of physical quantities in EMMO as well as other sources of information like the IEC, QUDT, Wikidata, etc. It should be used to support linked data generation in the battery domain."@en ;
dcterms:contributor "Casper Welzel Andersen" ,
"Francesca Lonstad Bleken" ,
Expand Down
4 changes: 2 additions & 2 deletions catalog-v001.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri id="Imports Wizard Entry" name="https://w3id.org/emmo/domain/electrochemistry/0.11.0-beta/electrochemistry" uri="https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/electrochemistry.ttl"/>
<uri id="Imports Wizard Entry" name="https://w3id.org/emmo/domain/electrochemistry/0.11.0-beta/electrochemicalquantities" uri="https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/electrochemicalquantities.ttl"/>
<uri id="Imports Wizard Entry" name="https://w3id.org/emmo/domain/electrochemistry/0.12.1-beta/electrochemistry" uri="https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/0.12.1-beta/electrochemistry.ttl"/>
<uri id="Imports Wizard Entry" name="https://w3id.org/emmo/domain/electrochemistry/0.12.1-beta/electrochemicalquantities" uri="https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/0.12.1-beta/electrochemicalquantities.ttl"/>
<uri id="Imports Wizard Entry" name="https://w3id.org/emmo/1.0.0-beta7" uri="https://raw.githubusercontent.com/emmo-repo/EMMO/1.0.0-beta7/emmo.ttl"/>
<group id="Folder Repository, directory=, recursive=true, Auto-Update=false, version=2" prefer="public" xml:base="">
<uri name="https://w3id.org/emmo/domain/battery/0.9.0-beta/battery" uri="./battery.ttl"/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
44 changes: 0 additions & 44 deletions docs/about.html

This file was deleted.

File renamed without changes.
33 changes: 0 additions & 33 deletions docs/assets/about.md

This file was deleted.

Binary file removed docs/assets/banner.jpg
Binary file not shown.
Loading
Loading