Skip to content

Commit 2369527

Browse files
Merge pull request #16 from fleetingbytes/develop
Develop
2 parents 65f3194 + ca43abd commit 2369527

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
<!-- towncrier release notes start -->
44

5+
## 0.8.2 (2024-03-05)
6+
7+
8+
### Documentation
9+
10+
- Update `README.md`: Create parent directories of `target_path` if they don't already exist. [#14](https://github.com/fleetingbytes/rtfparse/issues/14)
11+
512
## 0.8.1 (2023-08-07)
613

714

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ from rtfparse.renderers.de_encapsulate_html import De_encapsulate_HTML
5959
6060
source_path = Path(r"path/to/your/rtf/document.rtf")
6161
target_path = Path(r"path/to/your/html/de_encapsulated.html")
62+
# Create parent directory of `target_path` if it does not already exist:
63+
target_path.parent.mkdir(parents=True, exist_ok=True)
6264
6365
6466
parser = Rtf_Parser(rtf_path=source_path)

src/rtfparse/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env python
22

33

4-
__version__ = "0.8.1"
4+
__version__ = "0.8.2"

0 commit comments

Comments
 (0)