Skip to content

Commit 2ec0230

Browse files
committed
Use RTD theme as a plugin (and slightly customize its look)
1 parent 562d484 commit 2ec0230

22 files changed

+170
-3177
lines changed

_build/.requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ sphinx==1.8.5
1313
git+https://github.com/fabpot/[email protected]#egg_name=sphinx-php
1414
jsx-lexer===0.0.8
1515
sphinxcontrib-phpdomain==0.6.3
16+
sphinx_rtd_theme==0.5.0

_build/_static/rtd_custom.css

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
body {
2+
font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif !important;
3+
}
4+
5+
h1, h2, h3, h4, h5, h6 {
6+
font-family:Georgia,Times New Roman,Times,serif !important;
7+
line-height:1.2 !important;
8+
margin-top:0 !important;
9+
margin-bottom:.5em !important;
10+
}
11+
p, .rst-content li{
12+
font-size:14px !important;
13+
line-height:1.45 !important;
14+
}
15+
.wy-menu-vertical a {
16+
font-size:14px !important;
17+
padding-right:0 !important;
18+
}
19+
20+
.highlight {
21+
background:#1e2125 !important;
22+
color:#fafafa !important;
23+
}
24+
.bp {
25+
color:#3465a4 !important;
26+
}
27+
.c, .c1, .cm, .cs {
28+
color:#d15eed !important;
29+
font-style:italic !important;
30+
}
31+
.cp {
32+
color:#a0a0a0 !important;
33+
}
34+
.err {
35+
color:#a40000 !important;
36+
border:1px solid #ef2929 !important;
37+
}
38+
.g {
39+
color:#fff !important;
40+
}
41+
.gd {
42+
color:#a40000 !important;
43+
}
44+
.ge {
45+
color:#fff !important;
46+
font-style:italic !important;
47+
}
48+
.gh {
49+
color:navy !important;
50+
}
51+
.gi {
52+
color:#00a000 !important;
53+
}
54+
.go {
55+
color:grey !important;
56+
}
57+
.gp {
58+
color:#745334 !important;
59+
}
60+
.gr {
61+
color:#ef2929 !important;
62+
}
63+
.gs {
64+
color:#fff !important;
65+
}
66+
.gs,
67+
.gt {
68+
font-weight:700 !important;
69+
}
70+
.gt {
71+
color:#a40000 !important;
72+
}
73+
.gu {
74+
color:purple !important;
75+
font-weight:700 !important;
76+
}
77+
.hll {
78+
background-color:#ff3 !important;
79+
}
80+
.il {
81+
color:#1299da !important;
82+
}
83+
.k, .kc, .kd, .kn, .kp, .kr, .kt {
84+
color:#ff8400 !important;
85+
}
86+
.l, .ld {
87+
color:#fff !important;
88+
}
89+
.m, .mf, .mh, .mi, .mo {
90+
color:#1299da !important;
91+
}
92+
.n, .na, .nb, .nc, .nf, .nn, .no, .nv, .nx {
93+
color:#fff !important;
94+
}
95+
.nd {
96+
color:grey !important;
97+
}
98+
.ne {
99+
color:#ef2929 !important;
100+
}
101+
.nl {
102+
color:#ff8400 !important;
103+
}
104+
.nt {
105+
color:#ccc !important;
106+
}
107+
.ni, .o, .ow {
108+
color:#e67700 !important;
109+
}
110+
.p {
111+
color:#939393 !important;
112+
}
113+
.py {
114+
color:#fff !important;
115+
}
116+
.s, .s1, .s2, .sb, .sc, .se, .sh, .si, .sr, .ss, .sx {
117+
color:#56db3a !important;
118+
}
119+
.sd {
120+
color:#d15eed !important;
121+
font-style:italic !important;
122+
}
123+
.vc, .vg, .vi {
124+
color:#fff !important;
125+
}
126+
.w {
127+
color:#f8f8f8 !important;
128+
text-decoration:underline !important;
129+
}
130+
.x {
131+
color:#fff !important;
132+
}
133+
.p-Indicator {
134+
color:#ff8400 !important;
135+
}
136+
.highlight-rst .gh {
137+
color:#fff !important;
138+
}
139+
.highlight-php .highlight .err {
140+
border:0 !important;
141+
color:inherit !important;
142+
}
143+
.highlight-diff .highlight>pre {
144+
padding-left:1.5em !important;
145+
}
146+
.highlight-diff .gi {
147+
background:rgba(51,102,102,.4) !important;
148+
color:#8c8 !important;
149+
margin-left:-15px !important;
150+
padding:2px 0 2px 1px !important;
151+
}
152+
.highlight-diff .gd {
153+
background:rgba(102,51,51,.6) !important;
154+
color:#c88 !important;
155+
margin-left:-15px !important;
156+
padding:2px 0 2px 1px !important;
157+
}

_build/_static/symfony-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

_build/_themes/sphinx_rtd_theme/__init__.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

_build/_themes/sphinx_rtd_theme/breadcrumbs.html

Lines changed: 0 additions & 82 deletions
This file was deleted.

_build/_themes/sphinx_rtd_theme/footer.html

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)