This is an automated email from the ASF dual-hosted git repository. kamilbregula pushed a commit to branch airflow-2-0-docs in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 1d5a722622a19e5bd6cfd4577094269de7d99d03 Author: Kamil BreguĊa <[email protected]> AuthorDate: Thu Nov 26 15:48:16 2020 +0100 A --- dump-docs-package-metadata.py | 3 ++- .../demo/_doctrees/environment.pickle | Bin 26077 -> 0 bytes sphinx_airflow_theme/demo/_doctrees/index.doctree | Bin 6482 -> 0 bytes .../demo/_doctrees/playground.doctree | Bin 120400 -> 0 bytes sphinx_airflow_theme/demo/docs.sh | 2 +- sphinx_airflow_theme/demo/index.rst | 6 +----- .../demo/{ => nested/deep-nested}/index.rst | 21 +++------------------ sphinx_airflow_theme/demo/{ => nested}/index.rst | 18 +++--------------- 8 files changed, 10 insertions(+), 40 deletions(-) diff --git a/dump-docs-package-metadata.py b/dump-docs-package-metadata.py index 6a35d41..5f59bfa 100644 --- a/dump-docs-package-metadata.py +++ b/dump-docs-package-metadata.py @@ -3,8 +3,9 @@ import json import sys import yaml +import os -ROOT_DIR = os.path.abs() +ROOT_DIR = os.path.dirname(os.path.join(os.path.abspath(__file__), os.path.pardir)) def load_yaml(filepath: str): with open(filepath) as f: diff --git a/sphinx_airflow_theme/demo/_doctrees/environment.pickle b/sphinx_airflow_theme/demo/_doctrees/environment.pickle deleted file mode 100644 index 2cc2494..0000000 Binary files a/sphinx_airflow_theme/demo/_doctrees/environment.pickle and /dev/null differ diff --git a/sphinx_airflow_theme/demo/_doctrees/index.doctree b/sphinx_airflow_theme/demo/_doctrees/index.doctree deleted file mode 100644 index 29b0dce..0000000 Binary files a/sphinx_airflow_theme/demo/_doctrees/index.doctree and /dev/null differ diff --git a/sphinx_airflow_theme/demo/_doctrees/playground.doctree b/sphinx_airflow_theme/demo/_doctrees/playground.doctree deleted file mode 100644 index f22bc22..0000000 Binary files a/sphinx_airflow_theme/demo/_doctrees/playground.doctree and /dev/null differ diff --git a/sphinx_airflow_theme/demo/docs.sh b/sphinx_airflow_theme/demo/docs.sh index 7ae252c..14014d7 100755 --- a/sphinx_airflow_theme/demo/docs.sh +++ b/sphinx_airflow_theme/demo/docs.sh @@ -51,7 +51,7 @@ function build_sphinx_demo { } function ensure_that_documentation_is_built { - if [[ ! -f _build/html/index.html ]] ; then + if [[ ! -f "_build/docs/apache-airflow/${RELEASE_VERSION}/index.html" ]] ; then echo "Documentation is not built. Start build." build_sphinx_demo fi diff --git a/sphinx_airflow_theme/demo/index.rst b/sphinx_airflow_theme/demo/index.rst index ab1d133..816b5a3 100644 --- a/sphinx_airflow_theme/demo/index.rst +++ b/sphinx_airflow_theme/demo/index.rst @@ -18,19 +18,15 @@ Welcome to Theme demo's documentation! ====================================== -AAA - .. toctree:: :maxdepth: 1 :caption: References playground - -AAA + nested/index Indices and tables ================== * :ref:`genindex` -* :ref:`modindex` * :ref:`search` diff --git a/sphinx_airflow_theme/demo/index.rst b/sphinx_airflow_theme/demo/nested/deep-nested/index.rst similarity index 76% copy from sphinx_airflow_theme/demo/index.rst copy to sphinx_airflow_theme/demo/nested/deep-nested/index.rst index ab1d133..7c7f17f 100644 --- a/sphinx_airflow_theme/demo/index.rst +++ b/sphinx_airflow_theme/demo/nested/deep-nested/index.rst @@ -15,22 +15,7 @@ specific language governing permissions and limitations under the License. -Welcome to Theme demo's documentation! -====================================== +Deep nested page +================ -AAA - -.. toctree:: - :maxdepth: 1 - :caption: References - - playground - -AAA - -Indices and tables -================== - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` +Deep nested. diff --git a/sphinx_airflow_theme/demo/index.rst b/sphinx_airflow_theme/demo/nested/index.rst similarity index 79% copy from sphinx_airflow_theme/demo/index.rst copy to sphinx_airflow_theme/demo/nested/index.rst index ab1d133..56a732b 100644 --- a/sphinx_airflow_theme/demo/index.rst +++ b/sphinx_airflow_theme/demo/nested/index.rst @@ -15,22 +15,10 @@ specific language governing permissions and limitations under the License. -Welcome to Theme demo's documentation! -====================================== - -AAA +Nested page +=========== .. toctree:: :maxdepth: 1 - :caption: References - - playground - -AAA - -Indices and tables -================== -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` + deep-nested/index
