-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
124 lines (123 loc) · 5.36 KB
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Fable.Jester</title>
<link rel="stylesheet" href="https://unpkg.com/docute@4/dist/docute.css">
<link rel="stylesheet" type="text/css" href="styles/website.css">
</head>
<body>
<div id="root"></div>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<script>
// make images work using absolute urls both in developement and when published to github
Vue.component("ResolvedImage", {
props: ["source"],
template: "<img :src='resolvedUrl' />",
computed: {
resolvedUrl: function () {
let path = window.location.pathname;
if (path.endsWith("/")) {
return path.substr(0, path.length - 1) + this.source;
} else {
return path + this.source;
}
}
}
});
var docs = new Docute({
detectSystemDarkTheme: true,
darkThemeToggler: true,
imageZoom: true,
layout: "wide",
target: "#root",
highlight: ["fsharp", "bash", "powershell", "json"],
cssVariables: {
accentColor: "hsl(171, 100%, 41%)",
sidebarWidth: "300px",
sidebarLinkActiveColor: "hsl(171, 100%, 41%)",
sidebarLinkArrowColor: "hsl(171, 100%, 41%)"
},
nav: [
{ title: "GitHub Repository", link: "https://github.com/Shmew/Fable.Jester" }
],
sidebar: [
{
title: "Introduction",
link: "/"
},
{
title: "Installation",
links: [
{ title: "Fable.Jester", link: "/installation/jest" },
{ title: "Fable.ReactTestingLibrary", link: "/installation/react-testing-library" },
{ title: "Fable.FastCheck", link: "/installation/fast-check" },
{ title: "Fable.FastCheck.Jest", link: "/installation/fast-check-jest" }
]
},
{
title: "Release Notes",
link: "/RELEASE_NOTES"
},
{
title: "Fable.Jester",
links: [
{ title: "Introduction", link: "/jest/" },
{ title: "Describe", link: "/jest/describe" },
{ title: "Test", link: "/jest/test" },
{ title: "Globals", link: "/jest/globals" },
{ title: "Expect", link: "/jest/expect" },
{ title: "Expect Helpers", link: "/jest/expect-helpers" }
]
},
{
title: "Fable.ReactTestingLibrary",
links: [
{ title: "Introduction", link: "/rtl/" },
{ title: "RTL", link: "/rtl/rtl" },
{ title: "Queries", link: "/rtl/queries-for-element" },
{ title: "Render", link: "/rtl/render"}
]
},
{
title: "Fable.FastCheck",
links: [
{ title: "Introduction", link: "/fast-check/" },
{ title: "FastCheck", link: "/fast-check/fast-check" },
{ title: "Arbitrary", link: "/fast-check/arbitrary/" },
{ title: "Arbitrary.Defaults", link: "/fast-check/arbitrary/defaults" },
{ title: "Arbitrary.ConstrainedDefaults", link: "/fast-check/arbitrary/constrained-defaults" },
{ title: "Arbitrary.Array", link: "/fast-check/arbitrary/array" },
{ title: "Arbitrary.List", link: "/fast-check/arbitrary/list" },
{ title: "Arbitrary.ResizeArray", link: "/fast-check/arbitrary/resizearray" },
{ title: "Arbitrary.Map", link: "/fast-check/arbitrary/map" },
{ title: "Arbitrary.Set", link: "/fast-check/arbitrary/set" },
{ title: "Computation Expression", link: "/fast-check/arbitrary/ce" },
{ title: "Jest Extension", link: "/fast-check/jest-extension" },
{ title: "Model Testing", link: "/fast-check/model-testing" },
{ title: "Elmish Model Testing", link: "/fast-check/elmish-model-testing" },
{ title: "Scheduler", link: "/fast-check/scheduler" }
]
},
{
title: "Creating Tests",
link: "/creating-tests"
},
{
title: "Running Tests",
link: "/running-tests"
},
{
title: "Acknowledgment",
link: "/acknowledgment"
},
{
title: "Contributing",
link: "/contributing"
}
]
});
</script>
</body>
</html>