From 70973ef7f462962c556b6c2a2dc77ff391684992 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Wed, 7 Jan 2015 16:01:55 +0000 Subject: Bug 1107549 - split extension docs into User and Admin docs. r=dkl, a=glob. --- extensions/Example/docs/en/rst/example.rst | 21 --------------------- extensions/Example/docs/en/rst/index-admin.rst | 12 ++++++++++++ extensions/Example/docs/en/rst/index-user.rst | 12 ++++++++++++ 3 files changed, 24 insertions(+), 21 deletions(-) delete mode 100644 extensions/Example/docs/en/rst/example.rst create mode 100644 extensions/Example/docs/en/rst/index-admin.rst create mode 100644 extensions/Example/docs/en/rst/index-user.rst (limited to 'extensions') diff --git a/extensions/Example/docs/en/rst/example.rst b/extensions/Example/docs/en/rst/example.rst deleted file mode 100644 index f2c055bae..000000000 --- a/extensions/Example/docs/en/rst/example.rst +++ /dev/null @@ -1,21 +0,0 @@ -Example -####### - -This is a sample documentation file for the Example extension. Like all of -the Bugzilla docs, it's written in -`reStructured Text (reST) format `_ -and will be compiled by `Sphinx `_. - -If you build the docs yourself using :file:`makedocs.pl`, this file will get -incorporated into the Extensions chapter, as will any documentation -you write for your extensions which fulfils the following criteria: - -* In the :file:`extensions/YourExtension/doc/` directory -* Has a :file:`.rst` file extension - -You are recommended to make the name of your reST doc file the same as the -name of your extension, so that there is no clash when all the extension -documentation is copied into the same directory. So, for example, this file -is called :file:`example.rst`, as it's part of the Example extension. If you -need multiple documentation files, prefix the filename with the name of your -extension, e.g. :file:`example-extra.rst`. diff --git a/extensions/Example/docs/en/rst/index-admin.rst b/extensions/Example/docs/en/rst/index-admin.rst new file mode 100644 index 000000000..220319f99 --- /dev/null +++ b/extensions/Example/docs/en/rst/index-admin.rst @@ -0,0 +1,12 @@ +Example +####### + +This is a sample Adminstration documentation file for the Example extension. +Like all of the Bugzilla docs, it's written in +`reStructured Text (reST) format `_ +and will be compiled by `Sphinx `_. + +If you build the docs yourself using :file:`makedocs.pl`, this file will get +incorporated into the Administration Guide. If you need more than one file's +worth of admin documentation, include others using the Sphinx `toctree +directive `_. diff --git a/extensions/Example/docs/en/rst/index-user.rst b/extensions/Example/docs/en/rst/index-user.rst new file mode 100644 index 000000000..a6cbd8309 --- /dev/null +++ b/extensions/Example/docs/en/rst/index-user.rst @@ -0,0 +1,12 @@ +Example +####### + +This is a sample User documentation file for the Example extension. +Like all of the Bugzilla docs, it's written in +`reStructured Text (reST) format `_ +and will be compiled by `Sphinx `_. + +If you build the docs yourself using :file:`makedocs.pl`, this file will get +incorporated into the User Guide. If you need more than one file's worth of +user documentation, include others using the Sphinx `toctree +directive `_. -- cgit v1.2.3-24-g4f1b