Skip to content

Commit 914f605

Browse files
committed
Add links for manual testing
1 parent cd15c99 commit 914f605

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

scala3doc/scripts/linkstovisit.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
./self/api/dotty.dokka/-documentable-element/index.html,are overrides pointing to correct function? is filtering working
2+
./self/api/dotty.dokka/model/api/-member/index.html,is source link pointing to correct element (object Member)?
3+
./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"

scala3doc/scripts/mk-index.sh

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function print-beginning {
44
cat << 'EOF'
55
<html>
66
<body>
7-
<p> Available projects: </p>
7+
<p> $1 </p>
88
<ul>
99
EOF
1010
}
@@ -15,6 +15,12 @@ function print-list-element {
1515
EOF
1616
}
1717

18+
function print-list-element-text {
19+
cat << EOF
20+
<li> $1 </li>
21+
EOF
22+
}
23+
1824
function print-ending {
1925
cat << 'EOF'
2026
</ul>
@@ -25,7 +31,7 @@ EOF
2531

2632
cd "$1" || exit
2733

28-
print-beginning
34+
print-beginning "Available project:"
2935
for f in *
3036
do
3137
! [[ -d $f ]] && continue
@@ -40,3 +46,18 @@ do
4046
print-list-element "$INDEX" "$f"
4147
done
4248
print-ending
49+
50+
print-beginning "Links for manual testing:"
51+
while read line; do
52+
print-list-element-text "$line"
53+
done < "tocheck.txt"
54+
55+
while read line; do
56+
IFS=',' read INDEX f <<< "${line}"
57+
print-list-element "$INDEX" "$f"
58+
done < "linkstovisit.txt"
59+
print-ending
60+
61+
62+
63+

scala3doc/scripts/tocheck.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
on any page try minimizing window to see if relative styles are applied correctly
2+
is searchbar correct width
3+
are logos in good propotions
4+
is sidebar not collapsing/overlaying

0 commit comments

Comments
 (0)