diff --git a/.github/workflows/scaladoc.yaml b/.github/workflows/scaladoc.yaml index 3108f2b94562..31d9dbdd0336 100644 --- a/.github/workflows/scaladoc.yaml +++ b/.github/workflows/scaladoc.yaml @@ -62,21 +62,6 @@ jobs: - name: Generate documentation for example project using dotty-sbt run: ./project/scripts/sbt "sbt-test/scripted sbt-dotty/scaladoc" - - name: Generate index file - run: scaladoc/scripts/mk-index.sh scaladoc/output > scaladoc/output/index.html - - - name: Upload documentation to server - uses: azure/CLI@v1 - if: env.AZURE_STORAGE_SAS_TOKEN - env: - PR_NUMBER: ${{ github.event.pull_request.number }} - with: - inlineScript: | - DOC_DEST=$(echo pr-${PR_NUMBER:-${GITHUB_REF##*/}} | tr -d -c "[-A-Za-z0-9]") - echo uplading docs to https://scala3doc.virtuslab.com/$DOC_DEST - az storage container create --name $DOC_DEST --account-name scala3docstorage --public-access container - az storage blob upload-batch --overwrite true -s scaladoc/output -d $DOC_DEST --account-name scala3docstorage - stdlib-sourcelinks-test: runs-on: ubuntu-latest # if false - disable flaky test diff --git a/scaladoc/scripts/linkstovisit.txt b/scaladoc/scripts/linkstovisit.txt deleted file mode 100644 index c615ece17d35..000000000000 --- a/scaladoc/scripts/linkstovisit.txt +++ /dev/null @@ -1,13 +0,0 @@ -./self/api/dotty.tools.scaladoc/tasty/comments/wiki/-converter/index.html,on any page try minimizing window to see if relative styles are applied correctly -./self/api/dotty.tools.scaladoc/-base-key/index.html,is searchbar correct width -./self/api/dotty.tools.scaladoc/as-map.html,are logos in good propotions -./self/api/dotty.tools.scaladoc/model/api/as-signature.html,is sidebar not collapsing/overlaying -./self/api/dotty.tools.scaladoc/-documentable-element/index.html,are overrides pointing to correct function? is filtering working -./self/api/dotty.tools.scaladoc/model/api/-member/index.html,is source link pointing to correct element (object Member)? -./self/api/dotty.tools.scaladoc/-scala-content-node/index.html,you can see is graph properly rendered; can you navigate by nodes up and down the hierarchy -./self/api/index/index.html,package overview -./self/api/dotty.tools.scaladoc/index.html,example package -./self/api/dotty.tools.scaladoc/-documentable-element/index.html,example classlike -./self/api/dotty.tools.scaladoc/get-from-extra.html,example package level method -./self/api/dotty.tools.scaladoc/put.html,example extension -./self/api/dotty.tools.scaladoc/-dot-diagram-builder/build.html,example method diff --git a/scaladoc/scripts/mk-index.sh b/scaladoc/scripts/mk-index.sh deleted file mode 100755 index d4d72aec0d84..000000000000 --- a/scaladoc/scripts/mk-index.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env bash - -# NOTE that this file is used in CI - -MYDIR="$(dirname "$(readlink -f "$0")")" - - -function html-beginning { - cat << EOF - -
-EOF -} - -function html-ending { -cat << EOF - - -EOF -} - -function print-beginning { - cat << EOF -$1
-