Skip to content
Michalis Kamburelis edited this page Nov 17, 2022 · 22 revisions
PasDoc, documentation generator for Pascal:
Supported Tags:
Command Line:
Developers pages:
Clone this wiki locally

PasDoc is a documentation tool for the Object Pascal code (as implemented by FreePascal and Delphi). Documentation is generated from comments found in the source code and from external files.



You can watch our releases page to be notified about the new releases.


See WhereToPlaceComments, WritingDocumentation and SupportedTags for information on how to document your source code.

Available output formats are

  • HTML - modern webpage documenting your project

  • HtmlHelp

  • LaTeX - you can use this to generate PDF or PS using LaTeX tools like pdflatex

  • Latex2rtf

  • SimpleXml - useful to process obtained information using further tools

  • PHP - PHP map from Pascal identifier → HTML link, to implement searching/enumeration in PHP websites

Check out the CommandLine to get a better feeling for how PasDoc works. There is also a GUI interface, see PasDocGui.

Check out PasDocAutoDoc and ProjectsUsingPasDoc to see some real-world examples of how documentation generated by PasDoc looks like, and to see some programs that use PasDoc’s code.

You may also be interested in the list of AdvancedFeatures of PasDoc.

Get involved

We use GitHub Team Discussions as our forum. You’re welcome to join there, everyone is welcome :)

You can also use the GitHub issues to report bugs and feature requests. If you would like to contribute, it’s best to submit a pull request using GitHub, although you can also attach a patch file to an issue.

We have also collected some older "wanted features" on the WantedFeatures list. And there is a ToDo list.


See the ChangeLog for recent changes to PasDoc and a short history overview.

PasDoc source code:

  • PasDoc is licensed under the GNU General Public License.

  • You can get the latest PasDoc sources from our project on GitHub. In short, just call

    git clone

    Alternatively, you can get the same code using SVN. In short, just call

    svn co
  • See CompilingPasDoc for instructions how to compile PasDoc.

  • See ReleaseMaking to know how we test and package PasDoc for final releases.

While developing PasDoc we also developed some OtherTools that you may find useful.

About these web pages:

  • We are using wiki to easily update these pages. You are welcome to contribute to the documentation!

  • All text within this wiki is licensed on terms of GNU General Public License (just like PasDoc sources).