Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add feature to load coverPage/headerTemplate/footerTemplate from cofig directory based path #10454

Open
filzrev opened this issue Dec 11, 2024 · 0 comments

Comments

@filzrev
Copy link
Contributor

filzrev commented Dec 11, 2024

Is your feature request related to a problem? Please describe.
Currently following file paths must be specified as relative to the root of the output directory (_site).

  1. coverPage
  2. headerTemplate/footerTemplate

Describe the solution you'd like

  1. coverPage HTML should be loaded from configDirectory based relative path. Then fallback to outputFolder based relative path.
    It's required because it need to support cover.md -> cover.html support for backward compatibility.
  2. headerTemplate/footerTemplate should loaded from configDirectory instead of outputFolder based relative path.
    On current version. It's loaded from outputFolder based relative path.
    But it seems not works property (See: [Bug] In 2.78.x PDF Footer search box appear when search is enable in docfx.json #10414). So it need to copy pdf/*.html files as resource files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant