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
f66c2bdc
Kaydet (Commit)
f66c2bdc
authored
Mar 07, 2015
tarafından
Erik Romijn
Kaydeden (comit)
Tim Graham
Mar 10, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #23903 -- Configured Sphinx to autogenerate django-admin manpage
üst
cefbbb9d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
1 deletion
+26
-1
conf.py
docs/conf.py
+1
-1
writing-documentation.txt
docs/internals/contributing/writing-documentation.txt
+16
-0
howto-release-django.txt
docs/internals/howto-release-django.txt
+9
-0
django-admin.1
docs/man/django-admin.1
+0
-0
No files found.
docs/conf.py
Dosyayı görüntüle @
f66c2bdc
...
...
@@ -273,7 +273,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'
contents'
,
'django'
,
'Django Documentation'
,
[
'Django Software Foundation'
],
1
)
(
'
ref/django-admin'
,
'django-admin'
,
'Utility script for the Django Web framework'
,
[
'Django Software Foundation'
],
1
),
]
...
...
docs/internals/contributing/writing-documentation.txt
Dosyayı görüntüle @
f66c2bdc
...
...
@@ -420,3 +420,19 @@ Translating documentation
See :ref:`Localizing the Django documentation <translating-documentation>` if
you'd like to help translate the documentation into another language.
.. _django-admin-manpage:
``django-admin`` man page
-------------------------
Sphinx can generate a manual page for the
:doc:`django-admin </ref/django-admin>` command. This is configured in
``docs/conf.py``. Unlike other documentation output, this man page should be
included in the Django repository and the releases as
``docs/man/django-admin.1``. There isn't a need to update this file when
updating the documentation, as it's updated once as part of the release process.
To generate an updated version of the man page, run ``make man`` in the
``docs`` directory. The new man page will be written in
``docs/_build/man/django-admin.1``.
docs/internals/howto-release-django.txt
Dosyayı görüntüle @
f66c2bdc
...
...
@@ -123,6 +123,15 @@ any time leading up to the actual release:
are validation errors which need to be debugged, so avoid doing this task
immediately before a release is needed.
#. :ref:`Update the django-admin manual page <django-admin-manpage>`::
$ cd docs
$ make man
$ man _build/man/django-admin.1 # do a quick sanity check
$ cp _build/man/django-admin.1 man/django-admin.1
and then commit the changed man page.
Preparing for release
=====================
...
...
docs/man/django-admin.1
Dosyayı görüntüle @
f66c2bdc
This diff is collapsed.
Click to expand it.
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