Skip to content

Commit

Permalink
move to root
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Oct 8, 2023
1 parent 38769a0 commit b8ed1d1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18,640 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: poetry install

- name: make index.html
run: make static/index.html
run: make index.html

- name: Commit Built Files
run: |
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: serve

serve: static/index.html
cd static && python3 -m http.server --bind 0.0.0.0 8000
serve: index.html
python3 -m http.server --bind 0.0.0.0 8000

static/index.html: ontologies/223p.ttl generate_interactive_doc.py
index.html: ontologies/223p.ttl generate_interactive_doc.py
python3 generate_interactive_doc.py ontologies/223p.ttl
2 changes: 1 addition & 1 deletion generate_interactive_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_all_constraints(g):
})


with open("static/index.html", "w") as f:
with open("index.html", "w") as f:
f.write(template.render(
concepts=sorted(defns, key=lambda x: x['class']),
property_shapes=sorted(prop_defns, key=lambda x: x['name']),
Expand Down
Loading

0 comments on commit b8ed1d1

Please sign in to comment.