From a114c7ee2bb6322ef4ac8103f150d8da6b610eaa Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sat, 7 May 2022 00:10:31 +0200 Subject: [PATCH] Fix documentation --- README.rst | 2 ++ utils/generate_provider_doc.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.rst b/README.rst index febe11f5d..e1b2df825 100644 --- a/README.rst +++ b/README.rst @@ -82,6 +82,7 @@ The current supported providers are: using the following syntax: .. _provider: URL_API .. tag: providers-table-begin + +-----------------+-----------------+-----------------+-----------------+-----------------+ | aliyun_ | aurora_ | azure_ | cloudflare_ | cloudns_ | +-----------------+-----------------+-----------------+-----------------+-----------------+ @@ -115,6 +116,7 @@ The current supported providers are: +-----------------+-----------------+-----------------+-----------------+-----------------+ | zonomi_ | | | | | +-----------------+-----------------+-----------------+-----------------+-----------------+ + .. tag: providers-table-end .. _aliyun: https://help.aliyun.com/document_detail/29739.html diff --git a/utils/generate_provider_doc.py b/utils/generate_provider_doc.py index 0b882eca5..1744da604 100755 --- a/utils/generate_provider_doc.py +++ b/utils/generate_provider_doc.py @@ -76,7 +76,9 @@ def _generate_table(providers: List[str]) -> None: readme_lines = ( readme_lines[: begin_idx + 1] + + ["\n"] + [f"{item}\n" for item in table] + + ["\n"] + readme_lines[end_idx:] )