Skip to content

Commit c4f2111

Browse files
committed
initial
0 parents  commit c4f2111

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+11430
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
cache/*

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# dash-apidoc
2+
3+
dash-apidoc is a docset for [Dash.app][] containing the latest [apiDoc documentation][].
4+
5+
![](screenshot.png)
6+
7+
## Installing
8+
9+
Install by opening Dash.app preferences, switch to `Downloads`, click `+`, and enter the feed URL
10+
`https://raw.githubusercontent.com/pfefferle/dash-apidoc/master/apiDoc.xml`.
11+
12+
## Build
13+
14+
To rebuild or update this docset run the following commands in the following order:
15+
16+
1. `$ sh sync.sh` to grab the newest version of the documentation
17+
1. `$ python rebuild.py` to generate the docset from the grabbed sources
18+
1. `$ sh pack.sh` to build the tgz file for a new release
19+
20+
## Thanks
21+
22+
The [`sync.sh`][] and [`rebuild.py`][] scripts are based on [@willnorris][]' awesome [RFCDash Docset][] versions.
23+
24+
[Dash.app]: http://kapeli.com/dash
25+
[apiDoc documentation]: http://apidocjs.com
26+
[open an issue]: https://github.com/pfefferle/dash-apidoc/issues
27+
[`pack.sh`]: https://github.com/pfefferle/dash-apidoc/blob/master/pack.sh
28+
[`sync.sh`]: https://github.com/pfefferle/dash-apidoc/blob/master/sync.sh
29+
[`rebuild.py`]: https://github.com/pfefferle/dash-apidoc/blob/master/rebuild.py
30+
[@willnorris]: https://willnorris.com
31+
[RFCDash Docset]: https://github.com/willnorris/rfcdash

apiDoc.docset/Contents/Info.plist

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleIdentifier</key>
6+
<string>apidoc</string>
7+
<key>CFBundleName</key>
8+
<string>apiDoc</string>
9+
<key>DocSetPlatformFamily</key>
10+
<string>apiDoc</string>
11+
<key>DashDocSetFamily</key>
12+
<string>dashtoc</string>
13+
<key>dashIndexFilePath</key>
14+
<string>apidocjs.com/index.html</string>
15+
<key>isDashDocset</key>
16+
<true/>
17+
<key>isJavaScriptEnabled</key>
18+
<true/>
19+
</dict>
20+
</plist>
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
ul.resp-tabs-list, p {
2+
margin: 0px;
3+
padding: 0px;
4+
}
5+
6+
.resp-tabs-list li {
7+
font-weight: 600;
8+
font-size: 13px;
9+
display: inline-block;
10+
padding: 13px 15px;
11+
margin: 0;
12+
list-style: none;
13+
cursor: pointer;
14+
float: left;
15+
}
16+
17+
.resp-tabs-container {
18+
padding: 0px;
19+
background-color: #fff;
20+
clear: left;
21+
}
22+
23+
h2.resp-accordion {
24+
cursor: pointer;
25+
padding: 5px;
26+
display: none;
27+
}
28+
29+
.resp-tab-content {
30+
display: none;
31+
padding: 15px;
32+
}
33+
34+
.resp-tab-active {
35+
border: 1px solid #c1c1c1;
36+
border-bottom: none;
37+
margin-bottom: -1px !important;
38+
padding: 12px 14px 14px 14px !important;
39+
}
40+
41+
.resp-tab-active {
42+
border-bottom: none;
43+
background-color: #fff;
44+
}
45+
46+
.resp-content-active, .resp-accordion-active {
47+
display: block;
48+
}
49+
50+
.resp-tab-content {
51+
border: 1px solid #c1c1c1;
52+
}
53+
54+
h2.resp-accordion {
55+
font-size: 13px;
56+
border: 1px solid #c1c1c1;
57+
border-top: 0px solid #c1c1c1;
58+
margin: 0px;
59+
padding: 10px 15px;
60+
}
61+
62+
h2.resp-tab-active {
63+
border-bottom: 0px solid #c1c1c1 !important;
64+
margin-bottom: 0px !important;
65+
padding: 10px 15px !important;
66+
}
67+
68+
h2.resp-tab-title:last-child {
69+
border-bottom: 12px solid #c1c1c1 !important;
70+
background: blue;
71+
}
72+
/*-----------Vertical tabs-----------*/
73+
.resp-vtabs ul.resp-tabs-list {
74+
float: left;
75+
width: 30%;
76+
}
77+
78+
.resp-vtabs .resp-tabs-list li {
79+
display: block;
80+
padding: 15px 15px !important;
81+
margin: 0;
82+
cursor: pointer;
83+
float: none;
84+
}
85+
86+
.resp-vtabs .resp-tabs-container {
87+
padding: 0px;
88+
background-color: #fff;
89+
border: 1px solid #c1c1c1;
90+
float: left;
91+
width: 68%;
92+
min-height: 250px;
93+
border-radius: 4px;
94+
clear: none;
95+
}
96+
97+
.resp-vtabs .resp-tab-content {
98+
border: none;
99+
}
100+
101+
.resp-vtabs li.resp-tab-active {
102+
border: 1px solid #c1c1c1;
103+
border-right: none;
104+
background-color: #fff;
105+
position: relative;
106+
z-index: 1;
107+
margin-right: -1px !important;
108+
padding: 14px 15px 15px 14px !important;
109+
}
110+
111+
.resp-arrow {
112+
width: 0;
113+
height: 0;
114+
float: right;
115+
margin-top: 3px;
116+
border-left: 6px solid transparent;
117+
border-right: 6px solid transparent;
118+
border-top: 12px solid #c1c1c1;
119+
}
120+
121+
h2.resp-tab-active span.resp-arrow {
122+
border: none;
123+
border-left: 6px solid transparent;
124+
border-right: 6px solid transparent;
125+
border-bottom: 12px solid #9B9797;
126+
}
127+
128+
/*-----------Accordion styles-----------*/
129+
h2.resp-tab-active {
130+
background: #DBDBDB !important;
131+
}
132+
.resp-easy-accordion h2.resp-accordion {
133+
display: block;
134+
}
135+
.resp-easy-accordion .resp-tab-content {
136+
border: 1px solid #c1c1c1;
137+
}
138+
139+
.resp-easy-accordion .resp-tab-content:last-child {
140+
border-bottom: 1px solid #c1c1c1 !important;
141+
}
142+
143+
.resp-jfit {
144+
width: 100%;
145+
margin: 0px;
146+
}
147+
148+
.resp-tab-content-active {
149+
display: block;
150+
}
151+
152+
h2.resp-accordion:first-child {
153+
border-top: 1px solid #c1c1c1 !important;
154+
}
155+
156+
/*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
157+
@media only screen and (max-width: 768px) {
158+
ul.resp-tabs-list {
159+
display: none;
160+
}
161+
162+
h2.resp-accordion {
163+
display: block;
164+
}
165+
166+
.resp-vtabs .resp-tab-content {
167+
border: 1px solid #C1C1C1;
168+
}
169+
170+
.resp-vtabs .resp-tabs-container {
171+
border: none;
172+
float: none;
173+
width: 100%;
174+
min-height: initial;
175+
clear: none;
176+
}
177+
.resp-accordion-closed {
178+
display:none !important;
179+
}
180+
.resp-vtabs .resp-tab-content:last-child {
181+
border-bottom: 1px solid #c1c1c1 !important;
182+
}
183+
}

0 commit comments

Comments
 (0)