From 29145efc357848bab855f99e3033d9e1af78b221 Mon Sep 17 00:00:00 2001 From: Ketan Umare Date: Wed, 15 Apr 2020 23:13:52 -0700 Subject: [PATCH] Fixed doc generation --- docs_infra/index.rst | 22 ---------------------- rsts/index.rst | 3 ++- script/generate_docs.sh | 3 --- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 docs_infra/index.rst diff --git a/docs_infra/index.rst b/docs_infra/index.rst deleted file mode 100644 index 1c5a807052..0000000000 --- a/docs_infra/index.rst +++ /dev/null @@ -1,22 +0,0 @@ -Flyte -===== - -About Flyte - -.. toctree:: - :maxdepth: 2 - :caption: Flyte Documentation - :name: mastertoc - - introduction/index - user/index - administrator/index - contributor/index - -.. toctree:: - :caption: Generated Documentation from Source - :maxdepth: 1 - :name: sourcecodedocstoc - - flyteidl/index - Flytekit diff --git a/rsts/index.rst b/rsts/index.rst index a147eff19d..98d45413aa 100644 --- a/rsts/index.rst +++ b/rsts/index.rst @@ -19,7 +19,8 @@ Welcome to the documentation hub for Flyte. :maxdepth: 1 :name: sourcecodedocstoc - Flyte Language Specification + flyteidl/index + Flytekit FlytePropeller FlyteAdmin FlytePlugins diff --git a/script/generate_docs.sh b/script/generate_docs.sh index fbd2e27fe8..7585282709 100755 --- a/script/generate_docs.sh +++ b/script/generate_docs.sh @@ -18,9 +18,6 @@ RSTS_DIR=`mktemp -d "${BASEDIR}/rsts_tmp/XXXXXXXXX"` cp -R rsts/* ${RSTS_DIR} cp -R _rsts/* ${RSTS_DIR} -# The toctree in this index file requires that the idl/sdk rsts are in the same folder -cp docs_infra/index.rst ${RSTS_DIR} - # Generate documentation by running script inside the generation container docker run --rm -t -e FLYTEKIT_VERSION=${FLYTEKIT_VERSION} -v ${BASEDIR}:/base -v ${BASEDIR}/docs:/docs -v ${RSTS_DIR}:/rsts lyft/docbuilder:v2.2.0 /base/docs_infra/in_container_html_generation.sh