Skip to content

Commit

Permalink
update docs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark committed May 7, 2024
1 parent 03eb924 commit e822e48
Show file tree
Hide file tree
Showing 53 changed files with 7 additions and 55,164 deletions.
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


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.
294 changes: 0 additions & 294 deletions docs/assets/banner.svg

This file was deleted.

31 changes: 0 additions & 31 deletions docs/assets/contribute.md

This file was deleted.

Binary file removed docs/assets/favicon.ico
Binary file not shown.
Binary file removed docs/assets/images/bigmap_logo.png
Binary file not shown.
Binary file removed docs/assets/images/flag_of_europe.png
Binary file not shown.
20 changes: 0 additions & 20 deletions docs/assets/index.md

This file was deleted.

Loading

0 comments on commit e822e48

Please sign in to comment.