Skip to content

Commit fcd482a

Browse files
finalise table structure and fix pygambit code
1 parent d479b5c commit fcd482a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build_support/catalog/update.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ def generate_rst_table(df: pd.DataFrame, rst_path: Path):
5757

5858
# Load in PyGambit (should be in same dropdown)
5959
f.write(" **Load in PyGambit:**\n")
60+
f.write(" \n")
6061
f.write(" .. code-block:: python\n")
6162
f.write(" \n")
6263
f.write(f' pygambit.catalog.load("{slug}")\n')
63-
f.write(" \n")
64+
f.write(" \n")
6465

6566
# Prepare download links for the dropdown
6667
download_links = [row["Download"]]
@@ -69,8 +70,9 @@ def generate_rst_table(df: pd.DataFrame, rst_path: Path):
6970

7071
# Download dropdown below the code
7172
f.write(" **Download game and image files:**\n")
72-
f.write(" \n")
73+
f.write(" \n")
7374
f.write(f" {' '.join(download_links)}\n")
75+
f.write(" \n")
7476

7577
# Visualization below description dropdown in the same cell
7678
f.write(" .. tikz::\n")

0 commit comments

Comments
 (0)