-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredirect.html
32 lines (29 loc) · 1.34 KB
/
redirect.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Demo listing pages</h1>
This website is just for testing the plugin with different themes.
For the documentation see the <a href="https://github.com/six-two/mkdocs-extract-listings-plugin/blob/main/README.md">README on GihHub</a>.
Choose your theme:
<ul>
<script>
for (theme of ["mkdocs", "readthedocs", "material"]) {
document.write(`<li>${theme}: <a href="${theme}/plugin/listing-search/">search page</a>, <a href="${theme}/plugin/all-listings/">all listings page</a>, <a href="${theme}/plugin/">automatically added search page</a></li>`)
}
</script>
</ul>
There are also test fites for using non-directory URLs, since this changes how relative links have to be constructed:
<ul>
<script>
for (theme of ["mkdocs", "readthedocs", "material"]) {
document.write(`<li>${theme}: <a href="${theme}-no-dir/plugin/listing-search.html">search page</a>, <a href="${theme}-no-dir/plugin/all-listings.html">all listings page</a>, <a href="${theme}/plugin/index.html">automatically added search page</a></li>`)
}
</script>
</ul>
</body>
</html>