mirror of
https://github.com/openshift/community.okd.git
synced 2026-11-22 23:20:26 +00:00
Docs: README updates (#306)
* docs(README): update support section * docs(README): update example use case * docs(README): update requirements section * docs(README): fix license typo * fix: add sed expressions to avoid 404s in README * docs: add comment about how downstream collection is built * docs(README): fix multiple md lint issues in README
This commit is contained in:
@@ -51,6 +51,11 @@ f_text_sub()
|
||||
|
||||
find "${_build_dir}" -type f ! -name galaxy.yml -exec sed -i.bak "s/community\.okd/redhat\.openshift/g" {} \;
|
||||
find "${_build_dir}" -type f ! -name galaxy.yml -exec sed -i.bak "s/group\/redhat\.openshift\.okd/redhat\.openshift\.openshift/g" {} \;
|
||||
|
||||
# Restore GitHub repository URLs in the README
|
||||
sed -i.bak "s|github\.com/openshift/redhat\.openshift|github.com/openshift/community.okd|g" "${_build_dir}/README.md"
|
||||
sed -i.bak "s|github\.com/ansible-collections/redhat\.openshift|github.com/ansible-collections/community.okd|g" "${_build_dir}/README.md"
|
||||
|
||||
find "${_build_dir}" -type f -name "*.bak" -delete
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user