Skip to content

Commit

Permalink
Merge pull request #181 from BrianPugh/BrianPugh-patch-1
Browse files Browse the repository at this point in the history
Check for warnings in building docs
  • Loading branch information
BrianPugh authored Nov 19, 2024
2 parents 631edca + f866fe0 commit 0e18a05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ jobs:
- name: Build HTML docs
run: |
source ${{ env.ACTIVATE_PYTHON_VENV }}
sphinx-build -b html docs/source/ docs/build/html
sphinx-build -b html -W docs/source/ docs/build/html
2 changes: 2 additions & 0 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def main():

replacements: dict[str, str] = {
"CURRENT_YEAR_HERE": str(date.today().year),
"README_TEMPLATE": "README",
}

git_remote_url = git("config", "--get", "remote.origin.url").decode().strip()
Expand Down Expand Up @@ -379,6 +380,7 @@ def main():
files.extend(REPO.rglob("*.md"))
files.append(Path("pyproject.toml"))
files.append(Path(".gitignore"))
files.append(Path("docs/source/index.rst"))

if not is_library:
files.append(Path("Dockerfile"))
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Welcome to pythontemplate's documentation!
==========================================

.. include:: ../../README.rst
.. include:: ../../README_TEMPLATE.rst
:start-after: inclusion-marker-do-not-remove

.. toctree::
Expand Down

0 comments on commit 0e18a05

Please sign in to comment.