From 20914011ba82384971917f0b74bc999fd3d1c8ff Mon Sep 17 00:00:00 2001 From: Dimitri Gnidash Date: Tue, 10 Sep 2024 13:10:53 -0400 Subject: [PATCH] #8534: Change the path to tutorials --- .github/workflows/docs-release.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs-release.yaml b/.github/workflows/docs-release.yaml index 37a950778dd7..204c2ac9824d 100644 --- a/.github/workflows/docs-release.yaml +++ b/.github/workflows/docs-release.yaml @@ -81,18 +81,22 @@ jobs: cp -Lr docs/source/tt-metalium/* tt-metalium rm tt-metalium/conf.py # Do not change conf.py echo "Copying the docs into the repo" - cp -r tt-metalium/* docs-test/tt-metalium + cp -r tt-metalium/* tenstorrent.github.io/tt-metalium - name: Package TT-NN Docs run: | mkdir ttnn-docs cp -Lr docs/doxygen_build ttnn-docs cp -Lr docs/source/ttnn/* ttnn-docs rm ttnn-docs/conf.py # Do not change conf.py + echo "Copy tutorials and examples for TTNN from a different repo area." + cp -Lr ttnn/examples ttnn-docs/ttnn + echo "Make sure the links are updated in ttnn/usage.rst to the correct spot for the tutorials and examples." + sed -i 's/..\/..\/../..\/ttnn\/examples/examples/g' ttnn-docs/ttnn/ttnn/usage.rst echo "Copying the docs into the repo" - cp -r ttnn-docs/* docs-test/ttnn + cp -r ttnn-docs/* tenstorrent.github.io/ttnn - name: Push new versions to the Docs repo for publishing run: | - cd docs-test + cd tenstorrent.github.io echo "Register new documentation versions" python update_tags.py tt-metalium $DOCS_VERSION python update_tags.py ttnn $DOCS_VERSION