Skip to content

Commit

Permalink
fix: build docs directly into docs dir not subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcook committed Aug 14, 2021
1 parent 0ec7b7a commit 4bac9ad
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ commands = pytest --force-sugar tests

[testenv:doc]
description = "Build documentation."
deps = pdoc3
commands = pdoc --html -o docs --force -c latex_math=True boston311
deps =
pdoc3
allowlist_externals =
mv
rmdir
commands =
pdoc --html -o docs --force -c latex_math=True boston311
/bin/sh -c 'mv docs/boston311/* docs/'
/bin/sh -c 'rmdir docs/boston311'

[testenv:cov]
description = "Run pytest with coverage."
Expand Down

0 comments on commit 4bac9ad

Please sign in to comment.