Skip to content

Commit 2c8fa57

Browse files
authored
πŸš€ Release v0.2.4 (#23)
1 parent a4160cf commit 2c8fa57

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

β€Ždocs/changelog.rstβ€Ž

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,25 @@
33
Changelog
44
=========
55

6-
..
7-
.. _unreleased:
6+
.. _`release:0.2.4`:
87

9-
Unreleased
10-
----------
8+
0.2.4
9+
-----
10+
11+
:Released: 31.10.2025
12+
:Full Changelog: `v0.2.3...v0.2.4 <https://github.com/useblocks/needs-config-writer/compare/0.2.3...a4160cf>`__
13+
14+
- ✨ Convert absolute to relative paths (:pr:`22`)
15+
16+
A new configuration option :ref:`config_relative_path_fields` was added to
17+
specify which Sphinx-Needs configuration fields containing file paths
18+
should be converted to relative paths in the exported TOML file.
19+
20+
Main use case are generated paths by build systems such as Bazel.
21+
22+
This allows to create more portable configuration files that can be
23+
used across different environments or directory structures.
24+
Committing ``ubproject.toml`` files to Git is only possible with stable paths.
1125

1226
.. _`release:0.2.3`:
1327

@@ -19,7 +33,7 @@ Changelog
1933

2034
- ✨ New config needscfg_exclude_defaults (:pr:`20`)
2135

22-
A new configuration option ``needscfg_exclude_defaults`` was added to
36+
A new configuration option :ref:`config_exclude_defaults` was added to
2337
control whether default Sphinx-Needs configuration values should be
2438
excluded from the exported TOML file.
2539

β€Ždocs/configuration.rstβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ value. If they match, the option is excluded from the output file.
373373
configuration that includes all customized values while excluding unchanged defaults.
374374
This provides a clean view of what's been explicitly configured.
375375

376-
.. _`config_relativize_paths`:
376+
.. _`config_relative_path_fields`:
377377

378378
needscfg_relative_path_fields
379379
-----------------------------

β€Žneeds_config_writer/__init__.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Sphinx extension to write Sphinx-Needs config to ubproject.toml."""
22

3-
__version__ = "0.2.3"
3+
__version__ = "0.2.4"
44

55

66
def setup(app):

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "needs-config-writer"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "Sphinx extension to write Sphinx-Needs config to ubproject.toml"
99
readme = "README.rst"
1010
urls.Repository = "https://github.com/useblocks/needs-config-writer"

0 commit comments

Comments
Β (0)