Skip to content

Commit

Permalink
Fix docs-skeleton to run without warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Dec 18, 2024
1 parent 52f0e70 commit 76b7ac7
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 15 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This action runs when a pull request to main is created or updated
# (but not when it is merged into main).

name: CI on pull request create or update
name: Test build for PRs
on:
pull_request_target:
branches:
Expand Down Expand Up @@ -47,7 +47,6 @@ jobs:
# install tagged version
python -m pip install -r docs/requirements.txt
XXX
- name: Set dynamic environment variables.
run: |
echo "RUN_DATE=$(date +'%Y-%m-%dT%H%M')" >> $GITHUB_ENV
Expand All @@ -57,7 +56,6 @@ XXX
sphinx-build --nitpicky --fail-on-warning --keep-going docs docs/_build
cp -r docs/_build/. publish/
- name: Store publish dir (=pages) as artifact
# This step is not required and may be removed.
# It may be helpful for trouble shooting.
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
#
# Workflow steps:
# - checkout gh-pages for updating
# - create joined vocabulary file in addition to split version
# - create excel-file from turtle
# - build pyLODE docs
# - build sphinx docs/site
# - publish docs, vocabulary-turtle files and excel-file to gh-pages
# - publish new docs to gh-pages

name: Build
name: Build docs
on:
push:
branches:
Expand Down
53 changes: 53 additions & 0 deletions docs/_static/fig_A.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions docs/_static/fig_B.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions docs/_static/fig_C.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ This is work in progress...
::::{grid} 3
:::{grid-item-card}
:link: https://github.com/nfdi4cat/repo4cat/
**Documentation**, preview
**Link A**, Anna
^^^

```{image} _static/voc4cat-pylode-docs.png
```{image} _static/fig_A.svg
:align: center
:alt: screenshot of documentation
```
Expand All @@ -23,10 +23,10 @@ This is work in progress...

:::{grid-item-card}
:link: https://github.com/nfdi4cat/repo4cat/
**Link 2**, file2
**Link B**, Berta
^^^

```{image} _static/voc4cat-concept-sheet.png
```{image} _static/fig_B.svg
:align: center
:alt: screenshot of file
```
Expand All @@ -35,11 +35,11 @@ This is work in progress...
:::

:::{grid-item-card}
:link: https://w3id.org/nfdi4cat/voc4cat
**Link 3**, file3
:link: https://w3id.org/nfdi4cat/repo4cat/
**Link C**, Charla
^^^

```{image} _static/voc4cat-concept-sheet.png
```{image} _static/fig_C.svg
:align: center
:alt: screenshot of file 3
```
Expand Down

0 comments on commit 76b7ac7

Please sign in to comment.