Skip to content

Commit d5a6f90

Browse files
committed
Datatracker development notes.
- Legacy-Id: 7571
1 parent 003691f commit d5a6f90

6 files changed

Lines changed: 886 additions & 0 deletions

File tree

notes/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
all: notes.html
2+
3+
%.html: %.rst html4css1.css custom.css
4+
rst2html --stylesheet html4css1.css,custom.css $< $@
5+
6+
%.pdf: %.rst
7+
rst2pdf $<
8+

notes/custom.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
:Author: Henrik Levkowetz
3+
:Contact: henrik@levkowetz.com
4+
:Copyright: This stylesheet has been placed in the public domain.
5+
6+
Stylesheet for use with Docutils.
7+
*/
8+
9+
/* Your customizations go here. For example: */
10+
11+
.document {
12+
margin: 0.2em 0.4em;
13+
width: 50em;
14+
}
15+
/* Undo some of the settings above, for fully css compliant browsers. */
16+
/* The qualification of the elements hide this from less capable browsers. */
17+
div[class=document] {
18+
width: auto;
19+
max-width: 50em; /* 58em = 128ex in the design browser */
20+
}
21+
22+
cite {
23+
display: block;
24+
width: 100%;
25+
text-align: right;
26+
}

notes/html4css1.css

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
/*
2+
:Author: David Goodger (goodger@python.org)
3+
:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $
4+
:Copyright: This stylesheet has been placed in the public domain.
5+
6+
Default cascading style sheet for the HTML output of Docutils.
7+
8+
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
9+
customize this style sheet.
10+
*/
11+
12+
/* used to remove borders from tables and images */
13+
.borderless, table.borderless td, table.borderless th {
14+
border: 0 }
15+
16+
table.borderless td, table.borderless th {
17+
/* Override padding for "table.docutils td" with "! important".
18+
The right padding separates the table cells. */
19+
padding: 0 0.5em 0 0 ! important }
20+
21+
.first {
22+
/* Override more specific margin styles with "! important". */
23+
margin-top: 0 ! important }
24+
25+
.last, .with-subtitle {
26+
margin-bottom: 0 ! important }
27+
28+
.hidden {
29+
display: none }
30+
31+
a.toc-backref {
32+
text-decoration: none ;
33+
color: black }
34+
35+
blockquote.epigraph {
36+
margin: 2em 5em ; }
37+
38+
dl.docutils dd {
39+
margin-bottom: 0.5em }
40+
41+
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
42+
overflow: hidden;
43+
}
44+
45+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
46+
dl.docutils dt {
47+
font-weight: bold }
48+
*/
49+
50+
div.abstract {
51+
margin: 2em 5em }
52+
53+
div.abstract p.topic-title {
54+
font-weight: bold ;
55+
text-align: center }
56+
57+
div.admonition, div.attention, div.caution, div.danger, div.error,
58+
div.hint, div.important, div.note, div.tip, div.warning {
59+
margin: 2em ;
60+
border: medium outset ;
61+
padding: 1em }
62+
63+
div.admonition p.admonition-title, div.hint p.admonition-title,
64+
div.important p.admonition-title, div.note p.admonition-title,
65+
div.tip p.admonition-title {
66+
font-weight: bold ;
67+
font-family: sans-serif }
68+
69+
div.attention p.admonition-title, div.caution p.admonition-title,
70+
div.danger p.admonition-title, div.error p.admonition-title,
71+
div.warning p.admonition-title {
72+
color: red ;
73+
font-weight: bold ;
74+
font-family: sans-serif }
75+
76+
/* Uncomment (and remove this text!) to get reduced vertical space in
77+
compound paragraphs.
78+
div.compound .compound-first, div.compound .compound-middle {
79+
margin-bottom: 0.5em }
80+
81+
div.compound .compound-last, div.compound .compound-middle {
82+
margin-top: 0.5em }
83+
*/
84+
85+
div.dedication {
86+
margin: 2em 5em ;
87+
text-align: center ;
88+
font-style: italic }
89+
90+
div.dedication p.topic-title {
91+
font-weight: bold ;
92+
font-style: normal }
93+
94+
div.figure {
95+
margin-left: 2em ;
96+
margin-right: 2em }
97+
98+
div.footer, div.header {
99+
clear: both;
100+
font-size: smaller }
101+
102+
div.line-block {
103+
display: block ;
104+
margin-top: 1em ;
105+
margin-bottom: 1em }
106+
107+
div.line-block div.line-block {
108+
margin-top: 0 ;
109+
margin-bottom: 0 ;
110+
margin-left: 1.5em }
111+
112+
div.sidebar {
113+
margin: 0 0 0.5em 1em ;
114+
border: medium outset ;
115+
padding: 1em ;
116+
background-color: #ffffee ;
117+
width: 40% ;
118+
float: right ;
119+
clear: right }
120+
121+
div.sidebar p.rubric {
122+
font-family: sans-serif ;
123+
font-size: medium }
124+
125+
div.system-messages {
126+
margin: 5em }
127+
128+
div.system-messages h1 {
129+
color: red }
130+
131+
div.system-message {
132+
border: medium outset ;
133+
padding: 1em }
134+
135+
div.system-message p.system-message-title {
136+
color: red ;
137+
font-weight: bold }
138+
139+
div.topic {
140+
margin: 2em }
141+
142+
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
143+
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
144+
margin-top: 0.4em }
145+
146+
h1.title {
147+
text-align: center }
148+
149+
h2.subtitle {
150+
text-align: center }
151+
152+
hr.docutils {
153+
width: 75% }
154+
155+
img.align-left, .figure.align-left, object.align-left {
156+
clear: left ;
157+
float: left ;
158+
margin-right: 1em }
159+
160+
img.align-right, .figure.align-right, object.align-right {
161+
clear: right ;
162+
float: right ;
163+
margin-left: 1em }
164+
165+
img.align-center, .figure.align-center, object.align-center {
166+
display: block;
167+
margin-left: auto;
168+
margin-right: auto;
169+
}
170+
171+
.align-left {
172+
text-align: left }
173+
174+
.align-center {
175+
clear: both ;
176+
text-align: center }
177+
178+
.align-right {
179+
text-align: right }
180+
181+
/* reset inner alignment in figures */
182+
div.align-right {
183+
text-align: inherit }
184+
185+
/* div.align-center * { */
186+
/* text-align: left } */
187+
188+
ol.simple, ul.simple {
189+
margin-bottom: 1em }
190+
191+
ol.arabic {
192+
list-style: decimal }
193+
194+
ol.loweralpha {
195+
list-style: lower-alpha }
196+
197+
ol.upperalpha {
198+
list-style: upper-alpha }
199+
200+
ol.lowerroman {
201+
list-style: lower-roman }
202+
203+
ol.upperroman {
204+
list-style: upper-roman }
205+
206+
p.attribution {
207+
text-align: right ;
208+
margin-left: 50% }
209+
210+
p.caption {
211+
font-style: italic }
212+
213+
p.credits {
214+
font-style: italic ;
215+
font-size: smaller }
216+
217+
p.label {
218+
white-space: nowrap }
219+
220+
p.rubric {
221+
font-weight: bold ;
222+
font-size: larger ;
223+
color: maroon ;
224+
text-align: center }
225+
226+
p.sidebar-title {
227+
font-family: sans-serif ;
228+
font-weight: bold ;
229+
font-size: larger }
230+
231+
p.sidebar-subtitle {
232+
font-family: sans-serif ;
233+
font-weight: bold }
234+
235+
p.topic-title {
236+
font-weight: bold }
237+
238+
pre.address {
239+
margin-bottom: 0 ;
240+
margin-top: 0 ;
241+
font: inherit }
242+
243+
pre.literal-block, pre.doctest-block, pre.math {
244+
margin-left: 2em ;
245+
margin-right: 2em }
246+
247+
span.classifier {
248+
font-family: sans-serif ;
249+
font-style: oblique }
250+
251+
span.classifier-delimiter {
252+
font-family: sans-serif ;
253+
font-weight: bold }
254+
255+
span.interpreted {
256+
font-family: sans-serif }
257+
258+
span.option {
259+
white-space: nowrap }
260+
261+
span.pre {
262+
white-space: pre }
263+
264+
span.problematic {
265+
color: red }
266+
267+
span.section-subtitle {
268+
/* font-size relative to parent (h1..h6 element) */
269+
font-size: 80% }
270+
271+
table.citation {
272+
border-left: solid 1px gray;
273+
margin-left: 1px }
274+
275+
table.docinfo {
276+
margin: 2em 4em }
277+
278+
table.docutils {
279+
margin-top: 0.5em ;
280+
margin-bottom: 0.5em }
281+
282+
table.footnote {
283+
border-left: solid 1px black;
284+
margin-left: 1px }
285+
286+
table.docutils td, table.docutils th,
287+
table.docinfo td, table.docinfo th {
288+
padding-left: 0.5em ;
289+
padding-right: 0.5em ;
290+
vertical-align: top }
291+
292+
table.docutils th.field-name, table.docinfo th.docinfo-name {
293+
font-weight: bold ;
294+
text-align: left ;
295+
white-space: nowrap ;
296+
padding-left: 0 }
297+
298+
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
299+
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
300+
font-size: 100% }
301+
302+
ul.auto-toc {
303+
list-style-type: none }

0 commit comments

Comments
 (0)