[Repo Assist] Fix #626: Add \{\{fsdocs-logo-alt}} substitution for customizable logo alt text#996
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
Add a configurable `{{fsdocs-logo-alt}}` template substitution for the
header logo's alt text, backed by the `<FsDocsLogoAlt>` MSBuild property.
The default value is 'Logo'.
Previously the default template hardcoded alt="Header menu logo", which
was not customizable.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
✅ Pull request created: #996 |
This was referenced Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This is an automated pull request from Repo Assist, an AI assistant for this repository.
Closes #626
Problem
The default
_template.htmlhardcodedalt="Header menu logo"for the header logo image, making it impossible to customise the alt text for accessibility without overriding the entire template.Fix
Added a
{{fsdocs-logo-alt}}template substitution backed by the(FsDocsLogoAlt)MSBuild property, defaulting to"Logo".Changes:
Templating.fs: add `ParamKeys.``fsdocs-logo-alt```ProjectCracker.fs: read(FsDocsLogoAlt)MSBuild property; propagate through merged project info; map tofsdocs-logo-altparameter (default"Logo")docs/_template.html: use{{fsdocs-logo-alt}}instead of hardcoded"Header menu logo"docs/styling.md: document the new substitutionRELEASE_NOTES.md: add entry under[Unreleased]Usage example:
Test Status