From 11e928a6fc11f5296efa0023cde28068bfee0ee2 Mon Sep 17 00:00:00 2001 From: Jorge Obiols Date: Sat, 7 Sep 2024 22:50:48 -0300 Subject: [PATCH] [FIX] refactorizacion total --- tools/gen_readme.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/gen_readme.py b/tools/gen_readme.py index a42619d..b41873a 100644 --- a/tools/gen_readme.py +++ b/tools/gen_readme.py @@ -125,7 +125,7 @@ def gen_one_addon_index(readme_filename): publish_file( source_path=readme_filename, destination_path=index_filename, - writer_name="html4css1", + writer_name="html5", settings_overrides=RST2HTML_SETTINGS, ) with open(index_filename, "rb") as f: @@ -135,13 +135,13 @@ def gen_one_addon_index(readme_filename): index = re.sub( rb"(', - b"", - index, - flags=re.MULTILINE | re.IGNORECASE, - ) + # # remove the http-equiv line + # index = re.sub( + # rb'', + # b"", + # index, + # flags=re.MULTILINE | re.IGNORECASE, + # ) with open(index_filename, "wb") as f: f.write(index)