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