From ddcf4c77893850862bbb67c0746b63b51376b6c2 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Mon, 19 Aug 2024 12:27:30 -0400 Subject: [PATCH] run towncrier in readthedocs job --- .readthedocs.yaml | 2 ++ docs/rtd_environment.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 80c8c01cf..d28775c1c 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,6 +13,8 @@ build: - git fetch --all --tags || true pre_install: - git update-index --assume-unchanged docs/rtd_environment.yaml docs/conf.py + post_install: + - towncrier build conda: environment: docs/rtd_environment.yaml diff --git a/docs/rtd_environment.yaml b/docs/rtd_environment.yaml index 161fef38a..6e6bfa6a3 100644 --- a/docs/rtd_environment.yaml +++ b/docs/rtd_environment.yaml @@ -7,3 +7,4 @@ dependencies: - pip - graphviz - sphinx_rtd_theme>1.2.0 + - towncrier