lowdefy/packages/docs/templates/operators.yaml.njk
2021-01-29 11:42:27 +02:00

60 lines
1.6 KiB
Plaintext

# Copyright 2020-2021 Lowdefy, Inc
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
methods:
_var: methods
page:
_ref:
path: templates/general.yaml.njk
vars:
pageId:
_var: pageId
pageTitle:
_var: pageTitle
section: Operators
content:
- id: types
type: Markdown
style:
'.markdown-body':
fontSize: 14px
properties:
content:
_var: types
- id: description
type: MarkdownWithHtml
properties:
content:
_var: description
{% if arguments %}
- id: arguments_title
type: Markdown
properties:
content: '#### Arguments'
- id: arguments
type: MarkdownWithHtml
properties:
content:
_var: arguments
{% endif %}
{% if examples %}
- id: examples_title
type: Markdown
properties:
content: '#### Examples'
- id: examples
type: MarkdownWithHtml
properties:
content:
_var: examples
{% endif %}