Fix formatting

This commit is contained in:
Oliver Walters 2024-02-12 20:43:14 +11:00
parent 5ab798d53d
commit 6ba4aaff7f
2 changed files with 17 additions and 15 deletions

View File

@ -1,4 +1,3 @@
--- ---
title: InvenTree API Schema title: InvenTree API Schema
--- ---

View File

@ -2,6 +2,7 @@
import argparse import argparse
import os import os
import textwrap
import yaml import yaml
@ -75,6 +76,8 @@ def generate_index_file(version: str):
| --- | --- | | --- | --- |
""" """
output = textwrap.dedent(output).strip() + '\n'
for key, value in SPECIAL_PATHS.items(): for key, value in SPECIAL_PATHS.items():
output += f'| [{value}](./schema/{key}.md) | {value} |\n' output += f'| [{value}](./schema/{key}.md) | {value} |\n'