diff --git a/README.md b/README.md index 602c9c8..cbbee2c 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,10 @@ The `tidocs merge` command provides a web interface for combining multiple relea ## Changelog +### v1.0.3 + +- Remove "Abstract" heading from the generated Word document. + ### v1.0.2 - Fix the issue that Pandoc fails to write docx output to terminal on Windows. diff --git a/pyproject.toml b/pyproject.toml index 7b8e199..13c787f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,8 @@ description = "A suite of utilities designed to streamline TiDB documentation wo authors = [ { name = "Aolin", email = "aolinz@outlook.com" }, ] +repository = "https://github.com/Oreoxmt/tidocs" +documentation = "https://github.com/Oreoxmt/tidocs/blob/main/README.md" dependencies = [ "marimo>=0.9.20", "platformdirs>=4.3.6", diff --git a/src/tidocs/cli.py b/src/tidocs/cli.py index 03ce144..e10ebf8 100644 --- a/src/tidocs/cli.py +++ b/src/tidocs/cli.py @@ -38,7 +38,7 @@ def launch_marimo_app(appname: str, host: str, port: int) -> None: @click.command(no_args_is_help=True) -@click.version_option(version='1.0.2') +@click.version_option(version='1.0.3') @click.argument( "appname", type=click.Choice(list(APPS.keys())), diff --git a/src/tidocs/merge/main_marimo.py b/src/tidocs/merge/main_marimo.py index b09808f..1c0d384 100644 --- a/src/tidocs/merge/main_marimo.py +++ b/src/tidocs/merge/main_marimo.py @@ -221,6 +221,7 @@ def __(Pandoc, get_reference_doc, md_contents, mo, table_contents): "--from=markdown", "--toc=true", "--toc-depth=3", + '--metadata=abstract-title:', ], md_contents.encode("utf-8"), )