Sign in Join

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

Mailing lists / fpc-pascal / 2004-12

fpdoc footer

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

I would like to add a footer to the fpdoc generated html pages. If I create the html files for download in a zip package it would be nice to add to each page: for the latest version see www.freepascal.org/docs-html/etc/etc, preferably linking directly to the corresponding page, or otherwise the index page for that package.

If I generate html for uploading (mirroring) them on sourceforge as a on-line help database, I would like to append something like: "this page is hosted on sourceforge" and then some sourceforge logo.

Does fpdoc support such features or do I need to adjust the code for it myself (for example by extending function THTMLWriter.CreateHTMLPage)?

Regards,
Vincent Snijders.

Reply by email

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 14 lines
Hi, I would like to add a footer to the fpdoc generated html pages. If I create the html files for download in a zip package it would be nice to add to each page: for the latest version see www.freepascal.org/docs-html/etc/etc, preferably linking directly to the corresponding page, or otherwise the index page for that package. If I generate html for uploading (mirroring) them on sourceforge as a on-line help database, I would like to append something like: "this page is hosted on sourceforge" and then some sourceforge logo. Does fpdoc support such features or do I need to adjust the code for it myself (for example by extending function THTMLWriter.CreateHTMLPage)?

Currently there is support for a custom link in the header of the page, it is meant for a search link. This could be used.

You can of course add support for one ore more footer links as well, if you want. It should be easy to do.

Michael.

Reply by email