--css, --css-based-on-bootstrap command-line options

Introduction

You can control what your HTML and HtmlHelp documentation looks like by tweaking the CSS file.

To use your own style sheet, use the CommandLine option:

  • --css=CSS-FILE to provide a new CSS file (that does not rely on standard Bootstrap CSS classes, so Bootstrap will not be used in the output).

  • --css-based-on-bootstrap=CSS-FILE to provide a new CSS file that does rely on standard Bootstrap CSS classes. So Bootstrap will be used in the output.

Default CSS

The default pasdoc.css is here. Note that it relies on Bootstrap, so if you tweak it, provide the new version using --css-based-on-bootstrap command-line option.

The old pasdoc.css that does not rely on Bootstrap is here: source/component/alternative_css/pasdoc-up-to-0.16.0.css. You can tweak it, and provide the new version using --css command-line option.

Alternative CSS

We provide some alternative CSS styles in the source/component/alternative_css/ directory of the PasDoc repository.

Use them directly as a starting point for your own CSS styles.

Examples:

pasdoc *.pas --css=<pasdoc>/source/component/alternative_css/AscanioPressato.css

pasdoc *.pas --css=<pasdoc>/source/component/alternative_css/ThomasMueller.css

pasdoc *.pas --css=<pasdoc>/source/component/alternative_css/pasdoc-up-to-0.16.0.css