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

Validate HTML generator produces unique files #142

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

erichoracek
Copy link

If you have a website with a SectionID case that has the same name as a page markdown file, right now whichever one ends up in the output is nondeterministic. This change adds a validation step to the HTMLGenerator to ensure uniqueness.

If you have a website with a `SectionID` case that has the same name as a page markdown file, right now whichever one ends up in the output is nondeterministic. This change adds a validation step to the `HTMLGenerator` to ensure uniqueness.
@codewithhart
Copy link

Interesting find. I just spent way too long figuring out why the top-level *.md files weren't updating. From what I've seen around the web...is the correct behavior to have a SectionID case match the .md file?

codewithhart pushed a commit to codewithhart/Publish that referenced this pull request Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants