From 34a91bfb692df144a80472d79676b78a1177cd23 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 7 Nov 2022 06:41:37 +0200 Subject: [PATCH] Update docs config, fixed towncrier draft properties --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index c8d4c4ec..d2b8415d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,5 @@ import datetime +from pathlib import Path import aiogram @@ -68,4 +69,4 @@ texinfo_documents = [ towncrier_draft_autoversion_mode = 'draft' towncrier_draft_include_empty = True -# towncrier_draft_working_directory = PROJECT_ROOT_DIR +towncrier_draft_working_directory = Path(__file__).parent.parent