Claims
- 1. A method for automatically generating documentation for a design, comprising:
embedding comments into a plurality of source files defining the design; creating a configuration file including parameters associated with each source file; and extracting the comments from each source file responsive to the parameters.
- 2. The method of claim 1 comprising creating at least one of the plurality of source files from a source software different than that used to create remaining source files.
- 3. The method of claim 1 wherein creating a configuration file includes verifying a valid output file.
- 4. The method of claim 1 comprising:
extracting source file directory information from one of the parameters included in the configuration file; and opening the source file directory.
- 5. The method of claim 1 wherein extracting comments includes parsing each source file for keywords.
- 6. The method of claim 5 wherein parsing each source file for keywords comprises:
parsing each source file for a change log keyword; parsing each source file for a title keyword; parsing each source file for a section keyword; and parsing each source file for a register keyword.
- 7. The method of claim 1 comprising building a database with the comments extracted from each source file.
- 8. The method of claim 1 comprising parsing the comments extracted from each source file for object references.
- 9. The method of claim 1 comprising parsing the comments extracted from each source file for headings.
- 10. The method of claim 1 comprising parsing the comments extracted from each source file for links.
- 11. The method of claim 1 comprising building an output document from the comments extracted from each source file.
- 12. The method of claim 11 wherein building an output document includes building any one of an IRS, ERS, HUG, EN, and VP document.
- 13. The method of claim 12 wherein building an output document includes:
building section pages; creating a table of included registers; and creating a change log page.
- 14. The method of claim 12 wherein building an output document includes automatically keeping track of document revisions.
- 15. The method of claim 12 wherein building an output document includes automatically tracking hyper links and comment character definitions.
- 16. A computer-readable medium storing a computer program adapted to automatically generate documentation for a product design, the program comprising:
software adapted to embed comments into at least two source files defining the product; software adapted to create a configuration file including parameters associated with the at least two source files; and software adapted to extract the comments from each source file responsive to the parameters.
- 17. The computer-readable medium storing a computer program of claim 16 comprising:
a first software adapted to create a first of the at least two source files; and a second software adapted to create a second of the at least two source files; wherein the first and second software are different from one another.
- 18. The computer-readable medium storing a computer program of claim 16 wherein the software adapted to extract comments includes software adapted to parse the comments extracted from each source file for keywords.
- 19. The computer-readable medium storing a computer program of claim 16 comprising software adapted to create a database with the comments extracted from each source file.
- 20. The computer-readable medium storing a computer program of claim 16 comprising software adapted to parse the comments extracted from each source file for object references.
- 21. The computer-readable medium storing a computer program of claim 16 comprising software adapted to create at least one output documentation file from the comments extracted from each source file.
- 22. A documentation generation tool for a product design, comprising:
a plurality of source files each adapted to include a plurality of comments; a configuration file adapted to include at least one parameter defining an attribute of the product design; a program adapted to extract the plurality of comments from each of the plurality of source files responsive to the at least one parameter.
- 23. The documentation tool of claim 22 wherein each of the plurality of comments is a single line comment.
- 24. The documentation tool of claim 22 wherein each of the plurality of source files was generated from different source software.
- 25. The documentation tool of claim 22 wherein the at least one parameter includes at least one from a source file type, comment character definition, design name, major revision number, minor revision number, and directory structure.
- 26. The documentation tool of claim 22wherein each source file includes a keyword preceding each comment; wherein the configuration file includes a comment character definition; and wherein the program is adapted to extract the comment by recognizing the keyword responsive to the comment character definition.
- 27. The documentation tool of claim 22 comprising a plurality of object files, each object file defining an object reference.
- 28. The documentation tool of claim 22 wherein the program generates at least one from an internal reference specification, an external reference specification, a hardware user's guide, and engineering notes.
- 29. The documentation tool of claim 22 wherein the at least one output file is an HTML type output file.
RELATED APPLICATION DATA
[0001] This application claims priority from U.S. Provisional Application No. 60/248,946 filed Nov. 14, 2000.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60248946 |
Nov 2000 |
US |