dotnet / dotnet/docfx

[Bug] PDF page number is not starts with `1` if cover/toc pages exists

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

Description

**Describe the bug**
PDF page number is not starts with `1` when cover or toc pages are exists.

**To Reproduce**
https://dotnet.github.io/docfx/seed/articles/seed.pdf

**Expected behavior**
Page number starts with `1`

**Context (please complete the following information):**
- OS: Windows
- Docfx version: [e.g. 2.78.1]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked seed.pdf from the DocFX documentation site and trace the PDF page-number generation entry point. Confirm how cover and table-of-contents pages affect numbering; done means the first numbered content page displays 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.