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

Generate static exercise README templates #287

Merged
merged 2 commits into from
Jul 21, 2017
Merged

Generate static exercise README templates #287

merged 2 commits into from
Jul 21, 2017

Conversation

kytrinyx
Copy link
Member

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.

The README template uses the Go text/template package, and the default templates 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.

See exercism/meta#15

Katrina Owen added 2 commits July 16, 2017 13:29
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.

The README template uses the Go text/template package, and the default templates generate the same READMEs as we have been generating on the fly.  See the documentation in [regenerating exercise readmes][regenerate-docs] 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][].

[configlet]: https://github.com/exercism/configlet
[regenerate-docs]: https://github.com/exercism/docs/blob/master/maintaining-a-track/regenerating-exercise-readmes.md
@pacman-bot
Copy link

1 Warning
⚠️ Big PR
4 Messages
📖 exercises/dominoes/Sources/DominoesExample.swift#L149 - Prefer != nil over let _ =
📖 exercises/dominoes/Sources/DominoesExample.swift#L152 - Prefer != nil over let _ =
📖 exercises/poker/Sources/PokerExample.swift#L189 - Function should have complexity 10 or less: currently complexity equals 12
📖 exercises/poker/Sources/PokerExample.swift#L191 - Arguments can be omitted when matching enums with associated types if they are not used.

Generated by 🚫 Danger

@robtimp robtimp merged commit 0a92f1d into master Jul 21, 2017
@masters3d masters3d deleted the generate-readme branch October 17, 2017 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants