Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate changes to mapreduce-service-api-ref from PreProd environment #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-ref/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
latex_documents = [
('index',
'mrs-api-ref.tex',
u'MapReduce Service - API Reference',
u'MapReduce Service - API Reference',
u'OpenTelekomCloud', 'manual'),
]

Expand Down
2 changes: 1 addition & 1 deletion doc/best-practice/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
latex_documents = [
('index',
'mrs-best-practice.tex',
u'MapReduce Service - Best Practice',
u'MapReduce Service - Best Practice',
u'OpenTelekomCloud', 'manual'),
]

Expand Down
4 changes: 2 additions & 2 deletions doc/component-operation-guide-lts/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
# -- Options for PDF output --------------------------------------------------
latex_documents = [
('index',
'mrs-component-operation-guide-lts.tex',
u'MapReduce Service - Component Operation Guide (LTS)',
'mrs-operation-guide-lts.tex',
u'MapReduce Service - Component Operation Guide (LTS)',
u'OpenTelekomCloud', 'manual'),
]

Expand Down
4 changes: 2 additions & 2 deletions doc/component-operation-guide/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
# -- Options for PDF output --------------------------------------------------
latex_documents = [
('index',
'mrs-component-operation-guide.tex',
u'MapReduce Service - Component Operation Guide',
'mrs-operation-guide.tex',
u'MapReduce Service - Component Operation Guide',
u'OpenTelekomCloud', 'manual'),
]

Expand Down
92 changes: 1 addition & 91 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ commands =
{[testenv:best-practice]commands}
{[testenv:json-best-practice]commands}

[testenv:docs-pdf]
[testenv:pdf-docs]
deps =
{[testenv:docs]deps}
{[testenv:bindeps]deps}
Expand Down Expand Up @@ -102,24 +102,6 @@ commands =
mkdir -p operation-guide/build/json
cp -av doc/build/json/operation-guide operation-guide/build/json

# PDF version
[testenv:operation-guide-pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
rm
mkdir
make
bash
cp
commands =
rm -rf doc/component-operation-guide/build/pdf
cp -r {toxinidir}/_templates doc/component-operation-guide/source/_templates/
sphinx-build -W --keep-going -b latex doc/component-operation-guide/source doc/component-operation-guide/build/pdf/
bash -c "for f in doc/component-operation-guide/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
bash -c "for f in doc/component-operation-guide/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C doc/component-operation-guide/build/pdf
mkdir -p doc/build/pdf
cp doc/component-operation-guide/build/pdf/mrs-component-operation-guide.pdf doc/build/pdf/


# HTML version
Expand Down Expand Up @@ -149,24 +131,6 @@ commands =
mkdir -p operation-guide-lts/build/json
cp -av doc/build/json/operation-guide-lts operation-guide-lts/build/json

# PDF version
[testenv:operation-guide-lts-pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
rm
mkdir
make
bash
cp
commands =
rm -rf doc/component-operation-guide-lts/build/pdf
cp -r {toxinidir}/_templates doc/component-operation-guide-lts/source/_templates/
sphinx-build -W --keep-going -b latex doc/component-operation-guide-lts/source doc/component-operation-guide-lts/build/pdf/
bash -c "for f in doc/component-operation-guide-lts/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
bash -c "for f in doc/component-operation-guide-lts/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C doc/component-operation-guide-lts/build/pdf
mkdir -p doc/build/pdf
cp doc/component-operation-guide-lts/build/pdf/mrs-component-operation-guide-lts.pdf doc/build/pdf/


# HTML version
Expand Down Expand Up @@ -196,24 +160,6 @@ commands =
mkdir -p umn/build/json
cp -av doc/build/json/umn umn/build/json

# PDF version
[testenv:umn-pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
rm
mkdir
make
bash
cp
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/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C umn/build/pdf
mkdir -p doc/build/pdf
cp umn/build/pdf/mrs-umn.pdf doc/build/pdf/


# HTML version
Expand Down Expand Up @@ -243,24 +189,6 @@ commands =
mkdir -p api-ref/build/json
cp -av doc/build/json/api-ref api-ref/build/json

# PDF version
[testenv:api-ref-pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
rm
mkdir
make
bash
cp
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/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C api-ref/build/pdf
mkdir -p doc/build/pdf
cp api-ref/build/pdf/mrs-api-ref.pdf doc/build/pdf/


# HTML version
Expand Down Expand Up @@ -290,24 +218,6 @@ commands =
mkdir -p best-practice/build/json
cp -av doc/build/json/best-practice best-practice/build/json

# PDF version
[testenv:best-practice-pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
rm
mkdir
make
bash
cp
commands =
rm -rf doc/best-practice/build/pdf
cp -r {toxinidir}/_templates doc/best-practice/source/_templates/
sphinx-build -W --keep-going -b latex doc/best-practice/source doc/best-practice/build/pdf/
bash -c "for f in doc/best-practice/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
bash -c "for f in doc/best-practice/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C doc/best-practice/build/pdf
mkdir -p doc/build/pdf
cp doc/best-practice/build/pdf/mrs-best-practice.pdf doc/build/pdf/



Expand Down
2 changes: 1 addition & 1 deletion umn/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
latex_documents = [
('index',
'mrs-umn.tex',
u'MapReduce Service - User Guide',
u'MapReduce Service - User Guide',
u'OpenTelekomCloud', 'manual'),
]

Expand Down
2 changes: 2 additions & 0 deletions zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
default-branch: main
templates:
- helpcenter-base-jobs
vars:
sphinx_pdf_files:
check:
jobs:
- noop
Expand Down