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

Add help for generators #1107

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

Conversation

joelparkerhenderson
Copy link
Contributor

@joelparkerhenderson joelparkerhenderson commented Dec 27, 2024

Goal: provide users with better website help for Loco generators.

Context: The Loco guide website has help files for models, views,
controllers, etc., but not (yet) for generators. In my opinion,
generators are awesome and are a good way for novices to create Loco
apps quickly and correctly.

Helps with #1094

This commit is a rough draft of a Loco guide help page. Ideally other
people here can use this as a starting point for adding more help,
better help, good examples, etc.

For me personally, this page as-is (presuming there are no showstopper
errors) would be a big help for teaching Loco to teammates, even given
the page is a rough draft.

I tried to use a similar TOML front matter; please can someone on the
team could proof that?

The Rails guides have a much more sophisticated geneators guide. IMHO
worth a read. In my Rails work, my teams often use custom generators,
and always use custom field types defined in a migration helper class,
such as email = string(254) and latitude = numeric(12,9).

Goal: provide users with better website help for Loco generators.

Context: The Loco guide website has help files for models, views,
controllers, etc., but not (yet) for generators. In my opinion,
generators are awesome and are a good way for novices to create Loco
apps quickly and correctly.

loco-rs#1094

This commit is a rough draft of a Loco guide help page. Ideally other
people here can use this as a starting point for adding more help,
better help, good examples, etc.

For me personally, this page as-is (presuming there are no showstopper
errors) would be a big help for teaching Loco to teammates, even given
the page is a rough draft.

I tried to use a similar TOML front matter; please can someone on the
team could proof that?

The Rails guides have a much more sophisticated geneators guide. IMHO
worth a read. In my Rails work, my teams often use custom generators,
and always use custom field types defined in a migration helper class,
such as `email = string(254)` and `latitude = numeric(12,9)`.

with '#' will be ignored, and an empty message aborts the commit.  # #
Date:      Thu Dec 26 15:43:19 2024 -0800 # # On branch
add-help-for-generators # Changes to be committed: #	new file:
docs-site/content/docs/the-app/generators.md #
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.

1 participant