Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

pasdoc

Documentation tool for ObjectPascal (Free Pascal, Lazarus, Delphi) source code

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

PasDoc - documentation generator for Pascal source code

Introduction

PasDoc is a documentation tool for the Object Pascal code. Documentation is generated from comments found in the source code or in special "description files". Numerous output formats are supported, including HTML, LaTeX (for PDF, PS), XML and PHP.

This is a free and open source software.

Basic Usage

Put comments before the identifiers in your Pascal source code. Like this:

pascal
{ My amazing unit. This does @bold(something amazing). }
unit MyUnit;

interface

type
  { My amazing class. }
  TMyClass = class
  private
    FMyProperty: String;
  public
    { My amazing method. Sets @link(MyProperty) to 'foo'. }
    procedure MyMethod;
    { My amazing property. }
    property MyProperty: String read FMyProperty write FMyProperty;
  end;

implementation
// ...
end.

Process this source code with PasDoc, and get documentation in one of the output formats. From the command-line, you can do it like this:

bash
mkdir -p output-dir/
pasdoc myunit.pas --format=html --output=output-dir

You can also use the GUI interface.

Support Us

If you find PasDoc useful, we appreciate your donations. This helps us to continue improving PasDoc. Michalis, maintainer of PasDoc, also makes Castle Game Engine, and you can use the same channels (like Patreon) to donate to both projects.

Complete Documentation

See the documentation on our website covering all the features of PasDoc, including the supported comment syntax, output formats, and more.

License

GNU GPL >= 2.

Copyright