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 is0-6. default is2.-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: Catalangb2312: Chinese (Simple, gb2312)hr: Croatiandk: Danishnl: Dutchen: Englishfr: French (iso-8859-15)fr.utf8: French (UTF-8)de: German (iso-8859-15)de.utf8: German (UTF-8)id: Indonesianit: Italianjv: Javanesepl.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: Spanishse: Swedishhu.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 thestaronlyoption, 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 aGVUses.dotfile that can be used for thedotprogram from GraphViz to generate a unit dependency graph.--graphviz-classesβ write aGVClasses.dotfile that can be used for thedotprogram from GraphViz to generate a class hierarchy graph. the class tree diagram is giving main character energy.--link-gv-usesβ add a link to aGVUses.<format>file generated by thedotprogram, where<format>is any extension thatdotcan generate (e.g.jpg). (currently only for HTML output)--link-gv-classesβ add a link to aGVClasses.<format>file generated by thedotprogram, where<format>is any extension thatdotcan 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--languageoption.--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 aspasdoc.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@linktags. 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-linkis 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-positionwill 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
- ubuntu stonking: pasdoc 1.0.4-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms