diff --git a/.ci/pytorch/python_doc_push_script.sh b/.ci/pytorch/python_doc_push_script.sh index 86c2037b1286..ce14ac1d02d6 100755 --- a/.ci/pytorch/python_doc_push_script.sh +++ b/.ci/pytorch/python_doc_push_script.sh @@ -26,8 +26,8 @@ echo "error: python_doc_push_script.sh: version (arg2) not specified" fi # Argument 1: Where to copy the built documentation to -# (pytorch.github.io/$install_path) -install_path="${1:-${DOCS_INSTALL_PATH:-docs/${DOCS_VERSION}}}" +# (pytorch_docs/$install_path) +install_path="${1:-${DOCS_INSTALL_PATH:-${DOCS_VERSION}}}" if [ -z "$install_path" ]; then echo "error: python_doc_push_script.sh: install_path (arg1) not specified" exit 1 @@ -68,8 +68,8 @@ build_docs () { } -git clone https://github.com/pytorch/pytorch.github.io -b "$branch" --depth 1 -pushd pytorch.github.io +git clone https://github.com/pytorch/docs pytorch_docs -b "$branch" --depth 1 +pushd pytorch_docs export LC_ALL=C export PATH=/opt/conda/bin:$PATH diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml index 88b7d8b939de..069bcb4d2a14 100644 --- a/.github/workflows/_docs.yml +++ b/.github/workflows/_docs.yml @@ -194,7 +194,7 @@ jobs: retention-days: 14 s3-bucket: doc-previews if-no-files-found: error - path: pytorch.github.io/docs/main/ + path: pytorch_docs/main/ s3-prefix: pytorch/pytorch/${{ github.event.pull_request.number }} - name: Upload C++ Docs Preview diff --git a/RELEASE.md b/RELEASE.md index 3a30392cab4e..a882a820df23 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -218,7 +218,7 @@ Validate the release jobs for pytorch and domain libraries should be green. Vali * [TorchVision](https://hud.pytorch.org/hud/pytorch/vision/release%2F1.12) * [TorchAudio](https://hud.pytorch.org/hud/pytorch/audio/release%2F1.12) -Validate that the documentation build has completed and generated entry corresponding to the release in [docs folder](https://github.com/pytorch/pytorch.github.io/tree/site/docs/) of pytorch.github.io repository +Validate that the documentation build has completed and generated entry corresponding to the release in [docs repository](https://github.com/pytorch/docs/tree/main/). ### Cherry Picking Fixes