mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-01-18 16:27:25 +01:00
readme modif
This commit is contained in:
4
.github/workflows/generate-template-json.py
vendored
4
.github/workflows/generate-template-json.py
vendored
@@ -92,10 +92,12 @@ try:
|
||||
os.remove("./README.md")
|
||||
except:
|
||||
print ("file don't exist")
|
||||
nb_a = f'<img src="https://img.shields.io/badge/Avaibles:_{nb_a}-%2354B848.svg?style=for-the-badge&logo=cachet&logoColor=white">'
|
||||
nb_td = f'<img src="https://img.shields.io/badge/Avaibles:_{nb_td}-%23FF8800.svg?style=for-the-badge&logo=vlc&logoColor=white">'
|
||||
readme_template = open(".github/workflows/Readme-template.md", "rt")
|
||||
readme_result = open("README.md", "wt")
|
||||
for line in readme_template:
|
||||
readme_result.write(line.replace('##SERVICES##', SERVICES).replace('##SERVICES_TODO##', SERVICES_TODO).replace('## List of services availables:', f"## List of services availables: ({nb_a})").replace('## List of services to do:', f"## List of services to do: ({nb_td})"))
|
||||
readme_result.write(line.replace('##SERVICES##', SERVICES).replace('##SERVICES_TODO##', SERVICES_TODO).replace('##NB_A##', nb_a).replace('##NB_TD##', nb_td))
|
||||
readme_template.close()
|
||||
readme_result.close()
|
||||
print ("\n ✅ README.md generated !")
|
||||
|
||||
0
composes-files/read-the-docs.yml
Normal file
0
composes-files/read-the-docs.yml
Normal file
Reference in New Issue
Block a user