init
This commit is contained in:
158
otc_metadata/templates/conf.py.j2
Normal file
158
otc_metadata/templates/conf.py.j2
Normal file
File diff suppressed because it is too large
Load Diff
16
otc_metadata/templates/doc_requirements.txt.j2
Normal file
16
otc_metadata/templates/doc_requirements.txt.j2
Normal file
@ -0,0 +1,16 @@
|
||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||
{% if target_environment == 'public' %}
|
||||
otcdocstheme<2.0.0 # Apache-2.0
|
||||
{% elif target_environment == 'internal' %}
|
||||
otcdocstheme # Apache-2.0
|
||||
{% else %}
|
||||
otcdocstheme # Apache-2.0
|
||||
{% endif %}
|
||||
# releasenotes
|
||||
reno>=3.1.0 # Apache-2.0
|
||||
|
||||
otc-sphinx-directives>=0.1.0
|
||||
sphinx-minify>=0.0.1 # Apache-2.0
|
||||
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
|
||||
setuptools
|
||||
gitpython
|
8
otc_metadata/templates/index_sbv.rst.j2
Normal file
8
otc_metadata/templates/index_sbv.rst.j2
Normal file
@ -0,0 +1,8 @@
|
||||
{{ sbv_title }}
|
||||
|
||||
.. directive_wrapper::
|
||||
:class: container-sbv
|
||||
|
||||
.. service_card::
|
||||
:service_type: {{ service_type }}
|
||||
:environment: {{ environment }}
|
151
otc_metadata/templates/tox.ini.j2
Normal file
151
otc_metadata/templates/tox.ini.j2
Normal file
File diff suppressed because it is too large
Load Diff
19
otc_metadata/templates/zuul.yaml.j2
Normal file
19
otc_metadata/templates/zuul.yaml.j2
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
- project:
|
||||
merge-mode: squash-merge
|
||||
default-branch: main
|
||||
templates:
|
||||
- helpcenter-base-jobs
|
||||
vars:
|
||||
sphinx_pdf_files:
|
||||
{%- for doc in docs %}
|
||||
{%- if doc.pdf_enabled %}
|
||||
- {{ service_type }}-{{ doc.type }}.pdf
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
check:
|
||||
jobs:
|
||||
- noop
|
||||
gate:
|
||||
jobs:
|
||||
- noop
|
Reference in New Issue
Block a user