Skip to content

Add links for manual testing #10361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions scala3doc/scripts/linkstovisit.txt
Original file line number Diff line number Diff line change
@@ -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
45 changes: 39 additions & 6 deletions scala3doc/scripts/mk-index.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
#!/usr/bin/env bash

function print-beginning {
cat << 'EOF'
MYDIR="$(dirname "$(readlink -f "$0")")"


function html-beginning {
cat << EOF
<html>
<body>
<p> Available projects: </p>
EOF
}

function html-ending {
cat << EOF
</body>
</html>
EOF
}

function print-beginning {
cat << EOF
<p> $1 </p>
<ul>
EOF
}
Expand All @@ -15,17 +30,23 @@ function print-list-element {
EOF
}

function print-list-element-text {
cat << EOF
<li> $1 </li>
EOF
}

function print-ending {
cat << 'EOF'
</ul>
</body>
</html>
EOF
}

cd "$1" || exit

print-beginning

html-beginning
print-beginning "Available project:"
for f in *
do
! [[ -d $f ]] && continue
Expand All @@ -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
Empty file added scala3doc/scripts/tocheck.txt
Empty file.