Skip to content

Commit fb5f7d6

Browse files
authored
Release of v1.0.1 (#139)
* Release of v1.0.1 * Change whatsnew file format to rst * Fix extlinks formatting * Hardtype github_repo and github_org * Correct issue reference * Last cleanup
1 parent 4db3d86 commit fb5f7d6

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

docs/source/conf.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
import sys
1717
sys.path.insert(0, os.path.abspath('../../src'))
1818

19+
github_org = "pvlib"
20+
github_repo = "solposx"
21+
1922
# -- Project information -----------------------------------------------------
2023

2124
project = 'solposx'
@@ -62,7 +65,7 @@
6265

6366
# https://sphinx-book-theme.readthedocs.io/en/stable/reference.html
6467
html_theme_options = {
65-
"repository_url": "https://github.com/pvlib/solposx",
68+
"repository_url": f"https://github.com/{github_org}/{github_repo}",
6669
"path_to_docs": "docs/source/",
6770
"use_issues_button": True,
6871
"use_repository_button": True,
@@ -91,8 +94,8 @@
9194
}
9295

9396
extlinks = {
94-
"issue": ("https://github.com/pvlib/solposx/issues/%s", "GH%s"),
95-
"pull": ("https://github.com/pvlib/solposx/pull/%s", "GH%s"),
97+
"issue": (f"https://github.com/{github_org}/{github_repo}/issues/%s", "GH%s"),
98+
"pull": (f"https://github.com/{github_org}/{github_repo}/pull/%s", "GH%s"),
9699
"ghuser": ("https://github.com/%s", "@%s"),
97100
"doi": ("http://dx.doi.org/%s", "DOI: %s"),
98101
}
@@ -122,7 +125,7 @@ def get_source_base_url():
122125
"""
123126
repo_url = os.environ.get(
124127
"READTHEDOCS_GIT_CLONE_URL",
125-
default="https://github.com/pvlib/solposx.git",
128+
default=f"https://github.com/{github_org}/{github_repo}.git",
126129
).rstrip(".git") # remove .git suffix if present, as it could be present
127130
READTHEDOCS_ENV = os.environ.get("READTHEDOCS", None) == "True"
128131
READTHEDOCS_VERSION = os.environ.get("READTHEDOCS_VERSION", None)

docs/source/whatsnew.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/source/whatsnew.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Changelog
2+
=========
3+
4+
All notable changes to this project will be documented in this file.
5+
6+
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
7+
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
8+
9+
1.0.1 - 2025-11-09
10+
-------------------
11+
12+
Changed
13+
^^^^^^^
14+
* Moved the package GitHub repository from the GitHub organization AssessingSolar
15+
to the pvlib organization. (:pull:`134`)
16+
* Improved error messages raised when optional packages are not available.
17+
(:issue:`86`, :pull:`122`)
18+
19+
Added
20+
^^^^^
21+
* Added optional ``refraction_correction`` parameter to
22+
:py:func:`solposx.solarposition.nasa_horizons`. (:issue:`83`, :pull:`133`)
23+
24+
1.0.0 - 2025-09-22
25+
-------------------
26+
First stable release.

0 commit comments

Comments
 (0)