Generate exercise READMEs from templates#319
Merged
ErikSchierboom merged 2 commits intomasterfrom Jul 17, 2017
Merged
Conversation
Member
Author
|
The build is failing on the book-store exercise, but I don't see what/how. I'm retriggering the build in case this was a fleeting thing. |
Member
Author
Seems to have worked |
Member
Author
|
Please hold off on merging this. In exercism/configlet#24 we're talking about having a default template in the repository that we can use instead of duplicating the template everywhere. That way only the exercises that want to change the default would actually have a template. |
added 2 commits
July 16, 2017 13:10
We are working towards making exercises stand-alone—that is to say: no more generating READMEs on the fly. This will give maintainers more control over each individual exercise README. The template uses the Go text/template package, and the default templates generate the exact same READMEs as we have been generating on the fly.
3553082 to
7b3410d
Compare
Member
Author
|
This should be good to go provided that the build passes. |
ErikSchierboom
approved these changes
Jul 17, 2017
4 tasks
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.
We are working towards making exercises stand-alone.
That is to say: no more generating READMEs on the fly.
This will give maintainers more control over each individual exercise
README, and it will also make some of the backend logic for delivering
exercises simpler.
This does not mean, however, hand-crafting READMEs from scratch.
I wrote some tooling to make it possible to generate the READMEs from
a customizable template.
The template uses the Go text/template package, and the default template
will generate the same READMEs as we have been generating on the fly.
See the documentation in regenerating exercise readmes for
details.
The READMEs can be generated at any time using a new 'generate' command in configlet. This command has not yet landed in master or been released, but can be built from source in the generate-readmes branch on configlet.
Tracking progress of all tracks in: exercism/meta#15