Open
Description
Description
If you use DocC's --experimental-enable-custom-templates
flag and provide a custom footer.html
, users lose the ability to override their system's light/dark appearance preference. This happens because DocC-Render puts its color scheme selector in the footer, which is removed if a project provides a custom footer.
I worked around this for the Swift book in: swiftlang/swift-book#110, but this bug tracks a more general solution.
Checklist
- If possible, I've reproduced the issue using the
main
branch of this package. - This issue hasn't been addressed in an existing GitHub issue.
Expected Behavior
Custom footers do not need to implement their own appearance toggle.
Actual behavior
Custom footers need to implement their own appearance toggle.
Steps To Reproduce
No response
Swift-DocC-Render Version Information
No response