You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the left navigation panel (TOC) is not rendered, but PDF output is enabled, no Download PDF link is rendered (because Download PDF link was part of panel). This makes it appear like PDF download is not available.
To Reproduce
Steps to reproduce the behavior:
Build any site, with PDF output enabled, with DocFx 2.76.0 or 2.77.0
Navigate to home page of built site
Home page shows no left navigation panel (TOC) and no Download PDF link
Navigate to a page within the site with child pages, and the left navigation panel (TOC) including Download PDF link appears
Expected behavior
When a site is configured to output to PDF, and the default (modern) theme is used, a Download PDF link should be rendered on every page .
Context:
OS: Windows
Docfx version: 2.76.0 and 2.77.0
Additional context
This was working in DocFx 2.75.3, but in DocFx 2.76.0 a change was made resulting in the left navigation panel (TOC) not being rendered in some cases, including the home page (see #10011 and PR #9737).
This issue does not question the change to the left navigation panel rendering. This issue just highlights that the PDF download link needs to appear on all pages to make it obvious and accessible.
Maybe the PDF download link could be rendered in the footer (i.e. where the Previous and Next page links are) ??
The text was updated successfully, but these errors were encountered:
If the left navigation panel (TOC) is not rendered, but PDF output is enabled, no Download PDF link is rendered (because Download PDF link was part of panel). This makes it appear like PDF download is not available.
To revert older versions behavior.
Explicitly configure _disableToc: false metadata on target page.
Maybe the PDF download link could be rendered in the footer (i.e. where the Previous and Next page links are) ??
If output pdf file is fixed path.
It can customize footer area by modifying _appFooter metadata.
Thanks - setting _disableToc: false does restore the left nav TOC and the Download PDF link. This is a good workaround for now.
I think the hiding of left nav TOC (introduced in DocFx 2.76.0) is a good feature however. The Download PDF link just needs to be rendered on every page somewhere - not just if the TOC is visible. This is why I asked if it could be moved to be rendered in the footer. Can you do this in a future DocFx version?
Describe the bug
If the left navigation panel (TOC) is not rendered, but PDF output is enabled, no Download PDF link is rendered (because Download PDF link was part of panel). This makes it appear like PDF download is not available.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a site is configured to output to PDF, and the default (modern) theme is used, a Download PDF link should be rendered on every page .
Context:
Additional context
This was working in DocFx 2.75.3, but in DocFx 2.76.0 a change was made resulting in the left navigation panel (TOC) not being rendered in some cases, including the home page (see #10011 and PR #9737).
This issue does not question the change to the left navigation panel rendering. This issue just highlights that the PDF download link needs to appear on all pages to make it obvious and accessible.
Maybe the PDF download link could be rendered in the footer (i.e. where the Previous and Next page links are) ??
The text was updated successfully, but these errors were encountered: