mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
11 lines
316 B
Python
11 lines
316 B
Python
from yunohost.utils.resources import AppResourceClassesByType
|
|
|
|
resources = sorted(AppResourceClassesByType.values(), key=lambda r: r.priority)
|
|
|
|
for klass in resources:
|
|
doc = klass.__doc__.replace("\n ", "\n")
|
|
|
|
print("")
|
|
print(f"## {klass.type.replace('_', ' ').title()}")
|
|
print("")
|
|
print(doc)
|