-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Components Rendering: Support nested readmes #609
Conversation
github_edit_url = f"https://github.com/{GITHUB_REPO}/blob/master/modules/{relative_path}" | ||
|
||
if len(relative_path.split('/')) > 2: # this is submodule | ||
if len(relative_path.split('/')) > 2 and relative_path.split('/')[1] != 'docs' : # this is submodule |
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.
This smells. Though I'm not sure how we want to handle this, we need to enforce either docs/
or modules
but think of tgw which uses tgw/hub
as a component, it is nested, therefore I stuck with docs
as an exception to the rule (where it's not a directory of TF)
- name: "Benjamin Smith" | ||
github: "Benbentwo" |
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.
FYI this doesnt do anything. Contributors are pulled from contribs
. But doesnt hurt either
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.
(with the updated README template)
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.
Yeah added mostly to trigger a build
what
docs/some-doc.md
why
cloudposse-components
GitHub organization.