aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-26 19:29:24 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-26 19:29:24 +0200
commit8b0f2f688be3ec8226352f822d69ab87673e523d (patch)
treef4cb15bbc9895cd0bf5edb4ae290e62ffe2125e8
parentInclude inline documentation for ecah class/resource parameter. (diff)
downloadmuppet-strings-8b0f2f688be3ec8226352f822d69ab87673e523d.tar.gz
muppet-strings-8b0f2f688be3ec8226352f822d69ab87673e523d.tar.xz
Add clear notice in output about non-implemented features.
-rw-r--r--muppet/output.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/muppet/output.py b/muppet/output.py
index 91cc373..0aae7ed 100644
--- a/muppet/output.py
+++ b/muppet/output.py
@@ -211,16 +211,40 @@ def setup_module_index(*,
content.append(class_index(data['puppet_classes']))
data['data_types']
+ content.append({
+ 'title': 'Data types not yet implmented',
+ 'list': [],
+ })
content.append(type_aliases_index(data['data_type_aliases']))
content.append(defined_types_index(data['defined_types']))
data['resource_types']
+ content.append({
+ 'title': 'Resource types not yet implmented',
+ 'list': [],
+ })
data['providers']
+ content.append({
+ 'title': 'Providers not yet implmented',
+ 'list': [],
+ })
data['puppet_functions']
+ content.append({
+ 'title': 'Puppet Functions not yet implmented',
+ 'list': [],
+ })
data['puppet_tasks']
+ content.append({
+ 'title': 'Puppet Tasks not yet implmented',
+ 'list': [],
+ })
data['puppet_plans']
+ content.append({
+ 'title': 'Puppet Plans not yet implmented',
+ 'list': [],
+ })
with open(os.path.join(base, 'index.html'), 'w') as f:
f.write(template.render(module_name=module.name,