File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from tablerpy import OutlineIcon , get_icon
99from marko import Markdown
1010from marko .ext .gfm import GFM
11- from marko .helpers import MarkoExtension , render_dispatch
12- from marko .html_renderer import HTMLRenderer
11+ from marko .helpers import MarkoExtension
1312
1413
1514# SVG namespace
Original file line number Diff line number Diff line change 11import datetime
2- import hashlib
3- import uuid
42from xml .etree import ElementTree
53
64import ark
7- import holly
85import os
96from feedgenerator import Atom1Feed
107from jinja2 import filters
@@ -73,7 +70,6 @@ def generate_feed():
7370 author = node .get ("author" ) or config .get ("default_author" , "" )
7471 node_path = ark .utils .rewrite_urls (f"'{ node .url } '" , path ).strip ("'" )
7572 url = os .path .join (homepage , node_path )
76- item_license = config .get ("default_license" , "" )
7773 feed .add_item (
7874 title = node .get ("title" ),
7975 author_name = author ,
@@ -84,7 +80,7 @@ def generate_feed():
8480 )
8581
8682 xml = feed .writeString ("utf-8" )
87- favicon_path = ark .utils .rewrite_urls (f "'@root/images/favicon.svg'" , path )
83+ favicon_path = ark .utils .rewrite_urls ("'@root/images/favicon.svg'" , path )
8884 favicon_url = os .path .join (homepage , favicon_path .strip ("'" ))
8985 xml = insert_icon (xml , favicon_url )
9086
Original file line number Diff line number Diff line change 1- import os
21import pathlib
32
43import ark
Original file line number Diff line number Diff line change 22# This file is autogenerated by pip-compile with Python 3.12
33# by the following command:
44#
5- # pip-compile --strip-extras
5+ # pip-compile
66#
77argslib == 2.1.0
88 # via ark
@@ -18,30 +18,30 @@ ibis==3.3.0
1818 # via ark
1919iniconfig == 2.1.0
2020 # via pytest
21- jinja2 == 3.1.5
21+ jinja2 == 3.1.6
2222 # via ark
2323lightningcss == 0.2.2
2424 # via -r requirements.in
25- markdown == 3.7
25+ markdown == 3.9
2626 # via ark
27- marko == 2.1.4
27+ marko == 2.2.1
2828 # via -r requirements.in
29- markupsafe == 3.0.2
29+ markupsafe == 3.0.3
3030 # via jinja2
3131minify-html == 0.16.4
3232 # via -r requirements.in
3333packaging == 25.0
3434 # via pytest
3535pluggy == 1.6.0
3636 # via pytest
37- pygments == 2.19.1
37+ pygments == 2.19.2
3838 # via
3939 # ark
4040 # pytest
4141 # syntext
42- pytest == 8.4.1
42+ pytest == 8.4.2
4343 # via -r requirements.in
44- pyyaml == 6.0.2
44+ pyyaml == 6.0.3
4545 # via ark
4646shortcodes == 5.4.0
4747 # via ark
You can’t perform that action at this time.
0 commit comments