Thread: pga3: Online Help

pga3: Online Help

From
"Dave Page"
Date:
Hi guys,

I've updated pga3 to use
http://www.pgadmin.org/pgadmin3/doc.php?version=current&file= as the
default file location. This is a script which will display the specified
file, at the specified version (or current as specified in the URL).
This is a modified version of the code used at
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=index.ht
ml

Anyway, had a few thoughts/issues:

1) We could direct the user to the appropriate docs for the server
version that they're connected to. This makes the URLs a lot more messy
though and harder to setup custom help sites.

2) The HTML code doesn't seem to like stylesheets :-(. It appears to
honour font definitions, but not the colours.

Thoughts or comments?

Regards, Dave.

Re: pga3: Online Help

From
Andreas Pflug
Date:
Hi Dave,


Dave Page wrote:

>That's a little out of our control (obviously), and to be honest, I'm nt sure
>it'll happen even if we asked for it. It'd require every patch that added a new
>feature to include those magic words.
>
I still believe that this is the better solution, making it easier for
users that migrate.

>Oh definately. However, if we don't do anything out of the ordinary with the
>online help, then we might just as well use the wx class that supports chm
>files (wxHelpProvider(?) - I don't have the docs right now) and ship the
>current documents for PostgreSQL as well, as we do at the moment in pgAdmin II.
>How fast is that - do you know?
>
Didn't try so far. We might use this for the pgAdmin3 app documentation
(as soon as we find a lyrically advanced hacker...)

>Of course, that'll help for those without a permanent net connection as well.
>
No problem; a file link is accepted. Could be set in the installation
procedure if desired (HKCU\software\pgAdmin III\SqlHelpSite)

Regards,
Andreas