diff --git a/scala3doc/scripts/linkstovisit.txt b/scala3doc/scripts/linkstovisit.txt new file mode 100644 index 000000000000..02f6d15859de --- /dev/null +++ b/scala3doc/scripts/linkstovisit.txt @@ -0,0 +1,13 @@ +./self/api/dotty.dokka/tasty/comments/wiki/-converter/index.html,on any page try minimizing window to see if relative styles are applied correctly +./self/api/dotty.dokka/-base-key/index.html,is searchbar correct width +./self/api/dotty.dokka/as-map.html,are logos in good propotions +./self/api/dotty.dokka/model/api/as-signature.html,is sidebar not collapsing/overlaying +./self/api/dotty.dokka/-documentable-element/index.html,are overrides pointing to correct function? is filtering working +./self/api/dotty.dokka/model/api/-member/index.html,is source link pointing to correct element (object Member)? +./self/api/dotty.dokka/-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.dokka/index.html,example package +./self/api/dotty.dokka/-documentable-element/index.html,example classlike +./self/api/dotty.dokka/get-from-extra.html,example package level method +./self/api/dotty.dokka/put.html,example extension +./self/api/dotty.dokka/-dot-diagram-builder/build.html,example method diff --git a/scala3doc/scripts/mk-index.sh b/scala3doc/scripts/mk-index.sh index ebc96296488d..e2df5a2e551c 100755 --- a/scala3doc/scripts/mk-index.sh +++ b/scala3doc/scripts/mk-index.sh @@ -1,10 +1,25 @@ #!/usr/bin/env bash -function print-beginning { - cat << 'EOF' +MYDIR="$(dirname "$(readlink -f "$0")")" + + +function html-beginning { + cat << EOF -

Available projects:

+EOF +} + +function html-ending { +cat << EOF + + +EOF +} + +function print-beginning { + cat << EOF +

$1

- - EOF } cd "$1" || exit -print-beginning + +html-beginning +print-beginning "Available project:" for f in * do ! [[ -d $f ]] && continue @@ -40,3 +61,15 @@ do print-list-element "$INDEX" "$f" done print-ending + +print-beginning "Links for manual testing:" +while read line; do + print-list-element-text "$line" +done < "$MYDIR/tocheck.txt" + +while read line; do + IFS=',' read INDEX f <<< "${line}" + print-list-element "$INDEX" "$f" +done < "$MYDIR/linkstovisit.txt" +print-ending +html-ending diff --git a/scala3doc/scripts/tocheck.txt b/scala3doc/scripts/tocheck.txt new file mode 100644 index 000000000000..e69de29bb2d1