diff --git a/.cruft.json b/.cruft.json index d50f32a70..7834b29c2 100644 --- a/.cruft.json +++ b/.cruft.json @@ -10,11 +10,11 @@ "author_name": "The SunPy Community", "author_email": "sunpy@googlegroups.com", "project_url": "https://docs.sunpy.org/projects/ndcube", - "github_repo": "", + "github_repo": "sunpy/ndcube", "sourcecode_url": "", "download_url": "https://pypi.org/project/ndcube", - "documentation_url": "", - "changelog_url": "", + "documentation_url": "https://docs.sunpy.org/projects/ndcube", + "changelog_url": "https://docs.sunpy.org/projects/ndcube/en/stable/whatsnew/changelog.html", "issue_tracker_url": "", "license": "BSD 2-Clause", "minimum_python_version": "3.10", diff --git a/pyproject.toml b/pyproject.toml index 7e94a58c2..e38b455a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,8 @@ dev = [ [project.urls] Homepage = "https://docs.sunpy.org/projects/ndcube" Download = "https://pypi.org/project/ndcube" +Documentation = "https://docs.sunpy.org/projects/ndcube" +Changelog = "https://docs.sunpy.org/projects/ndcube/en/stable/whatsnew/changelog.html" [tool.setuptools] zip-safe = false @@ -102,6 +104,17 @@ write_to = "ndcube/_version.py" enabled = true verify_pr_number = true changelog_skip_label = "No Changelog Entry Needed" +<<<<<<< +======= + help_url = "https://github.com/sunpy/ndcube/blob/main/changelog/README.rst" + + changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)." + + type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)" + + number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file." + +>>>>>>> help_url = "https://github.com/sunpy/sunpy/blob/main/changelog/README.rst" changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunpy/blob/main/changelog/README.rst)." type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)" @@ -113,7 +126,11 @@ write_to = "ndcube/_version.py" package = "ndcube" filename = "CHANGELOG.rst" directory = "changelog/" +<<<<<<< issue_format = "`#{issue} `__" +======= + issue_format = "`#{issue} https:github.com/sunpy/ndcube/changelog/pull/{issue}>`__" +>>>>>>> title_format = "{version} ({project_date})" [[tool.towncrier.type]]