C # document Generation Tool

Source: Internet
Author: User

Sandcastle is an official Microsoft document generation tool. After NDoc development is stopped, it seems to be the only tool in this regard. It can generate a complete help document from the dll file and Its xml annotation file, and supports multiple generation formats (Helpe1x: chm, Helper2x: Hxs, Website, HelperView ), combined with the newly released Sandcastle Help File Builder visual tool, the entire generation process is very simple, and the SHFB tool looks very powerful, not only can you directly configure the attributes of the generated document, it also supports flexible extension settings to provide us with perfect. NET class library documentation becomes a possibility.
Let's take a look at the entire generation process step by step:

1. download the latest Sandcastle and install it.
2. Download the Sandcastle Help File Builder released this year from here.
3. After the installation is complete, create a project directly. The project properties will be directly opened in the main window. Here is the main configuration area of the generated document. First, add the source to generate the document. Right-click Documentation Sources in the project to add multiple file types (sln, proj, xml, dll, exe)
4. Set the main attributes.
FrameworkVersion: select the corresponding Framework version.
HelpFileFormat: select the format of the document to be generated. Note that the format selected here should be set in the corresponding area below.
Note that different compilation tools Helpe1x (chm) must be installed with Microsoft HTML Help for different formats, and Hxcomp must be installed for Helper2x (Hxs.
NamespaceSummaries: select the namespace to be generated and click open window. This is much better. You have to manually enter the command line or other tools before.
Lanugages: the language must be Chinese. This will automatically generate Chinese Characters in some documents.
CopyrightHref: copyright link
CopyrightText: copyrighted text
HelpTitle: document title
HtmlHelpName: name of the file generated
PresentationStyle: The supported formats include vs 2005 and Prototype.
OutputPath: generated path
Show Missing Tags: The following settings are set to True when the final version is generated as needed. Otherwise, a red prompt will appear in the document.
The page for completing the settings is as follows:

5. click the generate menu or button above to open the generate process interface. You can view some prompts and errors during the process. after the generation is complete, a document consistent with the MSDN style will come out:


6. You can also insert images and code into documents.
7. Code specifications are the most fundamental premise. You must add enough comments to the code.

Resource:
Sandcastle Help File Builder: http://shfb.codeplex.com/
SandcastleGUI: Another Sandcastle generation tool that http://www.inchl.nl/SandcastleGUI/ has been using before
Integrate documents into Visual Studio with Sandcastle and Help Integration Wizard
Http://www.cnblogs.com/fox23/archive/2008/09/09/using-sandcastle-integrated-help-documents-into-visual-studio.html

Read the full text

Category:Net view comments

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.