Add new line
This commit is contained in:
@ -224,7 +224,7 @@ def add_sphinx_metadata(file_path, meta_description, meta_keywords=None):
|
|||||||
"""Add Sphinx-compatible meta block at the end of an RST file."""
|
"""Add Sphinx-compatible meta block at the end of an RST file."""
|
||||||
content = read_rst_content(file_path)
|
content = read_rst_content(file_path)
|
||||||
|
|
||||||
meta_block = "\n.. meta::\n"
|
meta_block = "\n\n.. meta::\n"
|
||||||
if meta_description:
|
if meta_description:
|
||||||
meta_block += " :description: {}\n".format(meta_description)
|
meta_block += " :description: {}\n".format(meta_description)
|
||||||
if meta_keywords:
|
if meta_keywords:
|
||||||
|
|||||||
Reference in New Issue
Block a user