From 31eb71418e1c5107f0a7b5604f6fb82a3610c14c Mon Sep 17 00:00:00 2001 From: Olga Lyashevska Date: Wed, 28 Aug 2024 11:31:45 +0200 Subject: [PATCH 1/2] Add readthedocs link --- template/pyproject.toml.jinja | 3 +++ 1 file changed, 3 insertions(+) diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index 1c7062d7..c8850e45 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -72,6 +72,9 @@ Issues = "{{ repository_url }}/issues" {% if AddChangeLog -%} Changelog = "{{ repository_url }}/CHANGELOG.md" {%- endif %} +{% if AddOnlineDocumentation -%} +ReadTheDocs = "https://{{ package_name }}.readthedocs.io" +{%- endif %} [tool.pytest.ini_options] testpaths = ["tests"] From a7cdc9f6dbd6d638207c6d30eedf12fb5b309287 Mon Sep 17 00:00:00 2001 From: Olga Lyashevska Date: Wed, 28 Aug 2024 12:11:23 +0200 Subject: [PATCH 2/2] Fix white space --- template/pyproject.toml.jinja | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index c8850e45..d2b6e04b 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -71,11 +71,10 @@ Repository = "{{ repository_url }}" Issues = "{{ repository_url }}/issues" {% if AddChangeLog -%} Changelog = "{{ repository_url }}/CHANGELOG.md" -{%- endif %} +{% endif -%} {% if AddOnlineDocumentation -%} ReadTheDocs = "https://{{ package_name }}.readthedocs.io" -{%- endif %} - +{% endif %} [tool.pytest.ini_options] testpaths = ["tests"]