From 6d9f38ceb6d5678e0cb0e06a4ccc1e33f9867de2 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Fri, 13 Dec 2024 12:38:57 +0100 Subject: [PATCH] Fix the index.rst documentation template (#310) --- doc/changes/unreleased.md | 1 + project-template/{{cookiecutter.repo_name}}/doc/index.rst | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 2236b759c..11136f408 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -39,4 +39,5 @@ ## 🐞 Fixed +* Fixed `index.rst` documentation template to provide the correct underlining length of the main heading * Added multi-version extension to Sphinx configuration of the project template diff --git a/project-template/{{cookiecutter.repo_name}}/doc/index.rst b/project-template/{{cookiecutter.repo_name}}/doc/index.rst index f41dbcef0..e224a7558 100644 --- a/project-template/{{cookiecutter.repo_name}}/doc/index.rst +++ b/project-template/{{cookiecutter.repo_name}}/doc/index.rst @@ -1,5 +1,5 @@ Documentation of {{cookiecutter.project_name}} -------------------{{ '-' * cookiecutter.package_name | length }} +------------------{{ '-' * cookiecutter.project_name | length }} .. grid:: 1 1 3 2 :gutter: 2 @@ -33,4 +33,3 @@ Documentation of {{cookiecutter.project_name}} api faq changes/changelog -