Skip to content

Commit 23a5878

Browse files
committed
v0.14.1: Fix Python 3.5 compat
1 parent 8afa3b4 commit 23a5878

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

dactyl/filter_buttonize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def filter_soup(soup, logger=None, **kwargs):
1212
"""make links ending in > render like buttons"""
1313
buttonlinks = soup.find_all("a", string=re.compile("(>|>)$"))
14-
logger.debug(f"Button links found: {buttonlinks}")
14+
# logger.debug(f"Button links found: {buttonlinks}")
1515
for link in buttonlinks:
1616
link.string=link.string[:-1].strip()
1717

dactyl/filter_external_links.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def filter_soup(soup, logger=None, **kwargs):
2121

2222
links = soup.find_all("a", href=True)
2323
for link in links:
24-
logger.debug(f"Link: {link}")
24+
# logger.debug(f"Link: {link}")
2525
if extern_regex.match(link["href"]):
2626
link["target"] = "_blank"
2727
ex_link_marker = soup.new_tag("i", attrs={

dactyl/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.14.0'
1+
__version__ = '0.14.1'

releasenotes.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.14.1 Release Notes
2+
3+
This release removes a couple of debug statements that broke compatibility with Python 3.5. (Python 3.5 has reached end of life, but Dactyl still works with it for now if you use the right versions of its dependencies.)
4+
15
# v0.14.0 Release notes
26

37
This release improves the built-in templates, improves the documentation in the examples, and introduces the concept of "Virtual Pages". Virtual pages are placeholders for links to external sites, which you can insert into the automatically-generated navigation with a stanza similar to a page built by Dactyl.

0 commit comments

Comments
 (0)