dotnet / dotnet/docfx

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

Open
#10,218 2 comments 2 reactions 0 assignees View on GitHub
pdf
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**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]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.