diff --git a/.github/ISSUE_TEMPLATE/documentation-content.md b/.github/ISSUE_TEMPLATE/documentation-content.md deleted file mode 100644 index bf6a1e5b3f0e..000000000000 --- a/.github/ISSUE_TEMPLATE/documentation-content.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: "\U0001F4DADocumentation Content" -about: Report an issue related to the documentation content on https://pytorch.org - ---- - -## đ Documentation - -(Add a clear and concise description of what the documentation content issue is. A link to any relevant https://pytorch.org page is helpful if you have one.) diff --git a/.github/ISSUE_TEMPLATE/website-issue.md b/.github/ISSUE_TEMPLATE/website-issue.md deleted file mode 100644 index efc8fef24039..000000000000 --- a/.github/ISSUE_TEMPLATE/website-issue.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: "\U0001F54B Website Issue" -about: Report an issue with the https://pytorch.org website itself - ---- - -## đ Website - - - -## To Reproduce - -Steps to reproduce the behavior (if applicable): - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## Expected behavior - - - -## Screenshots - - - -## Desktop (please complete the following information): - - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -## Additional context - - diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 23a8f5ffbad9..000000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build - -on: - push: - branches: - - site - workflow_dispatch: - -jobs: - tests: - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main - secrets: inherit - with: - runner: linux.12xlarge - repository: pytorch/pytorch.github.io - docker-image: cimg/ruby:2.7-node - secrets-env: PYTORCHBOT_TOKEN - script: | - git config --global --add safe.directory /__w/pytorch.github.io/pytorch.github.io - set -euxo pipefail - - ## Bundle Install - cd - mkdir .bundle - bundle config path '~/vendor/bundle' - git clone https://github.com/pytorch/pytorch.github.io.git - cd pytorch.github.io - bundle install - - ## Yarn Install - yarn install --cache-folder ~/.cache/yarn - - ## Notedown Install - sudo apt update && sudo apt install python3-pip && sudo -H pip3 install pyrsistent==0.16 notedown pyyaml -Iv nbformat==5.7 - - ## Configure Bot - git config --global user.email "facebook-circleci-bot@users.noreply.github.com" - git config --global user.name "Website Deployment Script" - - ## Build Jekyll site and push to master - ./scripts/deploy-site.sh build diff --git a/.github/workflows/update-quick-start-module.yml b/.github/workflows/update-quick-start-module.yml deleted file mode 100644 index bf6956011c9f..000000000000 --- a/.github/workflows/update-quick-start-module.yml +++ /dev/null @@ -1,118 +0,0 @@ -name: Update quick start module -on: - schedule: - # At 18:30 pm UTC (1:30 pm EST) - - cron: "30 18 * * *" - pull_request: - paths: - - .github/workflows/update-quick-start-module.yml - - scripts/gen_quick_start_module.py - - _includes/quick-start-module.js - - _includes/quick_start_local.html - push: - branches: - site - paths: - - .github/workflows/update-quick-start-module.yml - - scripts/gen_quick_start_module.py - - _includes/quick-start-module.js - - _includes/quick_start_local.html - workflow_dispatch: - -jobs: - linux-nightly-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: linux - channel: "nightly" - getting-started: true - windows-nightly-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: windows - channel: "nightly" - getting-started: true - macos-arm64-nightly-matrix: - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: macos-arm64 - channel: "nightly" - getting-started: true - linux-release-matrix: - needs: [linux-nightly-matrix] - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: linux - channel: "release" - getting-started: true - windows-release-matrix: - needs: [windows-nightly-matrix] - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: windows - channel: "release" - getting-started: true - macos-arm64-release-matrix: - needs: [macos-arm64-nightly-matrix] - uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main - with: - package-type: all - os: macos-arm64 - channel: "release" - getting-started: true - - update-quick-start: - needs: [linux-nightly-matrix, windows-nightly-matrix, macos-arm64-nightly-matrix, - linux-release-matrix, windows-release-matrix, macos-arm64-release-matrix] - runs-on: "ubuntu-latest" - environment: pytorchbot-env - steps: - - name: Checkout pytorch.github.io - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.9 - architecture: x64 - - name: Create json file - shell: bash - env: - LINUX_NIGHTLY_MATRIX: ${{ needs.linux-nightly-matrix.outputs.matrix }} - WINDOWS_NIGHTLY_MATRIX: ${{ needs.windows-nightly-matrix.outputs.matrix }} - MACOS_NIGHTLY_MATRIX: ${{ needs.macos-arm64-nightly-matrix.outputs.matrix }} - LINUX_RELEASE_MATRIX: ${{ needs.linux-release-matrix.outputs.matrix }} - WINDOWS_RELEASE_MATRIX: ${{ needs.windows-release-matrix.outputs.matrix }} - MACOS_RELEASE_MATRIX: ${{ needs.macos-arm64-release-matrix.outputs.matrix }} - run: | - set -ex - printf '%s\n' "$LINUX_NIGHTLY_MATRIX" > linux_nightly_matrix.json - printf '%s\n' "$WINDOWS_NIGHTLY_MATRIX" > windows_nightly_matrix.json - printf '%s\n' "$MACOS_NIGHTLY_MATRIX" > macos_nightly_matrix.json - printf '%s\n' "$LINUX_RELEASE_MATRIX" > linux_release_matrix.json - printf '%s\n' "$WINDOWS_RELEASE_MATRIX" > windows_release_matrix.json - printf '%s\n' "$MACOS_RELEASE_MATRIX" > macos_release_matrix.json - python3 ./scripts/gen_quick_start_module.py --autogenerate > assets/quick-start-module.js - rm *_matrix.json - - name: Create Issue if failed - uses: dacbd/create-issue-action@main - if: ${{ failure() }} # only run when this job is failed. - with: - title: Updating quick start module failed - token: ${{secrets.PYTORCHBOT_TOKEN}} - assignees: ${{github.actor}} - labels: bug - body: Updating quick start module failed, please fix update quick start module - - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 - with: - token: ${{ secrets.PYTORCHBOT_TOKEN }} - commit-message: Modify published_versions.json, releases.json and quick-start-module.js - title: '[Getting Started Page] Modify published_versions.json, releases.json and quick-start-module.js' - body: > - This PR is auto-generated. It updates Getting Started page - labels: automated pr diff --git a/.github/workflows/validate-quick-start-module.yml b/.github/workflows/validate-quick-start-module.yml deleted file mode 100644 index 2813be181d01..000000000000 --- a/.github/workflows/validate-quick-start-module.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Validate quick start module -on: - pull_request: - branches: - site - paths: - - published_versions.json - - assets/quick-start-module.js - - .github/workflows/validate-quick-start-module.yml - push: - branches: - site - paths: - - published_versions.json - - assets/quick-start-module.js - - .github/workflows/validate-quick-start-module.yml - workflow_dispatch: - -jobs: - validate-nightly-binaries: - uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main - with: - os: all - channel: "nightly" - validate-release-binaries: - if: always() - uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main - needs: validate-nightly-binaries - with: - os: all - channel: "release" diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 90a766742d95..000000000000 --- a/.gitignore +++ /dev/null @@ -1,18 +0,0 @@ -.DS_Store -node_modules -yarn-error.log -/vendor -# These are NOT autogenerated. Check in files as necessary. -!docs/stable/_static/js/vendor/ -!docs/master/_static/js/vendor/ -.bundle -.sass_cache -_site - -.idea/ - -.jekyll-metadata - -.vscode/ - -.netlify/ diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index df1b3b80f323..000000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "_hub"] - path = _hub - url = https://github.com/pytorch/hub.git diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 834eb3fa85bf..000000000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -9.8.0 diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 6a81b4c83794..000000000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.7.8 diff --git a/404.html b/404.html index 1e39ebf5a0cc..b9383b59f6f8 100644 --- a/404.html +++ b/404.html @@ -1,11 +1,115 @@ ---- -title: Oops! -id: 404 -permalink: /404.html -layout: general ---- - - + + + + + +