Skip to content

Commit

Permalink
Add .py extension to boxes2rst script
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Sep 5, 2023
1 parent ca0990d commit fd46d0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip" # caching pip dependencies
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build documentation
run: |
cd ./documentation/src/
./boxes2rst generators.inc
./boxes2rst.py generators.inc
make html #linkcheck
cp index.html ../build/
cd ../build/ && ls && ls html/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
mypy --ignore-missing-imports ./scripts/boxes2inkscape
mypy --ignore-missing-imports ./scripts/boxes2pot
mypy --ignore-missing-imports ./scripts/boxesserver
mypy --ignore-missing-imports ./documentation/src/boxes2rst
mypy --ignore-missing-imports ./documentation/src/boxes2rst.py
mypy --ignore-missing-imports ./setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def write(self, targetFile: str) -> None:

def main() -> None:
if len(sys.argv) != 2:
print("Usage: boxes2rst TARGETFILE")
print("Usage: boxes2rst.py TARGETFILE")
return
b = Boxes2rst()
b.write(sys.argv[1])
Expand Down

0 comments on commit fd46d0d

Please sign in to comment.