Skip to content

Commit

Permalink
Use keyword-arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Sep 23, 2024
1 parent 4eb435e commit a00bf2b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,8 @@ def setup_switchers(
switchers_path = html_root / "_static" / "switchers.js"
switchers_path.write_text(
template.safe_substitute(
{
"LANGUAGES": json.dumps(languages_map),
"VERSIONS": json.dumps(versions_map),
}
LANGUAGES=json.dumps(languages_map),
VERSIONS=json.dumps(versions_map),
),
encoding="UTF-8",
)
Expand Down

0 comments on commit a00bf2b

Please sign in to comment.