Changeset 632
- Timestamp:
- 02/26/10 13:14:41 (2 years ago)
- Location:
- trunk/idldoc
- Files:
-
- 8 modified
-
docs/RELEASE (modified) (1 diff)
-
Makefile (modified) (3 diffs)
-
overview (modified) (4 diffs)
-
src/doc_system__define.pro (modified) (10 diffs)
-
src/parser/docparidldocformatparser__define.pro (modified) (2 diffs)
-
src/parser/docparrstformatparser__define.pro (modified) (2 diffs)
-
src/parser/docparrstmarkupparser__define.pro (modified) (1 diff)
-
src/templates/overview.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/idldoc/docs/RELEASE
r629 r632 26 26 * Added a link in each routine's details to its source code. 27 27 28 * Added a preformatted markup style which is nearly equival ant to verbatim,28 * Added a preformatted markup style which is nearly equivalent to verbatim, 29 29 but also makes HTML output respect line-breaks. 30 30 31 * Added author, copyright, history, and version tags to the overview file 32 31 33 32 34 IDLdoc 3.2 -
trunk/idldoc/Makefile
r612 r632 14 14 15 15 doc: 16 $(IDL) idldoc_build_docs16 $(IDL) < idldoc_build_docs.pro 17 17 18 18 book: … … 44 44 mkdir idldoc-$(VERSION) 45 45 46 $(IDL) -IDL_STARTUP "" idldoc_build46 $(IDL) -IDL_STARTUP "" < idldoc_build.pro 47 47 mv idldoc.sav idldoc-$(VERSION)/ 48 48 … … 70 70 rm -rf updates.idldev.com/features/com.idldev.idl.idldoc.feature_$(VERSION)/ 71 71 72 $(IDL) -IDL_STARTUP "" idldoc_build72 $(IDL) -IDL_STARTUP "" < idldoc_build 73 73 74 74 mkdir updates.idldev.com/plugins/com.idldev.idl.idldoc_$(VERSION)/ -
trunk/idldoc/overview
r631 r632 5 5 svn co http://svn.idldev.com/idldoc/trunk/idldoc 6 6 7 Developer: Michael Galloy (http://michaelgalloy.com)8 7 9 8 IDLdoc project site at:: 10 9 11 http://idldev.com10 idldev.com 12 11 13 12 13 :Author: 14 Michael Galloy, michaelgalloy.com 15 16 14 17 :Dirs: 15 18 ./ … … 18 21 19 22 analysis 20 routines used to proper scaling for the visualization of data in a `.sav1` file 23 routines used to proper scaling for the visualization of data in a 24 `.sav` file 21 25 22 26 cmdline_tools 23 27 used for the color text output 24 28 25 29 collection … … 27 31 28 32 dist_tools 29 Routines for handling distributing applications (imported from mg library). 33 Routines for handling distributing applications (imported from mg 34 library). 30 35 31 36 dist_tools/collection … … 45 50 46 51 textmarkup 47 Classes to convert a markup tree to a particular markup language (imported48 from mg library).52 Classes to convert a markup tree to a particular markup language 53 (imported from mg library). 49 54 50 55 tree -
trunk/idldoc/src/doc_system__define.pro
r629 r632 79 79 'system': return, self 80 80 81 'idldoc_version': return, self. version81 'idldoc_version': return, self.idldoc_version 82 82 'charset': return, self.charset 83 83 'date': return, systime() … … 99 99 'output_root': return, self.output 100 100 'relative_root': return, '' 101 102 'has_author_info': return, self.hasAuthorInfo 103 104 'has_author': return, obj_valid(self.author) 105 'author': return, self->processComments(self.author) 106 'plain_author': return, self->processPlainComments(self.author) 107 108 'has_copyright': return, obj_valid(self.copyright) 109 'copyright': return, self->processComments(self.copyright) 110 111 'has_history': return, obj_valid(self.history) 112 'history': return, self->processComments(self.history) 113 114 'has_version': return, obj_valid(self.version) 115 'version': return, self->processComments(self.version) 101 116 102 117 'n_dirs': return, self.directories->count() … … 292 307 ; Set properties of the system. 293 308 ;- 294 pro doc_system::setProperty, overview_comments=overviewComments 309 pro doc_system::setProperty, overview_comments=overviewComments, $ 310 author=author, copyright=copyright, $ 311 history=history, version=version 295 312 compile_opt strictarr, hidden 296 313 … … 298 315 self.overviewComments = overviewComments 299 316 endif 317 318 ; "author info" attributes 319 if (n_elements(author) gt 0) then begin 320 self.hasAuthorInfo = 1B 321 self.author = author 322 endif 323 324 if (n_elements(copyright) gt 0) then begin 325 self.hasAuthorInfo = 1B 326 self.copyright = copyright 327 endif 328 329 if (n_elements(history) gt 0) then begin 330 self.hasAuthorInfo = 1B 331 self.history = history 332 endif 333 334 if (n_elements(version) gt 0) then begin 335 self.hasAuthorInfo = 1B 336 self.version = version 337 endif 300 338 end 301 339 … … 377 415 compile_opt strictarr, hidden 378 416 379 msg = ['IDLdoc ' + self. version, $417 msg = ['IDLdoc ' + self.idldoc_version, $ 380 418 '', $ 381 419 'Usage:', $ … … 1158 1196 if (nCategories gt 0) then obj_destroy, categoryLists 1159 1197 obj_destroy, self.categories 1160 1198 1199 obj_destroy, [self.author, self.copyright, self.history, self.version] 1200 1161 1201 obj_destroy, self.overviewComments 1162 1202 … … 1273 1313 compile_opt strictarr, hidden 1274 1314 1275 self. version = idldoc_version()1315 self.idldoc_version = idldoc_version() 1276 1316 1277 1317 self.isTty = keyword_set(colorOutputlog) ? 1B : self->_findIfTty() 1278 1318 1279 1319 if (keyword_set(version)) then begin 1280 self->print, 'IDLdoc ' + self. version1320 self->print, 'IDLdoc ' + self.idldoc_version 1281 1321 return, 0 1282 1322 endif … … 1467 1507 ; 1468 1508 ; :Fields: 1469 ; version1509 ; idldoc_version 1470 1510 ; IDLdoc version 1471 1511 ; root … … 1528 1568 1529 1569 define = { DOC_System, $ 1530 version: '', $1570 idldoc_version: '', $ 1531 1571 1532 1572 root: '', $ … … 1539 1579 1540 1580 sourceLocation: '', $ 1541 1581 1582 hasAuthorInfo: 0B, $ 1583 author: obj_new(), $ 1584 copyright: obj_new(), $ 1585 history: obj_new(), $ 1586 version: obj_new(), $ 1587 1542 1588 directories: obj_new(), $ 1543 1589 -
trunk/idldoc/src/parser/docparidldocformatparser__define.pro
r620 r632 633 633 634 634 case strlowcase(tag) of 635 'author': system->setProperty, author=markupParser->parse(tagLines) 636 'copyright': system->setProperty, copyright=markupParser->parse(tagLines) 637 'history': system->setProperty, history=markupParser->parse(tagLines) 638 'version': system->setProperty, version=markupParser->parse(tagLines) 639 635 640 'dir': begin 636 re = '^[[:space:]]*([[:al pha:]._$\-\/]+)[[:space:]]+'641 re = '^[[:space:]]*([[:alnum:]._$\-\/]+)[[:space:]]*' 637 642 argStart = stregex(tagLines[0], re, /subexpr, length=argLength) 638 643 if (argStart[0] eq -1L) then begin … … 648 653 649 654 tagLines[0] = strmid(tagLines[0], argStart[1] + argLength[1]) 655 self->_removeSpace, tagLines 650 656 651 657 for d = 0L, directories->count() - 1L do begin -
trunk/idldoc/src/parser/docparrstformatparser__define.pro
r620 r632 319 319 routine->getProperty, file=file 320 320 file->setProperty, is_hidden=1B 321 end 321 end 322 322 'history': routine->setProperty, history=markupParser->parse(self->_parseTag(lines), file=file) 323 323 'inherits': begin … … 731 731 732 732 case strlowcase(tag) of 733 'author': system->setProperty, author=markupParser->parse(tagLines) 734 'copyright': system->setProperty, copyright=markupParser->parse(tagLines) 735 'history': system->setProperty, history=markupParser->parse(tagLines) 736 'version': system->setProperty, version=markupParser->parse(tagLines) 737 733 738 'dirs': begin 734 739 system->getProperty, directories=directories -
trunk/idldoc/src/parser/docparrstmarkupparser__define.pro
r630 r632 53 53 tree=tree, file=file 54 54 compile_opt strictarr, hidden 55 56 catch, error 57 if (error ne 0L) then begin 58 catch, /cancel 59 self.system->warning, 'unable to handle rst directive ' + directive 60 return 61 endif 55 62 56 63 fullDirective = strmid(line, pos + 3L, len) -
trunk/idldoc/src/templates/overview.tt
r606 r632 54 54 [% END %] 55 55 56 [% IF has_author_info %] 57 <h2>Author information</h2> 58 59 <dl class="attribute small" summary="Library author information"> 60 [% IF has_author %] 61 <dt>Author:</dt> 62 <dd>[% author %]</dd> 63 [% END %] 64 65 [% IF has_copyright %] 66 <dt>Copyright:</dt> 67 <dd>[% copyright %]</dd> 68 [% END %] 69 70 [% IF has_history %] 71 <dt>History:</dt> 72 <dd>[% history %]</dd> 73 [% END %] 74 75 [% IF has_version %] 76 <dt>Version:</dt> 77 <dd>[% version %]</dd> 78 [% END %] 79 </dl> 80 [% END %] 81 82 56 83 <h2 id="statistics">Project statistics</h2> 57 84
