forked from direnv/direnv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (37 loc) · 1.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>direnv - unclutter your .profile</title>
<!-- jQuery -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<!-- marked -->
<script src="//chutsu.github.io/ditto/ver/0.1/marked.js"></script>
<!-- ditto -->
<script src="//chutsu.github.io/ditto/ver/0.1/ditto.js"></script>
<link rel="stylesheet" href="//chutsu.github.io/ditto/ver/0.1/ditto.css">
</head>
<body>
<!-- essential -->
<div id="sidebar"></div>
<div id="content"></div>
<!-- optional -->
<div id="back_to_top">back to top</div>
<div id="edit">edit</div>
<div id="loading">Loading ...</div>
<div id="error"></div>
<script>
// essential settings
ditto.index = "README.md";
ditto.sidebar_file = "docs/sidebar.md";
// optional settings if you want github search
ditto.github_username = "zimbatm";
ditto.github_repo = "direnv";
// where the docs are actually stored on github - so you can edit
ditto.base_url = "https://github.com/zimbatm/direnv/edit/master";
// run
ditto.run();
</script>
</body>
</html>