File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
Jupytext ChangeLog
2
2
==================
3
3
4
- 1.17.0-dev
4
+ 1.17.0rc1
5
5
----------
6
6
7
7
** Changed**
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ license = { file = "LICENSE" }
9
9
authors = [
10
10
{
name =
" Marc Wouts" ,
email =
" [email protected] " },
11
11
]
12
- readme = " dist /README_with_absolute_links.md"
12
+ readme = " build /README_with_absolute_links.md"
13
13
requires-python = " >=3.8"
14
14
classifiers = [
15
15
" Development Status :: 5 - Production/Stable" ,
Original file line number Diff line number Diff line change 1
1
"""Jupytext's version number"""
2
2
3
- __version__ = "1.17.0rc0 "
3
+ __version__ = "1.17.0rc1 "
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class AbsoluteLinksInReadme(MetadataHookInterface):
10
10
def update (self , metadata ):
11
11
"""Process README.md when metadata is being prepared."""
12
12
readme_src_path = Path ("README.md" )
13
- readme_output_path = Path ("dist /README_with_absolute_links.md" )
13
+ readme_output_path = Path ("build /README_with_absolute_links.md" )
14
14
base_url = "https://github.com/mwouts/jupytext/blob/main/"
15
15
16
16
# Ensure the dist directory exists
@@ -36,5 +36,6 @@ def replace_link(match):
36
36
new_content = pattern .sub (replace_link , content )
37
37
38
38
# Write the processed content to the output file
39
+ output_path .parent .mkdir (exist_ok = True )
39
40
output_path .write_text (new_content , encoding = "utf-8" )
40
41
print (f"Generated { output_path } with absolute links" )
You can’t perform that action at this time.
0 commit comments