Messages via Types with Validation etc.
This commit is contained in:
20
utils/doc-template/module.html.jinja2
Normal file
20
utils/doc-template/module.html.jinja2
Normal file
@ -0,0 +1,20 @@
|
||||
{# Agenten Plattform
|
||||
#
|
||||
# (c) 2024 Magnus Bender
|
||||
# Institute of Humanities-Centered Artificial Intelligence (CHAI)
|
||||
# Universitaet Hamburg
|
||||
# https://www.chai.uni-hamburg.de/~bender
|
||||
#
|
||||
# source code released under the terms of GNU Public License Version 3
|
||||
# https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
#}
|
||||
|
||||
|
||||
{% extends "default/module.html.jinja2" %}
|
||||
|
||||
{% macro is_public(doc) %}
|
||||
{% if doc.name in ("model_config", "model_fields", "model_computed_fields") %}
|
||||
{% else %}
|
||||
{{ default_is_public(doc) }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
Reference in New Issue
Block a user