Compare commits
11 Commits
propose-rf
...
main
Author | SHA1 | Date | |
---|---|---|---|
c9e2e7cbde | |||
5a4e7acb60 | |||
75eb9a46df | |||
9b2ba5c4f8 | |||
401960665e | |||
485f75d4f0 | |||
ce4f9384cd | |||
5a3bd97f78 | |||
884d958429 | |||
4b49e936ac | |||
7a381633a4 |
@ -129,6 +129,11 @@ latex_elements = {
|
||||
'papersize': 'a4paper',
|
||||
'pointsize': '12pt',
|
||||
'figure_align': 'H',
|
||||
'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}',
|
||||
'preamble': rf'''
|
||||
\newcommand{{\githash}}{{{current_commit_hash}}}
|
||||
\newcommand{{\gitcommittime}}{{{current_commit_time}}}
|
||||
\newcommand{{\doctitle}}{{{otcdocs_doc_title}}}
|
||||
\newcommand{{\servicetitle}}{{{otcdocs_service_title}}}
|
||||
''',
|
||||
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
|
||||
}
|
@ -125,6 +125,11 @@ latex_elements = {
|
||||
'papersize': 'a4paper',
|
||||
'pointsize': '12pt',
|
||||
'figure_align': 'H',
|
||||
'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}',
|
||||
'preamble': rf'''
|
||||
\newcommand{{\githash}}{{{current_commit_hash}}}
|
||||
\newcommand{{\gitcommittime}}{{{current_commit_time}}}
|
||||
\newcommand{{\doctitle}}{{{otcdocs_doc_title}}}
|
||||
\newcommand{{\servicetitle}}{{{otcdocs_service_title}}}
|
||||
''',
|
||||
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
Resource Formation Service
|
||||
==========================
|
||||
|
||||
With Resource Formation Service, you can manage system and service resources (all physical or logical entities that can be located and described, such as databases, VPCs, pipelines, and IAM roles). You can automatically deploy specified cloud service resources based on the template which uses the HCL (an open ecosystem) syntax.
|
||||
|
||||
.. directive_wrapper::
|
||||
:class: container-sbv
|
||||
|
||||
.. service_card::
|
||||
:service_type: rfs
|
||||
:environment: internal
|
||||
:umn: This document describes basic concepts, functions, key terms, and FAQs of the Resource Formation Service (RFS) and provides guidances for creating private templates, stacks, execution plans and so on.
|
33
tox.ini
@ -44,27 +44,6 @@ commands =
|
||||
{[testenv:umn]commands}
|
||||
{[testenv:json-umn]commands}
|
||||
|
||||
[testenv:docs-pdf]
|
||||
deps =
|
||||
{[testenv:docs]deps}
|
||||
{[testenv:bindeps]deps}
|
||||
allowlist_externals =
|
||||
rm
|
||||
mkdir
|
||||
wget
|
||||
make
|
||||
bash
|
||||
cp
|
||||
commands =
|
||||
mkdir -p doc/build/pdf
|
||||
{[testenv:bindeps]commands}
|
||||
mkdir -p {toxinidir}/_templates
|
||||
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
|
||||
wget -O {toxinidir}/_templates/tabular.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabular.tex.jinja
|
||||
wget -O {toxinidir}/_templates/tabulary.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabulary.tex.jinja
|
||||
{[testenv:api-ref-pdf-docs]commands}
|
||||
{[testenv:umn-pdf-docs]commands}
|
||||
|
||||
|
||||
# HTML version
|
||||
[testenv:api-ref]
|
||||
@ -106,12 +85,12 @@ commands =
|
||||
rm -rf api-ref/build/pdf
|
||||
cp -r {toxinidir}/_templates api-ref/source/_templates/
|
||||
sphinx-build -W --keep-going -b latex api-ref/source api-ref/build/pdf/
|
||||
bash -c "for f in api-ref/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
|
||||
bash -c "for f in api-ref/build/pdf/*.gif; do convert $f[0] $\{f/%gif/png\}; done || true"
|
||||
bash -c "for f in api-ref/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
|
||||
make -C api-ref/build/pdf
|
||||
make -C api-ref/build/pdf LATEXMKOPTS="-interaction=nonstopmode"
|
||||
mkdir -p doc/build/pdf
|
||||
cp api-ref/build/pdf/rfs-api-ref.pdf doc/build/pdf/
|
||||
|
||||
cp api-ref/build/pdf/rfs-api-ref.pdf doc/build/html/
|
||||
|
||||
# HTML version
|
||||
[testenv:umn]
|
||||
@ -153,12 +132,12 @@ commands =
|
||||
rm -rf umn/build/pdf
|
||||
cp -r {toxinidir}/_templates umn/source/_templates/
|
||||
sphinx-build -W --keep-going -b latex umn/source umn/build/pdf/
|
||||
bash -c "for f in umn/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
|
||||
bash -c "for f in umn/build/pdf/*.gif; do convert $f[0] $\{f/%gif/png\}; done || true"
|
||||
bash -c "for f in umn/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
|
||||
make -C umn/build/pdf
|
||||
make -C umn/build/pdf LATEXMKOPTS="-interaction=nonstopmode"
|
||||
mkdir -p doc/build/pdf
|
||||
cp umn/build/pdf/rfs-umn.pdf doc/build/pdf/
|
||||
|
||||
cp umn/build/pdf/rfs-umn.pdf doc/build/html/
|
||||
|
||||
|
||||
[testenv:bindeps]
|
||||
|
BIN
umn/source/_static/images/en-us_image_0000001955571530.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
umn/source/_static/images/en-us_image_0000001955571534.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
umn/source/_static/images/en-us_image_0000001991770641.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
umn/source/_static/images/en-us_image_0000001991770693.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
umn/source/_static/images/en-us_image_0000001991890873.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
umn/source/_static/images/en-us_image_0000002119222466.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
umn/source/_static/images/en-us_image_0000002119380574.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120549060.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120705156.png
Normal file
After Width: | Height: | Size: 182 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120707020.png
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120743374.png
Normal file
After Width: | Height: | Size: 200 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120743394.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120743398.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120746402.png
Normal file
After Width: | Height: | Size: 299 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120901474.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120901486.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
umn/source/_static/images/en-us_image_0000002120901494.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121519232.png
Normal file
After Width: | Height: | Size: 212 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121525200.png
Normal file
After Width: | Height: | Size: 252 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121663600.png
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121667372.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121673112.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121681612.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121739696.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121742716.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121754732.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121776826.png
Normal file
After Width: | Height: | Size: 226 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121776834.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121900840.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121906076.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121909700.png
Normal file
After Width: | Height: | Size: 226 KiB |
BIN
umn/source/_static/images/en-us_image_0000002121934994.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124611690.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124611694.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124611726.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124611734.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124611738.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769858.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769866.png
Normal file
After Width: | Height: | Size: 142 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769882.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769894.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769898.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
umn/source/_static/images/en-us_image_0000002124769902.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
umn/source/_static/images/en-us_image_0000002155947169.png
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
umn/source/_static/images/en-us_image_0000002155947473.png
Normal file
After Width: | Height: | Size: 299 KiB |
BIN
umn/source/_static/images/en-us_image_0000002155948217.png
Normal file
After Width: | Height: | Size: 106 KiB |