PASDOC(1)

πŸ‘‘ PASDOC(1) β€” User Commands πŸ’…

okay bestie, sit down, hydrate, and let me tell you about PasDoc β€” the documentation tool for Pascal source code. yes. it reads your Pascal. it makes docs. it's iconic, it's free software, and it's about to be your whole personality.


🌸 NAME 🌸

PasDoc β€” a documentation tool for Pascal source code. she parses, she documents, she slays. periodt.


✨ SYNOPSIS ✨

pasdoc [options] [files]

that's it. options, then your files. go off.


πŸ’– DESCRIPTION πŸ’–

PasDoc 1.0.4 [2026-04-04|FPC 3.2.2|Linux|64] β€” Documentation generator for Pascal source.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (ngl that's the standard legal drama, but fr fr, no warranty, bestie, not even for FITNESS FOR A PARTICULAR PURPOSE.) 🫢


πŸŽ€ Valid options are: πŸŽ€

  • @<path to config file> β€” read your options from the file you point at and drop them in right at this exact position. the file has to have one option per line, and the format is "name[=value]" β€” options are named just like they are on the command line, but with the leading dashes OFF. and listen: option values with spaces must NOT be quoted. no quotes. do not do it. πŸ™ˆ
  • -?, --help β€” show this help. the classic. the blueprint. πŸ’…
  • --version β€” show the pasdoc version (plus the related info that comes with it).
  • -v, --verbosity β€” set how chatty the log is. range is 0-6. default is 2.
  • -D, --define β€” define a conditional.
  • -R, --description β€” read the description from this file.
  • -d, --conditionals β€” read the conditionals from this file.
  • -I, --include β€” includes search path.
  • -S, --source β€” read source filenames from a file.
  • --html-help-contents β€” read the Contents for HtmlHelp from a file.
  • -H, --header β€” include a file as the header for the HTML output.
  • -F, --footer β€” include a file as the footer for the HTML output.
  • --html-head β€” include a file to use inside the HTML <head>.
  • --html-body-begin β€” include a file to use right after the HTML <body>.
  • --html-body-end β€” include a file to use right before the HTML </body>.
  • -N, --name β€” name for the documentation.
  • -T, --title β€” documentation title.
  • -O, --format β€” output format, and your choices are: html, simplexml, latex, latex2rtf, htmlhelp, php.
  • -E, --output β€” output path.
  • -X, --exclude-generator β€” exclude the generator information.
  • --include-creation-time β€” include the creation time in the docs.
  • --lowercase-keywords β€” lowercase all literal tag keywords (@nil, @false, @true).
  • -L, --language β€” output language. the valid languages are, and I'm listing every single one because we do not skip, we do not summarise, we are thorough girlies:
    • ba: Bosnian (Codepage 1250)
    • br.1252: Brazilian (Codepage 1252)
    • br.utf8: Brazilian (Codepage UTF-8)
    • bg: Bulgarian (Codepage UTF-8)
    • ct: Catalan
    • gb2312: Chinese (Simple, gb2312)
    • hr: Croatian
    • dk: Danish
    • nl: Dutch
    • en: English
    • fr: French (iso-8859-15)
    • fr.utf8: French (UTF-8)
    • de: German (iso-8859-15)
    • de.utf8: German (UTF-8)
    • id: Indonesian
    • it: Italian
    • jv: Javanese
    • pl.cp1250: Polish (Codepage CP1250)
    • pl.iso-8859-2: Polish (Codepage ISO 8859-2)
    • ru.1251: Russian (Codepage 1251)
    • ru.utf8: Russian (Codepage UTF-8)
    • ru.866: Russian (Codepage 866)
    • ru.koi8r: Russian (KOI-8)
    • sk: Slovak (Codepage 1250)
    • es: Spanish
    • se: Swedish
    • hu.1250: Hungarian (Codepage 1250)
    • cz: Czech (Codepage 1250)
    • cz.iso-8859-2: Czech (Codepage ISO 8859-2)
  • --staronly β€” parse only {**, (*** and //** style comments.
  • --marker β€” parse only {<marker>, (*<marker> and //<marker> comments. overrides the staronly option, which is a shortcut for '--marker=**'. yes, she ate and left no crumbs. πŸ”₯
  • --ignore-marker β€” skip comments starting with <marker> (that is, {<marker>, (*<marker> and //<marker> comments).
  • --marker-optional β€” don't require the markers you gave in --marker, but still remove them from the comment if they're there.
  • --ignore-leading β€” ignore leading <ignore-leading> characters in comments.
  • --numericfilenames β€” makes the html generator create numeric filenames.
  • -M, --visible-members β€” include / exclude class Members by visibility.
  • --write-uses-list β€” put the uses list into the output.
  • --graphviz-uses β€” write a GVUses.dot file that can be used for the dot program from GraphViz to generate a unit dependency graph.
  • --graphviz-classes β€” write a GVClasses.dot file that can be used for the dot program from GraphViz to generate a class hierarchy graph. the class tree diagram is giving main character energy.
  • --link-gv-uses β€” add a link to a GVUses.<format> file generated by the dot program, where <format> is any extension that dot can generate (e.g. jpg). (currently only for HTML output)
  • --link-gv-classes β€” add a link to a GVClasses.<format> file generated by the dot program, where <format> is any extension that dot can generate (e.g. jpg). (currently only for HTML output)
  • --abbreviations β€” abbreviation file. the format is "[name] value", the value gets trimmed, and any lines that don't start with '[' (or whitespace before that '[') are ignored.
  • --spell-check β€” enable spell-checking by Aspell, and specify the language with the --language option.
  • --spell-check-ignore-words β€” when spell-checking, ignore the words in that file. the file should have one word on every line.
  • --aspell β€” Deprecated, use --spell-check. this one enables spell checking by Aspell but gives the language as a parameter.
  • --cache-dir β€” cache directory for parsed files (default: not set).
  • --link-look β€” how links are displayed in the documentation. it's one of "default" (show the complete link name, as specified by @link), "full" (show the complete link name, and try to make each part of it a link), or "stripped" (show only the last part of the link).
  • --inherited-members β€” show inherited members (in HTML). possible values: "never", "default-show", "default-hide".
  • --full-link β€” obsolete name for --link-look=full. girl, that option's been superseded, move on. πŸ’€
  • --css β€” CSS file for HTML output. the CSS file you give gets copied into the output tree as pasdoc.css. Bootstrap CSS is not used.
  • --css-based-on-bootstrap β€” use a custom CSS file in addition to Bootstrap for the HTML output. Cannot be used together with --css. pick a lane, bestie.
  • --auto-abstract β€” Deprecated, this behaviour is now the default anyway.
  • --no-auto-abstract β€” disable automatic abstract determination from the first sentence of each description.
  • --use-tipue-search β€” use the tipue search engine in HTML output.
  • --sort β€” specifies what groups of items are sorted (the rest get presented in the same order they were declared in your source files, which, ngl, is a whole vibe of its own).
  • --introduction β€” the name of a text file with introductory materials for the project.
  • --conclusion β€” the name of a text file with concluding materials for the project.
  • -A, --additional β€” the name of a text file with addition materials for the project.
  • --latex-head β€” the name of a text file that includes lines to be inserted into the preamble of a LaTeX file.
  • --implicit-visibility β€” how pasdoc should handle class members within default class visibility.
  • --no-macro β€” turn FPC macro support off.
  • --auto-link β€” automatically create links, without needing to explicitly use @link tags. automatic. effortless. iconic. ✨
  • --auto-back-comments β€” consider //-style comments after an identifier in the same line as a description of that identifier.
  • --auto-link-exclude β€” even when --auto-link is on, never automatically create links to identifiers in the specified file. the file should contain one identifier on every line.
  • --external-class-hierarchy β€” a file defining the hierarchy of classes not included in your source code, for more complete class tree diagrams.
  • --markdown β€” decode Markdown syntax.
  • --implementation-comments β€” read the implementation section of units and merge that info with what was taken from the interface section. the option value decides how the info is merged:
    • none β€” do not read implementation comments.
    • prefer-interface β€” read both interface and implementation comments. use whichever comment is non-empty. if they're both non-empty, use the interface comment.
    • prefer-implementation β€” read both interface and implementation comments. use whichever comment is non-empty. if they're both non-empty, use the implementation comment.
    • join β€” read both interface and implementation comments and concatenate them. if the interface comment is also present (repeated) at the beginning of the implementation comment, it gets ignored (so we don't repeat the same text 2x in the concatenated result). we love a girl who doesn't repeat herself. πŸŽ€
  • --show-source-position β€” show source filename and line number in the documentation output.
  • --source-url-pattern β€” URL pattern for linking source positions (only used if --show-source-position). use {FILE} for the filename and {LINE} for the line number. example:
https://github.com/owner/repo/blob/main/{FILE}#L{LINE}
  • --source-root β€” root path for source files (only used if --show source-position). leave it empty and --show source-position will just take the final filename part to show.

okay that's the whole page, every flag, every default, every value, no crumbs left behind. you're so ready to document some Pascal and honestly? obsessed. πŸ’œπŸ¦‹πŸŒΈ

anyway, this was PasDoc 1.0.4 [2026-04-04|FPC 3.2.2|Linux|64], from April 2026 β€” and yeah, we were in the PASDOC(1) manual, User Commands section, the whole time. bye bestie, go generate some docs. πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from