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

Fix Readme script generation #821

Merged
merged 6 commits into from
Jan 30, 2024
Merged

Fix Readme script generation #821

merged 6 commits into from
Jan 30, 2024

Conversation

GeorgesLorre
Copy link
Collaborator

This fixes the failing builds but is it what we want ?

@GeorgesLorre GeorgesLorre changed the title Fix generate Readme script generation Fix Readme script generation Jan 30, 2024
@RobbeSneyders
Copy link
Member

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.

@GeorgesLorre GeorgesLorre marked this pull request as ready for review January 30, 2024 12:23
@@ -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,
Copy link
Member

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?

Copy link
Member

@RobbeSneyders RobbeSneyders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe 🙏

@GeorgesLorre GeorgesLorre merged commit 8b9713a into main Jan 30, 2024
7 of 9 checks passed
@GeorgesLorre GeorgesLorre deleted the fix/readme-generation branch January 30, 2024 14:37
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.

2 participants