Skip to content

Commit

Permalink
#8534: Change the path to tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-tenstorrent committed Sep 10, 2024
1 parent 04f9c9f commit 2091401
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docs-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2091401

Please sign in to comment.