Skip to content

Commit 5a0f3de

Browse files
committed
Collapse 3 "quick index" tables into one
1 parent 54a67f9 commit 5a0f3de

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

util/template_quick_index.rst

-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
"paging": false,
77
"dom": '<"bottom"flp><"clear">'
88
} );
9-
$('table#quickapigui').DataTable( {
10-
"paging": false,
11-
"dom": '<"bottom"flp><"clear">'
12-
} );
13-
$('table#tilemap').DataTable( {
14-
"paging": false,
15-
"dom": '<"bottom"flp><"clear">'
16-
} );
179
} );
1810
</script>
1911

util/update_quick_index.py

-37
Original file line numberDiff line numberDiff line change
@@ -300,26 +300,6 @@ def include_template(text_file):
300300
* - Name
301301
- Group"""
302302

303-
table_header_gui = """
304-
.. list-table::
305-
:widths: 50 50
306-
:header-rows: 1
307-
:name: quickapigui
308-
:class: display
309-
310-
* - Name
311-
- Group"""
312-
313-
table_header_tiled = """
314-
.. list-table::
315-
:widths: 50 50
316-
:header-rows: 1
317-
:name: quickapitiled
318-
:class: display
319-
320-
* - Name
321-
- Group"""
322-
323303

324304
def clear_api_directory():
325305
"""
@@ -348,27 +328,10 @@ def main():
348328
process_directory(ROOT / "arcade/texture", text_file)
349329
process_directory(ROOT / "arcade/texture_atlas", text_file)
350330
process_directory(ROOT / "arcade/text", text_file)
351-
352-
# text_file.write(f"The ``arcade.gl`` module\n")
353-
# text_file.write(f"-------------------------\n\n")
354331
# process_directory(Path("../arcade/gl"), text_file)
355-
356-
text_file.write("\n\n")
357-
text_file.write("The arcade.gui module\n")
358-
text_file.write("---------------------\n\n")
359-
360-
text_file.write(table_header_gui)
361-
362332
process_directory(ROOT / "arcade/gui", text_file)
363333
process_directory(ROOT / "arcade/gui/widgets", text_file)
364334
process_directory(ROOT / "arcade/gui/property", text_file)
365-
366-
text_file.write("\n\n")
367-
text_file.write("The arcade.tilemap module\n")
368-
text_file.write("-------------------------\n\n")
369-
370-
text_file.write(table_header_tiled)
371-
372335
process_directory(ROOT / "arcade/tilemap", text_file)
373336

374337
text_file.close()

0 commit comments

Comments
 (0)