Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Title of TOC hardcoded as "Table of Contents" for PDFs #10218

Open
taferk opened this issue Sep 21, 2024 · 0 comments
Open

[Bug] Title of TOC hardcoded as "Table of Contents" for PDFs #10218

taferk opened this issue Sep 21, 2024 · 0 comments
Labels
bug A bug to fix pdf Produce PDF as the output format

Comments

@taferk
Copy link

taferk commented Sep 21, 2024

Describe the bug
The text "Table of Contents" is hardcoded in the file "Pdf Builder.cs" so there is no way to translate to another language.

To Reproduce
Steps to reproduce the behavior:

  1. Build a PDF with TOC
  2. Look at the first page of the TOC section.

Expected behavior
I was hoping to be able to set all the texts in "templates/mytemplate/token.json".

Context (please complete the following information):

  • OS: Windows
  • Docfx version: [2.77.0.0]
@taferk taferk added the bug A bug to fix label Sep 21, 2024
@yufeih yufeih added the pdf Produce PDF as the output format label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix pdf Produce PDF as the output format
Projects
None yet
Development

No branches or pull requests

2 participants