Skip to content

Commit

Permalink
fix: remove Abstract Title from generated Word document
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt committed Nov 22, 2024
1 parent 9f21539 commit 70265da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description = "A suite of utilities designed to streamline TiDB documentation wo
authors = [
{ name = "Aolin", email = "[email protected]" },
]
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",
Expand Down
2 changes: 1 addition & 1 deletion src/tidocs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
Expand Down
1 change: 1 addition & 0 deletions src/tidocs/merge/main_marimo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)
Expand Down

0 comments on commit 70265da

Please sign in to comment.