Skip to content

Commit 6d294f3

Browse files
Stijn DebrouwereStijn Debrouwere
Stijn Debrouwere
authored and
Stijn Debrouwere
committed
First commit. Extracted into a separate app, from different parts that were coupled to a project.
0 parents  commit 6d294f3

31 files changed

+2121
-0
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.pyc
2+
.DS_Store
3+
docs/_build
4+
*.egg-info
5+
build
6+
dist

LICENSE

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Copyright 2010 Stijn Debrouwere. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without modification, are
4+
permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this list of
7+
conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice, this list
10+
of conditions and the following disclaimer in the documentation and/or other materials
11+
provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY STIJN DEBROUWERE ``AS IS'' AND ANY EXPRESS OR IMPLIED
14+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
15+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL STIJN DEBROUWERE OR
16+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
17+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
18+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
20+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
21+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
23+
The views and conclusions contained in the software and documentation are those of the
24+
authors and should not be interpreted as representing official policies, either expressed
25+
or implied, of Stijn Debrouwere.

README

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
What the heck is this?
2+
----------------------
3+
4+
There are a lot of versioning apps out there, either in a state of decrepitude, or functional but with a colvoluted or suboptimal design. This app intends to become the de-facto standard to manage revisions in Django.

docs/Makefile

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
PAPER =
8+
BUILDDIR = _build
9+
10+
# Internal variables.
11+
PAPEROPT_a4 = -D latex_paper_size=a4
12+
PAPEROPT_letter = -D latex_paper_size=letter
13+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14+
15+
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
16+
17+
help:
18+
@echo "Please use \`make <target>' where <target> is one of"
19+
@echo " html to make standalone HTML files"
20+
@echo " dirhtml to make HTML files named index.html in directories"
21+
@echo " pickle to make pickle files"
22+
@echo " json to make JSON files"
23+
@echo " htmlhelp to make HTML files and a HTML help project"
24+
@echo " qthelp to make HTML files and a qthelp project"
25+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
26+
@echo " changes to make an overview of all changed/added/deprecated items"
27+
@echo " linkcheck to check all external links for integrity"
28+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
29+
30+
clean:
31+
-rm -rf $(BUILDDIR)/*
32+
33+
html:
34+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
35+
@echo
36+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
37+
38+
dirhtml:
39+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
40+
@echo
41+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
42+
43+
pickle:
44+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
45+
@echo
46+
@echo "Build finished; now you can process the pickle files."
47+
48+
json:
49+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
50+
@echo
51+
@echo "Build finished; now you can process the JSON files."
52+
53+
htmlhelp:
54+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
55+
@echo
56+
@echo "Build finished; now you can run HTML Help Workshop with the" \
57+
".hhp project file in $(BUILDDIR)/htmlhelp."
58+
59+
qthelp:
60+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
61+
@echo
62+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
63+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
64+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/django-versioning.qhcp"
65+
@echo "To view the help file:"
66+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/django-versioning.qhc"
67+
68+
latex:
69+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
70+
@echo
71+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
72+
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
73+
"run these through (pdf)latex."
74+
75+
changes:
76+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
77+
@echo
78+
@echo "The overview file is in $(BUILDDIR)/changes."
79+
80+
linkcheck:
81+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
82+
@echo
83+
@echo "Link check complete; look for any errors in the above output " \
84+
"or in $(BUILDDIR)/linkcheck/output.txt."
85+
86+
doctest:
87+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
88+
@echo "Testing of doctests in the sources finished, look at the " \
89+
"results in $(BUILDDIR)/doctest/output.txt."
+229
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
/**
2+
* Sphinx stylesheet -- default theme
3+
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4+
*/
5+
6+
@import url("basic.css");
7+
8+
/* -- page layout ----------------------------------------------------------- */
9+
10+
body {
11+
font-family: Arial, sans-serif;
12+
font-size: 120%;
13+
background-color: #111;
14+
color: #555;
15+
margin: 0;
16+
padding: 0;
17+
}
18+
19+
div.documentwrapper {
20+
float: left;
21+
width: 100%;
22+
}
23+
24+
div.bodywrapper {
25+
margin: 0 0 0 230px;
26+
}
27+
28+
hr{
29+
border: 1px solid #B1B4B6;
30+
}
31+
32+
div.document {
33+
background-color: #eee;
34+
}
35+
36+
div.body {
37+
background-color: #ffffff;
38+
color: #3E4349;
39+
padding: 0 30px 30px 30px;
40+
font-size: 0.8em;
41+
}
42+
43+
div.footer {
44+
color: #555;
45+
width: 100%;
46+
padding: 13px 0;
47+
text-align: center;
48+
font-size: 75%;
49+
}
50+
51+
div.footer a {
52+
color: #444;
53+
text-decoration: underline;
54+
}
55+
56+
div.related {
57+
background-color: #6BA81E;
58+
line-height: 32px;
59+
color: #fff;
60+
text-shadow: 0px 1px 0 #444;
61+
font-size: 0.80em;
62+
}
63+
64+
div.related a {
65+
color: #E2F3CC;
66+
}
67+
68+
div.sphinxsidebar {
69+
font-size: 0.75em;
70+
line-height: 1.5em;
71+
}
72+
73+
div.sphinxsidebarwrapper{
74+
padding: 20px 0;
75+
}
76+
77+
div.sphinxsidebar h3,
78+
div.sphinxsidebar h4 {
79+
font-family: Arial, sans-serif;
80+
color: #222;
81+
font-size: 1.2em;
82+
font-weight: normal;
83+
margin: 0;
84+
padding: 5px 10px;
85+
background-color: #ddd;
86+
text-shadow: 1px 1px 0 white
87+
}
88+
89+
div.sphinxsidebar h4{
90+
font-size: 1.1em;
91+
}
92+
93+
div.sphinxsidebar h3 a {
94+
color: #444;
95+
}
96+
97+
98+
div.sphinxsidebar p {
99+
color: #888;
100+
padding: 5px 20px;
101+
}
102+
103+
div.sphinxsidebar p.topless {
104+
}
105+
106+
div.sphinxsidebar ul {
107+
margin: 10px 20px;
108+
padding: 0;
109+
color: #000;
110+
}
111+
112+
div.sphinxsidebar a {
113+
color: #444;
114+
}
115+
116+
div.sphinxsidebar input {
117+
border: 1px solid #ccc;
118+
font-family: sans-serif;
119+
font-size: 1em;
120+
}
121+
122+
div.sphinxsidebar input[type=text]{
123+
margin-left: 20px;
124+
}
125+
126+
/* -- body styles ----------------------------------------------------------- */
127+
128+
a {
129+
color: #005B81;
130+
text-decoration: none;
131+
}
132+
133+
a:hover {
134+
color: #E32E00;
135+
text-decoration: underline;
136+
}
137+
138+
div.body h1,
139+
div.body h2,
140+
div.body h3,
141+
div.body h4,
142+
div.body h5,
143+
div.body h6 {
144+
font-family: Arial, sans-serif;
145+
background-color: #BED4EB;
146+
font-weight: normal;
147+
color: #212224;
148+
margin: 30px 0px 10px 0px;
149+
padding: 5px 0 5px 10px;
150+
text-shadow: 0px 1px 0 white
151+
}
152+
153+
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
154+
div.body h2 { font-size: 150%; background-color: #C8D5E3; }
155+
div.body h3 { font-size: 120%; background-color: #D8DEE3; }
156+
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
157+
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
158+
div.body h6 { font-size: 100%; background-color: #D8DEE3; }
159+
160+
a.headerlink {
161+
color: #c60f0f;
162+
font-size: 0.8em;
163+
padding: 0 4px 0 4px;
164+
text-decoration: none;
165+
}
166+
167+
a.headerlink:hover {
168+
background-color: #c60f0f;
169+
color: white;
170+
}
171+
172+
div.body p, div.body dd, div.body li {
173+
line-height: 1.5em;
174+
}
175+
176+
div.admonition p.admonition-title + p {
177+
display: inline;
178+
}
179+
180+
div.highlight{
181+
background-color: white;
182+
}
183+
184+
div.note {
185+
background-color: #eee;
186+
border: 1px solid #ccc;
187+
}
188+
189+
div.seealso {
190+
background-color: #ffc;
191+
border: 1px solid #ff6;
192+
}
193+
194+
div.topic {
195+
background-color: #eee;
196+
}
197+
198+
div.warning {
199+
background-color: #ffe4e4;
200+
border: 1px solid #f66;
201+
}
202+
203+
p.admonition-title {
204+
display: inline;
205+
}
206+
207+
p.admonition-title:after {
208+
content: ":";
209+
}
210+
211+
pre {
212+
padding: 10px;
213+
background-color: White;
214+
color: #222;
215+
line-height: 1.2em;
216+
border: 1px solid #C6C9CB;
217+
font-size: 1.2em;
218+
margin: 1.5em 0 1.5em 0;
219+
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
220+
-moz-box-shadow: 1px 1px 1px #d8d8d8;
221+
}
222+
223+
tt {
224+
background-color: #ecf0f3;
225+
color: #222;
226+
padding: 1px 2px;
227+
font-size: 1.2em;
228+
font-family: monospace;
229+
}

0 commit comments

Comments
 (0)