GNOME Handbook of Writing Software Documentation V1.0.2

David Mason

Red Hat, Inc.


            
          

Daniel Mueth


            
          

Alexander Kirillov


            
          

Eric Baudais

Eugene O'Connor

John Fleck

This is the second draft of the pre-release.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual.

This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license.

Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and the members of the GNOME Documentation Project are made aware of those trademarks, then the names are in capital letters or initial capital letters.

DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT:

  1. DOCUMENT IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND

  2. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.

Feedback

To report a bug or make a suggestion regarding the GNOME Handbook of Writing Software Documentation follow the directions in the GNOME Feedback Page.

Revision History
Revision GNOME Handbook V1.0.2 June 2002

Eric Baudais

Eugene O'Connor

John Fleck

GNOME Documentation Project

Revision GNOME Handbook V0.99 04.15.2002

David Mason, RedHat Inc.

Daniel Mueth

Alexander Kirillov

GNOME Documentation Project


Table of Contents

Introduction
GNOME Documentation Project
Notation and Conventions
About this Handbook
GNOME Documentation System
DocBook
GNOME Help Browser
Scrollkeeper
GNOME Documentation Components
Using CVS
Getting Started Writing GNOME Documentation
Selecting a Document
Installing DocBook
Using DocBook Tools
GDP Document Templates
Converting GNOME 1.x Documentation to GNOME 2
GDP Style Guide
Screenshots
Application Bugs
DocBook Basics
Introduction to DocBook
Starting a Document
Structural Elements
Inline Elements
Indexing
GDP Documentation Guidelines
XML Requirements
Section IDs
Authors' Names
Copyright Information
Revision History
Application Version Identification
Publisher's Name
GNOME Documentation Style Guide
Software License
Bug Reporting
Writing Application and Applet Manuals
Cross Referencing Other Documentation
Uniform Resource Identifier
GNOME Documentation
Man and Info Pages
Writing Context Sensitive Help (coming in GNOME-3.0)
Building Documentation within a Program
Documentation Files
Adding Documentation to the Build Setup
Listing Documents in the Help Menu
Adding Help Buttons
Teamwork
Working with the GDP Team
Working with Developers
Finishing a Document
Editing the Document
Submitting the Document
Maintaining the Document
A. Resources
Resources on the Web
Books
Mailing Lists
IRC

Introduction

GNOME Documentation Project

Goals

The GNOME Documentation Project (GDP) aims to provide GNOME and GNOME applications with a complete, intuitive, and clear documentation system. At the center of the GDP is Yelp, which presents a unified interface to GNOME-specific documentation as well as other Linux documentation such as man pages and texinfo documents. The GNOME Help System provides a comprehensive view of documentation on a machine by dynamically assembling the documentation of GNOME applications and components which are installed. The GDP is responsible for writing numerous GNOME-related documents for users. User documentation include the GNOME User's Guide, the GNOME Release Notes, and GNOME application documentation. Most GNOME applications have their own manual in addition to context sensitive help.

Joining the GDP

Documenting GNOME and all the numerous GNOME applications is a very large project. The GDP is always looking for people to help write, update, and edit documentation. If you are interested in joining the GDP team, you should join the gnome-doc-list mailing list . Read Section , “Getting Started Writing GNOME Documentation”, for help selecting a project to work on. Feel free to introduce yourself on the gnome-doc-list mailing list and indicate which project you intend to work on, or else ask for suggestions of important documents which need work done. You may also want to join the #docs IRC channel on irc.gnome.org to meet other GDP members and discuss any questions you may have. For a list of GDP projects and members, see the GDP Website.

Collaborating with the GDP

GNOME developers, packagers, and translators may not be writing GNOME documentation but will want to understand how the GNOME documentation system works and will need to collaborate with GDP members. This document should help to outline the structure of how the GNOME documentation system works. Developers who do not write the documentation for their applications are encouraged to find a GDP member to write the documentation. This is best done by sending an email to the gnome-doc-list mailing list describing the application, where it can be downloaded from, and that the developer(s) would like a GDP member to write documentation for the application. The #docs IRC channel on irc.gnome.org is another option for contacting GDP members.

Notation and Conventions

This Handbook uses the following notation:

/usr/bin Directory
foo.sgml Filename
command Command or text that would be typed.
replaceable "Variable" text that can be replaced.
Program or Doc CodeProgram or document code

About this Handbook

This Handbook is a guide for both writing user documentation for GNOME components and applications and for properly binding and packaging documentation into GNOME applications.

This Handbook is not a guide for writing developer documentation. If you can read C and wish to write developer documentation take a look at GTK+ Reference Documentation Project.

This Handbook, like all GNOME documentation, was written in DocBook(XML) and is available in several formats including XML, HTML, PostScript, and PDF. For the latest version, see Getting The GNOME Handbook of Writing Software Documentation . Alternately, one may download it anonymously from GNOME CVS under gnome-docu/gdp.