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

DocFxTocGenerator: Fixed override for folders to be used over index or readme #78

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

mtirionMSFT
Copy link
Collaborator

Introduced a bool to track if we have an override of the DisplayName. For folders we use this to make sure we're not taking the title from the Index or ReadMe when indicated by the --folderRef. Override always must take preference.
Also added a test for this issue and modified others because of this improved behavior.

This closes #77

@mtirionMSFT mtirionMSFT added the fix Fixed problem label Nov 20, 2024
Copy link
Owner

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good. Thanks for the fix!

@mtirionMSFT mtirionMSFT merged commit d87398a into main Nov 21, 2024
@mtirionMSFT mtirionMSFT deleted the mtirion/77-tocgenerator-fix-override-behavior branch November 21, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixed problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DocFxTocGenerator: Override of directory name is ignored with folderRef is IndexReadme or such
2 participants