forked from direnv/direnv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (64 loc) · 2.11 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
<!DOCTYPE html>
<html>
<head>
<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.15/marked.js"></script>
<!-- HIGHLIGHT.JS -->
<link rel="stylesheet" href="//chutsu.github.io/ditto/ver/0.15/github.css">
<script src="//chutsu.github.io/ditto/ver/0.15/highlight.js"></script>
<!-- MATHJAX -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$']],
processRefs: true
},
TeX: {
equationNumbers: {
autoNumber: "all",
formatID: function(id) { return null },
formatURL: function(id) { return null }
}
}
});
</script>
<script type="text/javascript"
src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
</script>
<!-- DITTO CSS -->
<link rel="stylesheet" href="//chutsu.github.io/ditto/ver/0.15/ditto.css">
<script src="//chutsu.github.io/ditto/ver/0.15/ditto.js"></script>
</head>
<body>
<!-- ESSENTIAL -->
<div id="sidebar"></div>
<div id="content"></div>
<div id="hide"></div>
<!-- OPTIONAL -->
<div id="back_to_top">top</div>
<div id="edit">edit</div>
<div id="loading">Loading ...</div>
<div id="error"></div>
<!-- DITTO -->
<script>
$(function($) {
// essential settings
ditto.index = "README.md",
ditto.sidebar_file = "docs/sidebar.md",
// optional settings if you want github search
ditto.github_username = "direnv";
ditto.github_repo = "direnv";
ditto.highlight_code = true;
// where the docs are actually stored on github - so you can edit
// e.g. https://github.com/chutsu/ditto/edit/gh-pages
ditto.base_url = "https://github.com/direnv/direnv/edit/master";
// run
ditto.run();
});
</script>
</body>
</html>