Skip to content

Commit 3fd974f

Browse files
authored
Merge pull request #10361 from BarkingBad/manual-testing-links
Add links for manual testing
2 parents b7be482 + 6686887 commit 3fd974f

File tree

3 files changed

+52
-6
lines changed

3 files changed

+52
-6
lines changed

scala3doc/scripts/linkstovisit.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
./self/api/dotty.dokka/tasty/comments/wiki/-converter/index.html,on any page try minimizing window to see if relative styles are applied correctly
2+
./self/api/dotty.dokka/-base-key/index.html,is searchbar correct width
3+
./self/api/dotty.dokka/as-map.html,are logos in good propotions
4+
./self/api/dotty.dokka/model/api/as-signature.html,is sidebar not collapsing/overlaying
5+
./self/api/dotty.dokka/-documentable-element/index.html,are overrides pointing to correct function? is filtering working
6+
./self/api/dotty.dokka/model/api/-member/index.html,is source link pointing to correct element (object Member)?
7+
./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
8+
./self/api/index/index.html,package overview
9+
./self/api/dotty.dokka/index.html,example package
10+
./self/api/dotty.dokka/-documentable-element/index.html,example classlike
11+
./self/api/dotty.dokka/get-from-extra.html,example package level method
12+
./self/api/dotty.dokka/put.html,example extension
13+
./self/api/dotty.dokka/-dot-diagram-builder/build.html,example method

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

Whitespace-only changes.

0 commit comments

Comments
 (0)