Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
7f4347b1
Kaydet (Commit)
7f4347b1
authored
Haz 07, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed duplicate "Deprecated in Django A.B" text in docs.
sphinx 1.2+ adds this text itself.
üst
5472bf4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
djangodocs.py
docs/_ext/djangodocs.py
+7
-6
djangodocs.css
docs/_theme/djangodocs/static/djangodocs.css
+2
-1
No files found.
docs/_ext/djangodocs.py
Dosyayı görüntüle @
7f4347b1
...
...
@@ -269,7 +269,6 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
# that work.
#
version_text
=
{
'deprecated'
:
'Deprecated in Django
%
s'
,
'versionchanged'
:
'Changed in Django
%
s'
,
'versionadded'
:
'New in Django
%
s'
,
}
...
...
@@ -278,11 +277,13 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
self
.
body
.
append
(
self
.
starttag
(
node
,
'div'
,
CLASS
=
node
[
'type'
])
)
title
=
"
%
s
%
s"
%
(
self
.
version_text
[
node
[
'type'
]]
%
node
[
'version'
],
":"
if
len
(
node
)
else
"."
)
self
.
body
.
append
(
'<span class="title">
%
s</span> '
%
title
)
version_text
=
self
.
version_text
.
get
(
node
[
'type'
])
if
version_text
:
title
=
"
%
s
%
s"
%
(
version_text
%
node
[
'version'
],
":"
if
len
(
node
)
else
"."
)
self
.
body
.
append
(
'<span class="title">
%
s</span> '
%
title
)
def
depart_versionmodified
(
self
,
node
):
self
.
body
.
append
(
"</div>
\n
"
)
...
...
docs/_theme/djangodocs/static/djangodocs.css
Dosyayı görüntüle @
7f4347b1
...
...
@@ -120,7 +120,8 @@ div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-be
/*** versoinadded/changes ***/
div
.versionadded
,
div
.versionchanged
{
}
div
.versionadded
span
.title
,
div
.versionchanged
span
.title
,
div
.deprecated
span
.title
{
font-weight
:
bold
;
}
div
.versionadded
span
.title
,
div
.versionchanged
span
.title
,
span
.versionmodified
{
font-weight
:
bold
;
}
div
.deprecated
{
color
:
#555
;
}
/*** p-links ***/
a
.headerlink
{
color
:
#c60f0f
;
font-size
:
0.8em
;
padding
:
0
4px
0
4px
;
text-decoration
:
none
;
visibility
:
hidden
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment