Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Feb 8, 2022
1 parent 4011d58 commit 36f5c5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def generate_prototype_datasets_doc():
)
file.write(".. table::\n")
file.write(" :widths: 15 15 70\n\n")
file.write(f"{textwrap.indent(table, ' ' * 4)}\n")
file.write(f"{textwrap.indent(table, ' ' * 4)}\n\n")

if info.attributes:
file.write("Attributes\n")
Expand All @@ -349,7 +349,7 @@ def generate_prototype_datasets_doc():
table = tabulate([(attr, doc) for attr, doc in info.attributes.items()], tablefmt="rst")
file.write(".. table::\n")
file.write(" :widths: 20 80\n\n")
file.write(f"{textwrap.indent(table, ' ' * 4)}\n")
file.write(f"{textwrap.indent(table, ' ' * 4)}\n\n")

# TODO: this should probably be generated by jinja
with open(root / "index.rst", "w") as file:
Expand All @@ -367,7 +367,7 @@ def generate_prototype_datasets_doc():
"----------------",
"",
".. toctree::",
" :maxdepth: 1",
" :maxdepth: 1",
"",
*[f" {name}" for name in names],
]
Expand Down

0 comments on commit 36f5c5f

Please sign in to comment.