diff options
| author | Erik Romijn <eromijn@solidlinks.nl> | 2015-03-07 11:40:30 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-10 08:15:40 -0400 |
| commit | 846a970106de41b65dac2fd420055173877255c7 (patch) | |
| tree | f641d4de8c32dc7b3320a8c2e1c64d545fbbb3df /docs/internals | |
| parent | 6e81786f924c6afdaf044ab8b41dd14695aada9f (diff) | |
[1.8.x] Fixed #23903 -- Configured Sphinx to autogenerate django-admin manpage
Backport of f66c2bdc0f056ffcbf6df121ea9132aaa0c4cadb from master
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/contributing/writing-documentation.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/internals/contributing/writing-documentation.txt b/docs/internals/contributing/writing-documentation.txt index a08d07eae5..cd41938c3a 100644 --- a/docs/internals/contributing/writing-documentation.txt +++ b/docs/internals/contributing/writing-documentation.txt @@ -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``. |
