diff --git a/doc/source/_static/placeholder b/doc/source/_static/placeholder new file mode 100644 index 0000000..e69de29 diff --git a/doc/source/index.rst b/doc/source/index.rst index 074d4c7..c753539 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,3 +1,8 @@ -=================================================== -Welcome to the documentation of architecture-center -=================================================== +Architecture Center +=================== + +.. directive_wrapper:: + :class: container-sbv + + .. service_card:: + :service_type: ac \ No newline at end of file diff --git a/tox.ini b/tox.ini index e2a8bdd..808af2d 100644 --- a/tox.ini +++ b/tox.ini @@ -37,10 +37,10 @@ commands = rm -rf doc/build/html doc/build/html_temp doc/build/doctrees sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html_temp sphinx-minify --input-directory doc/build/html_temp/ --output-directory doc/build/html - {[testenv:caf]commands} - {[testenv:json-caf]commands} {[testenv:blueprints]commands} {[testenv:json-blueprints]commands} + {[testenv:caf]commands} + {[testenv:json-caf]commands} [testenv:docs-pdf] deps = @@ -56,54 +56,8 @@ allowlist_externals = commands = mkdir -p doc/build/pdf {[testenv:bindeps]commands} - {[testenv:caf-pdf-docs]commands} {[testenv:blueprints-pdf-docs]commands} - - -# HTML version -[testenv:caf] -deps = {[testenv:docs]deps} -allowlist_externals = - cp - mkdir -commands = - sphinx-build -W --keep-going -b html doc/caf/source doc/build/html_temp/caf - sphinx-minify --input-directory doc/build/html_temp/caf --output-directory doc/build/html/caf - mkdir -p caf/build/html - cp -av doc/build/html/caf caf/build/html - -# Json version (for search) -[testenv:json-caf] -deps = {[testenv:docs]deps} -allowlist_externals = - cp - mkdir - sh -commands = - sphinx-build -W --keep-going -b json doc/caf/source doc/build/json/caf - # Drop data useless for the search - wrap it also with sh/xargs due to bugs - # in tox - sh -c "find doc/build/json -type d -and '(' -name '_images' -or -name '_static' -or -name '_sources' ')' -print0 | xargs -0 rm -rf" - mkdir -p caf/build/json - cp -av doc/build/json/caf caf/build/json - -# PDF version -[testenv:caf-pdf-docs] -deps = {[testenv:docs]deps} -allowlist_externals = - rm - mkdir - make - bash - cp -commands = - rm -rf doc/caf/build/pdf - sphinx-build -W --keep-going -b latex doc/caf/source doc/caf/build/pdf/ - bash -c "for f in doc/caf/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true" - bash -c "for f in doc/caf/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done" - make -C doc/caf/build/pdf - mkdir -p doc/build/pdf - cp doc/caf/build/pdf/architecture-center-cloud-adoption-framework.pdf doc/build/pdf/ + {[testenv:caf-pdf-docs]commands} # HTML version @@ -152,6 +106,52 @@ commands = cp doc/blueprints/build/pdf/architecture-center-blueprints.pdf doc/build/pdf/ +# HTML version +[testenv:caf] +deps = {[testenv:docs]deps} +allowlist_externals = + cp + mkdir +commands = + sphinx-build -W --keep-going -b html doc/caf/source doc/build/html_temp/caf + sphinx-minify --input-directory doc/build/html_temp/caf --output-directory doc/build/html/caf + mkdir -p caf/build/html + cp -av doc/build/html/caf caf/build/html + +# Json version (for search) +[testenv:json-caf] +deps = {[testenv:docs]deps} +allowlist_externals = + cp + mkdir + sh +commands = + sphinx-build -W --keep-going -b json doc/caf/source doc/build/json/caf + # Drop data useless for the search - wrap it also with sh/xargs due to bugs + # in tox + sh -c "find doc/build/json -type d -and '(' -name '_images' -or -name '_static' -or -name '_sources' ')' -print0 | xargs -0 rm -rf" + mkdir -p caf/build/json + cp -av doc/build/json/caf caf/build/json + +# PDF version +[testenv:caf-pdf-docs] +deps = {[testenv:docs]deps} +allowlist_externals = + rm + mkdir + make + bash + cp +commands = + rm -rf doc/caf/build/pdf + sphinx-build -W --keep-going -b latex doc/caf/source doc/caf/build/pdf/ + bash -c "for f in doc/caf/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true" + bash -c "for f in doc/caf/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done" + make -C doc/caf/build/pdf + mkdir -p doc/build/pdf + cp doc/caf/build/pdf/architecture-center-cloud-adoption-framework.pdf doc/build/pdf/ + + [testenv:bindeps] deps =