-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Lint templates #250
Lint templates #250
Conversation
…nd adding README section explaining how to generate chapters.
…processing will continue onto the next chapter.
This also includes TOC changes. Should the destination branch be TOC as opposed to master? |
…he code comment, but prettier won't try and reformat it.
I do think it's a good change! Let's make it work. And sorry I accidentally pushed a commit to this branch, but it's actually semi-relevant so let's include it. I'm just rerunning the generation script and saving the markup changes. |
I've merged #232 into this again, and regenerated the templates to check the output. I think it's working alright now? |
More merge conflicts 😭 |
Fixed conflicts. Really sorry for the churn around these two PRs. :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mikegeyser! This looks great 👍
This PR includes prettier to do html reformatting and linting, so that we can catch errors in the markup at generation-time (both visually and programmatically). I've had to change some of the content files, so that the errors in them didn't break parsing.
I'm not sure if we want this at such a late stage, and I understand if this gets rejected, but I think that it will help catch and action errors sooner. (This change is built off of #232).