dotnet / dotnet/docfx

[Bug] Bookmarks in PDF go to the page after the actual bookmark

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

Description

**Describe the bug**

When opening a generated PDF file, both the bookmarks on the TOC page and the bookmarks in the bookmark pane actually navigate to the page right after the expected page

**To Reproduce**
Steps to reproduce the behavior:
1. Go to the docfx documentation website
2. Click download PDF
3. Open the bookmarks pane and click on a bookmark -> the page after that bookmark is displayed

**Expected behavior**

The clicked on page should be displayed

**Context (please complete the following information):**
- OS: Windows 10
- Docfx version: whatever version the website is running. Reproduced locally on 2.75.3+a5c719410037cc288c7adff010b1abf3c0f2e581

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.