1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-06-29 19:22:11 +00:00

Update readthedocs version (might break stuff)

This commit is contained in:
RGBCube 2022-06-21 19:03:25 +03:00 committed by Automated Linter
parent 0d10386c39
commit 17b813532d
14 changed files with 67 additions and 70 deletions

View file

@ -42,7 +42,7 @@ class DPYStandaloneHTMLBuilder(StandaloneHTMLBuilder):
self.handle_page('genindex-all', genindexcontext, 'genindex.html')
for (key, entries), count in zip(genindex, indexcounts):
ctx = {'key': key, 'entries': entries, 'count': count, 'genindexentries': genindex}
self.handle_page('genindex-' + key, ctx, 'genindex-single.html')
self.handle_page(f"genindex-{key}", ctx, 'genindex-single.html')
else:
self.handle_page('genindex', genindexcontext, 'genindex.html')