mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
parent
af1b9f128e
commit
cb99feb100
1 changed files with 8 additions and 1 deletions
9
tasks.py
9
tasks.py
|
@ -41,7 +41,14 @@ def generate_pa11y_config_from_sitemap():
|
||||||
urls += [url["loc"] for url in xml_sitemap["urlset"]["url"]]
|
urls += [url["loc"] for url in xml_sitemap["urlset"]["url"]]
|
||||||
|
|
||||||
with open(CONFIG_FILENAME, "w") as f:
|
with open(CONFIG_FILENAME, "w") as f:
|
||||||
f.write(json.dumps({"urls": urls}))
|
f.write(
|
||||||
|
json.dumps(
|
||||||
|
{
|
||||||
|
"defaults": {"chromeLaunchConfig": {"args": ["--no-sandbox"]}},
|
||||||
|
"urls": urls,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def output_file(file):
|
def output_file(file):
|
||||||
|
|
Loading…
Add table
Reference in a new issue