|
Home Overview Search Mailing lists Forum FAQ |
DocumentationWell written documentation can make all the difference in whether a software package is used by anyone other than its developers.Well written documentation also helps sponsors and potential sponsors evaluate a package. Documentation that is integrated into the release via html pages can also help Software documentation can be split into several categories InstallationThe Installation documentation should usually has two distinct sections: The installation documentation should include a list of the requirements of the software, and should be visible from the download page so that users can see what they need to do after downloading the software.If the installation procedure is very similar to
other software, then there are likely to be far fewer problems.
Ideally User LevelUser level documentation consists of information about what the package does, and how to run the demonstrations.User documentation is sometimes written using MS Word or Framemaker, and shipped as a PDF file, or a collection of HTML files. Programmer LevelProgrammer documentation is for software developers who want to extend the software system, or include the system in their own package.The code itself should be considered a publication, each file should have the following Programmer documentation usually includes class and method documentation. Using an embedded documentation system can be a big win in this area. Online HelpProviding well thought out online help, error handling and error messages can greatly improve the user's experience.The Java exception handling mechanism should be used properly. Software packages should define exceptions and use them. Documentation formatsDocumentation is usually in several formats:
Common Documentation ProblemsBelow is a checklist of common documentation problems.Spelling ErrorsUse a spell check program. Ptolemy II includes
If need be convert the pdf file to text and spell check it. Incorrect citationAll papers should include the proper citation for that paper.Ideally, include a "cite as" section. At UC Berkeley, if a paper is not part of a journal or book, then it should be submitted as an ERL Memorandum, and the memorandum number should be included in the paper. Be sure to include the institution name and the date. Contact InformationConsider including contact information for one of the authors on the paperNo AbstractDo your users and yourself a favor and include an abstract.CopyrightUnless a paper is a rereleased version of a previous paper, it should be copyrighted with the current year.See the Copyrights Page for details AcknowledgementsSponsors like to see their names up front on the front page. See the GSRC Word Template page for sample acknowledgement code.Table of ContentsIf the paper is long, consider adding a table of contents.Example CodeExample code should make good use of whitespace.Spaces should follow commas. Comments should be complete sentences. DiagramsThe best diagrams are vector based diagrams because they reproduce very well at different resolutions. jpgs of text should be avoid because of jaggies and lossy behaviour.StyleIf you have not read Strunk & White lately, please do so. One hack for checking style is to import your document into Microsoft Word and check the grammar.The Microsoft Word grammar checker is not foolproof, but you should understand each problem it reports. The following script uses
#!/bin/sh
txtFile=`basename $1 pdf`txt
pdftotext $1
sed 's/^[ ]*//' < $txtFile | \
awk '{if ($0 ~ /-$/) {printf("%s", substr($0,0,length($0)-1))} else {print $0}}' | \
awk '{if (length($0) == 0) {print $0} else {printf("%s ", $0)}}' \
> pdf2textTmp.txt
cp pdf2textTmp.txt $txtFile
rm -f pdf2textTmp.txt
BibliographyMake sure that the Bibliography is correct.Check the source material for the proper names, name order, title etc. Submit it to the GSRC WebsitePapers discussing GSRC sponsored research should be submitted to the GSRC Website. |
| You are not logged in |
| ©1998-2010 GSRC |