GeezerVison is showing pasdoc.github.io — HTML Output
HTML Output
Command-line option --format html (or -O html in short) makes pasdoc
write HTML (Hypertext Markup Language) output. HTML files are usually
viewed using web browsers, available on all modern computer systems.
It is the default output file format. Several files will be created for
this output type, one for each unit, class, interface and object,
additionally some overview files with lists of all constants, types etc.
This is the preferred output for online viewing.
Some details about HTML output:
CSS
The look of HTML output is controlled by CSS code in pasdoc.css file,
generated by pasdoc while making HTML output. You can customize how your
documentation looks by providing your own CSS file using --css or --css-based-on-bootstrap command-line options.
HTML standard conformance
You can validate it using any html validator. In case you never used
html validator:
-
W3C online validator is handy if you don’t
want the trouble of installing anything on your computer.
-
There’s also excellent standalone validator nsgmls. It’s part of the
SP suite. Debian users should be able to
install it simply by installing package named sp.
-
A fork of SP suite
is developed by project OpenJade.
It’s named OpenSP. nsgmls is renamed inside this suite to onsgmls.
Debian users should be able to install it simply by installing package
named opensp. Windows users should be able to install it as a
cygwin package OpenSP.
onsgmls is used by
pasdoc’s automatic tests (inside tests/ subdirectory), so this is
somewhat a "validator of choice" for us.
-
Emacs users can also use
validator included in Emacs html mode (M-x sgml-next-trouble-spot,
standard shortcut is C-c C-o).
-
Of course, this list doesn’t try to be
exhaustive. There are many more html validators out there.
Features:
-
@abstract
-
@author
-
@bold, @italic
-
@br
-
@code
-
@created, @lastmod
-
@cvs
-
@deprecated
-
@exclude
-
@html
-
@image
-
@includeCode
-
@include
-
@name, @className, @inheritedClass, @inherited
-
@shortTitle, @title, @section, @anchor
-
@latex
-
@link
-
@orderedList, @unorderedList, @definitionList, @item, @itemLabel, @itemSpacing, @itemSetNumber
-
@longCode
-
@member, @value
-
@noAutoLink, @noAutoLinkHere
-
@note, @warning
-
@param, @returns, @raises
-
@preformatted
-
@seeAlso
-
@tableOfContents
-
@table, @row, @rowHead, @cell
-
@nil, @true, @false
-
@(, @)
-
@url
-
Examples
- --format:
-
--auto-abstract
-
--auto-back-comments
-
--auto-link, --auto-link-exclude
-
--cache
-
--marker, --staronly, --marker-optional
-
--define, --conditionals
-
--css, --css-based-on-bootstrap
-
--title
-
--exclude-generator
-
--external-class-hierarchy
-
--graphviz-uses, --graphviz-classes, --link-gv-uses, --link-gv-classes
-
--header, --footer
-
--html-head, --html-body-begin, --html-body-end
-
--ignore-leading
-
--ignore-marker
-
--inherited-members
-
--introduction, --conclusion, -A, --additional
-
--implicit-visibility
-
--lowercase-keywords
-
--visible-members
-
--include-creation-time
-
--include
-
--link-look
-
--markdown
-
--name
-
--no-auto-abstract
-
--no-macro
-
--language
-
--output
-
--description
-
--show-source-position, --source-url-pattern, --source-root
-
--sort
-
--spell-check, --spell-check-ignore-words
-
--use-tipue-search
-
--write-uses-list
-
@<config-file.txt>
- --implementation-comments
Development:
|