-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix Readme script generation #821
Conversation
Looking at the hub, I don't mind the underscored look. However I don't like the similarity (but not exact match) with the id, since I think this can be confusing. I would either try to use the original name, or just use the id instead. |
@@ -21,14 +20,17 @@ def generate_readme(component_spec: ComponentSpec, *, component_dir: Path) -> st | |||
return template.render( | |||
id=component_dir.name, | |||
name=component_spec.name, | |||
component_folder_name=component_spec.component_folder_name, | |||
component_folder_name=component_spec.name, |
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.
Can we remove the component_folder_name
argument and just use the id
everywhere in its place instead?
a2451d0
to
a39b8b0
Compare
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.
I believe 🙏
This fixes the failing builds but is it what we want ?