Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich committed Jul 9, 2024
1 parent 4878721 commit e1270a1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ jobs:

- name: Generate API docs
run: |
sphinx-apidoc -o /tmp/docs tus_storagehandler/
poetry run sphinx-apidoc -o /tmp/docs tus_storagehandler/
- name: Compare docs with main branch
id: check_docs_diff
run: |
shasum /tmp/docs/* > /tmp/docs.sha
shasum /docs/pages/* > /docs/project_doc.sha
diff=$(diff /tmp/docs.sha /docs/project_doc.sha) || true
rm -f docs/pages/.gitkeep # Remove placeholder file
shasum docs/pages/* > docs/project_doc.sha
diff=$(diff /tmp/docs.sha docs/project_doc.sha) || true
if [[ -n "$diff" ]]; then
echo "::error::API documentation is out of date."
exit 1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ fl: format-lint

.PHONY: install
install:
@echo "\nInstalling dependencies and with this package +++++++++++++++++++++++++++++++++\n"
@poetry install
@echo "\nInstalling all dependencies and with this package +++++++++++++++++++++++++++++++++\n"
@poetry install --with=code_quality,docs,misc,test,types,vulnerability

.PHONY: i
i: install
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tus_storagehandler
===================

.. toctree::
:maxdepth: 4

tus_storagehandler

0 comments on commit e1270a1

Please sign in to comment.