dotnet / dotnet/docfx

TOC superimposed on PDF output [Bug]

オープン
#9,653 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
pdf
主要言語
C#
スター
4.4k
フォーク
890
平均マージ
2時間 9分
マージ済み PR(30日)
11

説明

**Describe the bug**
The output generated contains the table of contents data superimposed on each page.

**To Reproduce**
Steps to reproduce the behavior:
1. ...
2. ...

**Expected behavior**
Table of contents occurs once at start of doc.
**Context (please complete the following information):**
- OS: Windows 11
- Docfx version: 2.75.1

**Additional context**
Add any other context about the problem here.
[docfx.json](https://github.com/dotnet/docfx/files/14051738/docfx.json)
badPdf

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、添付されたdocfx.jsonを使用し、Docfx 2.75.1でWindows 11上のPDF出力を再現します。次に、生成されたページを、ドキュメントの先頭にある想定される単一のTOCと比較します。PDF生成パスを追跡してTOCが繰り返される理由を特定し、出力にTOCが1回だけ含まれていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。