diff options
author | Gervase Markham <gerv@gerv.net> | 2015-05-05 14:18:09 +0100 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2015-05-05 14:18:09 +0100 |
commit | e2900fd5d03d20a5cd480708ec74a44a450849fe (patch) | |
tree | cd2139c743fc74d26d242c23e4b506ddb89fdddf /template/en/default/extensions | |
parent | 8e899a8e992ac37b2c66da26c1023b7c4aa6890d (diff) | |
download | bugs-e2900fd5d03d20a5cd480708ec74a44a450849fe.tar bugs-e2900fd5d03d20a5cd480708ec74a44a450849fe.tar.gz bugs-e2900fd5d03d20a5cd480708ec74a44a450849fe.tar.bz2 bugs-e2900fd5d03d20a5cd480708ec74a44a450849fe.tar.xz bugs-e2900fd5d03d20a5cd480708ec74a44a450849fe.zip |
Bug 1159318 - make docs/makedocs.pl and extensions/create.pl agree on the name of docs directories. r=LpSolit, a=glob
Diffstat (limited to 'template/en/default/extensions')
-rw-r--r-- | template/en/default/extensions/index-admin.rst.tmpl | 23 | ||||
-rw-r--r-- | template/en/default/extensions/index-user.rst.tmpl | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/template/en/default/extensions/index-admin.rst.tmpl b/template/en/default/extensions/index-admin.rst.tmpl new file mode 100644 index 000000000..508937710 --- /dev/null +++ b/template/en/default/extensions/index-admin.rst.tmpl @@ -0,0 +1,23 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[%# INTERFACE: + # name: string; the name of the extension. + #%] + +[% USE String('#') %] +[% name %] +[%+ String.repeat(name.length) %] + +This is a sample Adminstrator documentation file for the [% name %] extension. +Like all of the Bugzilla docs, it's written in +`reStructured Text (reST) format <http://sphinx-doc.org/latest/rest.html>`_ +and will be compiled by `Sphinx <http://sphinx-doc.org/>`_. + +If you build the docs yourself using :file:`makedocs.pl`, this file will get +incorporated into the Installed Extensions chapter of the Administration Guide. diff --git a/template/en/default/extensions/index-user.rst.tmpl b/template/en/default/extensions/index-user.rst.tmpl new file mode 100644 index 000000000..b09fc1cd1 --- /dev/null +++ b/template/en/default/extensions/index-user.rst.tmpl @@ -0,0 +1,23 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[%# INTERFACE: + # name: string; the name of the extension. + #%] + +[% USE String('#') %] +[% name %] +[%+ String.repeat(name.length) %] + +This is a sample User documentation file for the [% name %] extension. +Like all of the Bugzilla docs, it's written in +`reStructured Text (reST) format <http://sphinx-doc.org/latest/rest.html>`_ +and will be compiled by `Sphinx <http://sphinx-doc.org/>`_. + +If you build the docs yourself using :file:`makedocs.pl`, this file will get +incorporated into the Installed Extensions chapter of the User Guide. |