Skip to content

Commit 9a15e42

Browse files
committed
Add links for manual testing
1 parent cd15c99 commit 9a15e42

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
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: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
#!/usr/bin/env bash
22

3-
function print-beginning {
4-
cat << 'EOF'
3+
MYDIR="$(dirname "$(readlink -f "$0")")"
4+
5+
6+
function html-beginning {
7+
cat << EOF
58
<html>
69
<body>
7-
<p> Available projects: </p>
10+
EOF
11+
}
12+
13+
function html-ending {
14+
cat << EOF
15+
</body>
16+
</html>
17+
EOF
18+
}
19+
20+
function print-beginning {
21+
cat << EOF
22+
<p> $1 </p>
823
<ul>
924
EOF
1025
}
@@ -15,17 +30,23 @@ function print-list-element {
1530
EOF
1631
}
1732

33+
function print-list-element-text {
34+
cat << EOF
35+
<li> $1 </li>
36+
EOF
37+
}
38+
1839
function print-ending {
1940
cat << 'EOF'
2041
</ul>
21-
</body>
22-
</html>
2342
EOF
2443
}
2544

2645
cd "$1" || exit
2746

28-
print-beginning
47+
48+
html-beginning
49+
print-beginning "Available project:"
2950
for f in *
3051
do
3152
! [[ -d $f ]] && continue
@@ -40,3 +61,15 @@ do
4061
print-list-element "$INDEX" "$f"
4162
done
4263
print-ending
64+
65+
print-beginning "Links for manual testing:"
66+
while read line; do
67+
print-list-element-text "$line"
68+
done < "$MYDIR/tocheck.txt"
69+
70+
while read line; do
71+
IFS=',' read INDEX f <<< "${line}"
72+
print-list-element "$INDEX" "$f"
73+
done < "$MYDIR/linkstovisit.txt"
74+
print-ending
75+
html-ending

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)