Checking

Differences between revisions 9 and 10
Revision 9 as of 2014-01-20 02:56:59
Size: 3776
Editor: dsmythies
Comment: force kink that I don't want to be a link, not ot be.
Revision 10 as of 2014-01-20 05:04:04
Size: 3676
Editor: dsmythies
Comment: try to fix some formatting
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 1. From the top level of the branch, run the script as follows on the file you changed (replace ''document'' with the name of the document you have been working on).{{{  1. From the top level of the branch, run the script as follows:{{{
Line 12: Line 12:
  Note: Be sure to validate a ''document'' and not a single ''chapter'' within. For example, ''document/C/document.xml'' will validate whereas ''document/C/foo.xml'' will not.   Note: Be sure to validate the ''serverguide'' and not a single ''chapter'' within. For example, ''serverguide/C/serverguide.xml'' will validate whereas ''serverguide/C/foo.xml'' will not.
Line 23: Line 23:
Alternatively, build the html versions of the documents so that you can view them with a browser. See either the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuDesktopGuide|Ubuntu Desktop Guide Single Page]] or the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide|Ubuntu ServerGuide Single Page]] or the '''[[DocumentationTeam/SystemDocumentation/Building|Building]]''' page. Alternatively, build the html versions of the documents so that you can view them with a browser. See either the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuDesktopGuide|Ubuntu Desktop Guide Single Page]] or the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide|Ubuntu ServerGuide Single Page]] or the [[DocumentationTeam/SystemDocumentation/Building|Building]] page.
Line 25: Line 25:
The next step is to submit your work. Go to either the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuDesktopGuide|Ubuntu Desktop Guide Single Page]] or the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide|Ubuntu ServerGuide Single Page]] or the '''[[DocumentationTeam/SystemDocumentation/Submitting|Submitting]]''' page for details. The next step is to submit your work. Go to either the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuDesktopGuide|Ubuntu Desktop Guide Single Page]] or the [[https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide|Ubuntu ServerGuide Single Page]] or the [[DocumentationTeam/SystemDocumentation/Submitting|Submitting]] page for details.

Once you have made a change to one of the documents, the next step is to check your work. It seems like a lot of extra work, but it's worth it. You will save yourself the embarrassment when you catch your own mistakes before someone else does.

For the serverguide, check that the DocBook markup you have written is valid. There is a script in our branches which allows you to do this easily and automatically:

  1. From the top level of the branch, run the script as follows:

    scripts/validate.sh serverguide/C/serverguide.xml

    If the file is valid, the script will not say anything. If there is a problem with the validity of the markup, the script will show an error message which should permit you to see where you have gone wrong. If you do not understand the error message, ask on the mailing list or on irc (see our Contact page for contact details).

    • Note: Be sure to validate the serverguide and not a single chapter within. For example, serverguide/C/serverguide.xml will validate whereas serverguide/C/foo.xml will not.

For DeskTop help, check the document visually by opening it in yelp, the Gnome documentation viewer:

  1. Open the file in yelp and visually double check your work.

    yelp /address/to/file.xml
    • Note: there is a bug in yelp which makes it necessary to specify the full path to an xml file in order to be able to view it.

or browse to the file with the file browser, right click, select open with, and select help.

Alternatively, build the html versions of the documents so that you can view them with a browser. See either the Ubuntu Desktop Guide Single Page or the Ubuntu ServerGuide Single Page or the Building page.

The next step is to submit your work. Go to either the Ubuntu Desktop Guide Single Page or the Ubuntu ServerGuide Single Page or the Submitting page for details.

Advanced

Note: At least for the serverguide, and probably for other documents, "make status" does not work, and that Makefile option is being deleted.

To help keep track of what we are doing in the documents we mark the status of items and leave messages of what we are doing. This information is collected into the 'Project Status Reports' found on the DocumentationTeam/Projects page (Note: the page does not exist). The first thing to know about this is how to mark an item status. To mark item status add the 'status' attribute to any of the following elements: <chapter>, <sect1>, <sect2>, <sect3>, <sect4>, <sect5>. The value of the 'status' attribute is, well, its status. Valid state values include:

  • status="help" = Help Wanted

  • status="writing" = In Progress

  • status="review" = Awaiting Review

  • status="reviewing" = In Review

  • status="complete" = Finished

To build the status pages, run make status. This will build the status reports in your working copy under build/status. There are two formats: XML and HTML. The reports can therefore be viewed under Yelp or a Web Browser.

DocumentationTeam/SystemDocumentation/Checking (last edited 2016-10-03 16:18:17 by gunnarhj)