Blame Documentation/Models/Docbook/Tcar-ug/Manuals/Production/identifying-structure.docbook

1c9079
<sect1 id="manuals-production-identifying-structure">
1c9079
    <title>Identifying Document Structure</title>
1c9079
    <para>
f69538
        Once both the manual's title and the manual's directory name
f69538
        have been defined, it is time for you to plan the document
f69538
        structure through which the manual's content will be
f69538
        organized.
f69538
    </para>
f69538
    
f69538
    <para>
f69538
        The document structure of documentation manuals is specific to
f69538
        that documentation format used to write documentation source
f69538
        files.  Nevertheless, no matter what the documentation format
f69538
        be, the document structure produce produced from the
f69538
        <function>help</function> functionality of
f69538
        <command>centos-art.sh</command> script follows and
f69538
        upside-down tree configuration. In this configuration,
f69538
        documentation manuals can be organized through parts,
f69538
        chapters, sections, and several subsection levels based in
f69538
        whether the chosen documentation format supports them or not.
1c9079
    </para>
1c9079
1c9079
    <para>
f69538
        Considering the <citetitle>The CentOS Artwork Repository File
f69538
        System</citetitle> documentation manual, we already know that
f69538
        it was conceived to document each directory structure &TCAR;
f69538
        is made of using Texinfo format and the sectioning levels
f69538
        supported by it.  At this point we phase that &TCAR; has more
f69538
        levels deep than sectioning commands available inside Texinfo
f69538
        formats.  This way it is not possible to use one sectioning
f69538
        command for each directory level inside the repository
f69538
        directory structure we need to document.  Based on these
f69538
        issues, it is imperative to reaccomodate the document
055f1d
        structure in order to be able of documenting every directory
055f1d
        &TCAR; is made of, using the sectioning levels supported by
055f1d
        most documentation formats inside &TC;;, no matter how many
055f1d
        levels deep the repository directory structure has.
1c9079
    </para>
f69538
    
1c9079
    <para>
f69538
        As consequence,  <citetitle>The CentOS Artwork Repository File
f69538
        System</citetitle> ended up being organized through the
f69538
        following documentation structure:
1c9079
    </para>
1c9079
1c9079
    <variablelist>
1c9079
    <varlistentry>
1c9079
    <term>Chapter 1. The <filename class="directory">trunk</filename>
1c9079
    Directory</term>
1c9079
    <listitem>
1c9079
    <para>
7ade69
        This chapter describes the 
7ade69
        class="directory">trunk</filename> directory inside the
7ade69
        repository and all subdirectories inside it. The first level
7ade69
        of directories (i.e., the 
7ade69
        class="directory">trunk</filename> directory itself) is
7ade69
        described inside the chapter entry. Deeper directory levels
7ade69
        are all documented through sections and have a file for their
7ade69
        own. It is also possible to write subsections and
7ade69
        subsubsections, however, they don't have a file for their own
7ade69
        as sections do.  Subsections and Subsubsections should be
7ade69
        written as part of section files (i.e., when writting
7ade69
        sections).
1c9079
    </para>
1c9079
    </listitem>
1c9079
    </varlistentry>
1c9079
1c9079
    <varlistentry>
1c9079
    <term>Chapter 2. The <filename class="directory">branches</filename>
1c9079
    Directory</term>
1c9079
    <listitem>
1c9079
    <para>
7ade69
        This chapter describes the 
7ade69
        class="directory">branches</filename> directory and all
7ade69
        directories inside it following the same structure described
7ade69
        for <filename class="directory">trunk</filename> directory
1c9079
        above.
1c9079
    </para>
1c9079
    </listitem>
1c9079
    </varlistentry>
1c9079
1c9079
    <varlistentry>
1c9079
    <term>Chapter 3. The <filename class="directory">tags</filename>
1c9079
    Directory</term>
1c9079
    <listitem>
1c9079
    <para>
7ade69
        This chapter describes the 
7ade69
        class="directory">tags</filename> directory and all
7ade69
        directories inside it following the same structure described
7ade69
        for <filename class="directory">trunk</filename> directory
7ade69
        above.
1c9079
    </para>
1c9079
    </listitem>
1c9079
    </varlistentry>
1c9079
1c9079
    <varlistentry>
1c9079
    <term>Appendix A. Licenses</term>
1c9079
    <listitem>
1c9079
    <para>
1c9079
        This appendix is confined to organize licenses mentioned
1c9079
        in the manual. The content of this appendix is out of
1c9079
        documenatation manual scope itself and is shared among all
1c9079
        documentation manuals written through the
1c9079
        <function>help</function> of <command>centos-art.sh</command>
f69538
        script inside &TCAR;.
1c9079
    </para>
1c9079
    </listitem>
1c9079
    </varlistentry>
1c9079
1c9079
    <varlistentry>
1c9079
    <term>Index</term>
1c9079
    <listitem>
1c9079
    <para>
1c9079
        This chapter organizes links to those index definitions you
1c9079
        defined inside the documentation manual. The index information
1c9079
        displayed by this chapter is auto-generated each time the
1c9079
        manual's output files are created so this chapter is not
1c9079
        editable.
1c9079
    </para>
1c9079
    </listitem>
1c9079
    </varlistentry>
1c9079
    </variablelist>
1c9079
1c9079
    <para>
f69538
        The document structure illustrated above is also considered
f69538
        the default document structure used by the
f69538
        <function>help</function> functionality of
f69538
        <command>centos-art.sh</command> script when you produce new
f69538
        documentation manuals inside &TCAR;. In contrast with document
f69538
        structure illustrated above, the default document structure
f69538
        used by <function>help</function> functionality doesn't
f69538
        include sectioning constructions like parts, chapters,
f69538
        sections, subsections and the like. Such structuring
f69538
        constructions should be specified by you when building the
f69538
        documentation manual. The only exceptions to this restriction
f69538
        are sectioning structures used to organize contents like
f69538
        <quote>Index</quote> and <quote>Licenses</quote>, which are
f69538
        considered inseparable components of documentation manuals
f69538
        stored inside &TCAR;.
1c9079
    </para>
1c9079
1c9079
</sect1>