diff --git a/pyproject.toml b/pyproject.toml index adfd7ff8..8b883017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,8 +41,9 @@ requires-python = ">=3.8" ss-python-cli = "ss_python.cli:app" [project.urls] -homepage = "https://github.com/serious-scaffold/ss-python/" +documentation = "https://serious-scaffold.github.io/ss-python" issue = "https://github.com/serious-scaffold/ss-python/issues" +repository = "https://github.com/serious-scaffold/ss-python" [tool.coverage.report] fail_under = 100 diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index 3e9c93c5..35faa555 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -1,3 +1,4 @@ +[% from pathjoin("includes", "variable.jinja") import page_url with context -%] [% from pathjoin("includes", "variable.jinja") import repo_url with context -%] [% from pathjoin("includes", "version_compare.jinja") import version_between -%] [build-system] @@ -75,12 +76,13 @@ requires-python = ">={{ min_py }}" {{ package_name }}-cli = "{{ module_name }}.cli:app" [project.urls] -homepage = "https://{{ repo_url() }}/" +documentation = "https://{{ page_url() }}" [% if repo_host_type == 'github.com' -%] issue = "https://{{ repo_url() }}/issues" [%- elif repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' -%] issue = "https://{{ repo_url() }}/-/issues" [%- endif %] +repository = "https://{{ repo_url() }}" [tool.coverage.report] fail_under = {{ coverage_threshold }}