Skip to content

Commit

Permalink
update for nbsphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierr committed Jan 30, 2024
1 parent 05ce175 commit 8a9cbad
Show file tree
Hide file tree
Showing 5 changed files with 407 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "sphinx/"

pre-build-command: "apt-get update -y; apt-get install -y pandoc"

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion sphinx/about.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.. toctree::
:hidden:

example_person_jsonld_nb.ipynb

About the Battery Ontology
==========================================
==========================

The EMMO Battery Domain Ontology is a semantic resource for the terms and relations needed to describe things, processes, and data in the battery domain. It can be used to **generate linked data** for the Semantic Web, **comply with the FAIR data guidelines**, support **interoperaility of data** among different systems, and more!

Expand Down
4 changes: 2 additions & 2 deletions sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
extensions = ['sphinxcontrib.globalsubs',
'sphinx.ext.intersphinx',
'sphinx.ext.autosectionlabel',
'sphinx_design'
]
'sphinx_design',
'nbsphinx']

autosectionlabel_prefix_document = True

Expand Down
Loading

0 comments on commit 8a9cbad

Please sign in to comment.