Since we share tools and code - we may in the future also
share (in-image) documentation for tools. What is new: - Refactored and updated the code - Help System is now usable in Pharo and Squeak too - Metacello config is updated for both - there is an initial help for the Pharo project and the Squeak project (depending on from where you load it) - the help for the help system is displayed as last book - I merged HelpContents into a new HelpPage - so we have books and pages (we may later add other forms than text in subclasses like HTMLHelpPage, ...) The help browser includs a book on how to provide/implement an own custom help. Future version may include specific colored icons for squeak and better UI depending on the UI system (Polymorph in Squeak) as well as authoring tools. Thanks to Metacello one is able to manage the differences. To load: Squeak ====== Installer ss project: 'MetacelloRepository'; install: 'ConfigurationOfHelpSystem'. ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load Pharo ===== Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfHelpSystem'; load. ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load Bye T. -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser |
On 19 February 2010 18:00, Torsten Bergmann <[hidden email]> wrote:
> Since we share tools and code - we may in the future also > share (in-image) documentation for tools. What is new: > > - Refactored and updated the code > - Help System is now usable in Pharo and Squeak too > - Metacello config is updated for both > - there is an initial help for the Pharo project and the Squeak project > (depending on from where you load it) > - the help for the help system is displayed as last book > - I merged HelpContents into a new HelpPage - so we have books and pages > (we may later add other forms than text in subclasses like > HTMLHelpPage, ...) > > The help browser includs a book on how to provide/implement an own > custom help. Future version may include specific colored icons for > squeak and better UI depending on the UI system (Polymorph in Squeak) > as well as authoring tools. > > Thanks to Metacello one is able to manage the differences. To load: > > Squeak > ====== > > Installer ss project: 'MetacelloRepository'; > install: 'ConfigurationOfHelpSystem'. > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load > > > Pharo > ===== > > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfHelpSystem'; > load. > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load > > I haven't took a look at it yet. But i think this is very good stuff which should be incorporated into a future release(s). Especially, there is some of people expressing the need of having a good documentation on image/packages. > Bye > T. > -- > Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - > jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser > > -- Best regards, Igor Stasenko AKA sig. |
In reply to this post by Torsten Bergmann
Wow, that's *very* nice. Is there a way of registering custom pages and
navigate directly to them? I'd like to try to add the stuff that's currently in the help menu and have those entries go directly into the help system (the idea being that someone looking at any of these items also sees the other help entries). Cheers, - Andreas Torsten Bergmann wrote: > Since we share tools and code - we may in the future also > share (in-image) documentation for tools. What is new: > > - Refactored and updated the code > - Help System is now usable in Pharo and Squeak too > - Metacello config is updated for both > - there is an initial help for the Pharo project and the Squeak project > (depending on from where you load it) > - the help for the help system is displayed as last book > - I merged HelpContents into a new HelpPage - so we have books and pages > (we may later add other forms than text in subclasses like > HTMLHelpPage, ...) > > The help browser includs a book on how to provide/implement an own > custom help. Future version may include specific colored icons for > squeak and better UI depending on the UI system (Polymorph in Squeak) > as well as authoring tools. > > Thanks to Metacello one is able to manage the differences. To load: > > Squeak > ====== > > Installer ss project: 'MetacelloRepository'; > install: 'ConfigurationOfHelpSystem'. > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load > > > Pharo > ===== > > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfHelpSystem'; > load. > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') load > > > Bye > T. |
BTW, for people who'd like to install HelpSystem with Installer instead
of Metacello, use this: (Installer repository: 'http://squeaksource.com/HelpSystem') install: 'HelpSystem-Core'; install: 'HelpSystem-Tests'; install: 'Squeak-Project-Help'. (Smalltalk at: #HelpSystem) reset. This installs in a fraction of the time and space. Cheers, - Andreas Andreas Raab wrote: > Wow, that's *very* nice. Is there a way of registering custom pages and > navigate directly to them? I'd like to try to add the stuff that's > currently in the help menu and have those entries go directly into the > help system (the idea being that someone looking at any of these items > also sees the other help entries). > > Cheers, > - Andreas > > Torsten Bergmann wrote: >> Since we share tools and code - we may in the future also >> share (in-image) documentation for tools. What is new: >> >> - Refactored and updated the code >> - Help System is now usable in Pharo and Squeak too >> - Metacello config is updated for both >> - there is an initial help for the Pharo project and the Squeak >> project >> (depending on from where you load it) >> - the help for the help system is displayed as last book >> - I merged HelpContents into a new HelpPage - so we have books and >> pages >> (we may later add other forms than text in subclasses like >> HTMLHelpPage, ...) >> >> The help browser includs a book on how to provide/implement an own >> custom help. Future version may include specific colored icons for >> squeak and better UI depending on the UI system (Polymorph in Squeak) >> as well as authoring tools. >> >> Thanks to Metacello one is able to manage the differences. To load: >> >> Squeak >> ====== >> >> Installer ss project: 'MetacelloRepository'; install: >> 'ConfigurationOfHelpSystem'. >> >> ((Smalltalk at: #ConfigurationOfHelpSystem) project version: >> '1.0') load >> >> >> Pharo >> ===== >> >> Gofer new >> squeaksource: 'MetacelloRepository'; >> package: 'ConfigurationOfHelpSystem'; >> load. >> >> ((Smalltalk at: #ConfigurationOfHelpSystem) project version: >> '1.0') load >> >> >> Bye >> T. > > > |
But the Metacello code would load version '1.0', whereas your Installer
code would load the latest of each monticello package. It's happened to me where a Gofer script was being used to load a series of packages that was being updated by someone else, at the same time. After debugging the problem, the solution was that old standby: "run the code again, and hope for a different outcome". Of course it worked the second time because whoever was updating the packages had finished by then. -- Yanni Andreas Raab wrote: > BTW, for people who'd like to install HelpSystem with Installer instead > of Metacello, use this: > > (Installer repository: 'http://squeaksource.com/HelpSystem') > install: 'HelpSystem-Core'; > install: 'HelpSystem-Tests'; > install: 'Squeak-Project-Help'. > (Smalltalk at: #HelpSystem) reset. > > This installs in a fraction of the time and space. > > Cheers, > - Andreas > > Andreas Raab wrote: >> Wow, that's *very* nice. Is there a way of registering custom pages >> and navigate directly to them? I'd like to try to add the stuff that's >> currently in the help menu and have those entries go directly into the >> help system (the idea being that someone looking at any of these items >> also sees the other help entries). >> >> Cheers, >> - Andreas >> >> Torsten Bergmann wrote: >>> Since we share tools and code - we may in the future also >>> share (in-image) documentation for tools. What is new: >>> >>> - Refactored and updated the code >>> - Help System is now usable in Pharo and Squeak too >>> - Metacello config is updated for both >>> - there is an initial help for the Pharo project and the Squeak >>> project >>> (depending on from where you load it) >>> - the help for the help system is displayed as last book >>> - I merged HelpContents into a new HelpPage - so we have books and >>> pages >>> (we may later add other forms than text in subclasses like >>> HTMLHelpPage, ...) >>> >>> The help browser includs a book on how to provide/implement an own >>> custom help. Future version may include specific colored icons for >>> squeak and better UI depending on the UI system (Polymorph in Squeak) >>> as well as authoring tools. >>> >>> Thanks to Metacello one is able to manage the differences. To load: >>> >>> Squeak >>> ====== >>> >>> Installer ss project: 'MetacelloRepository'; install: >>> 'ConfigurationOfHelpSystem'. >>> >>> ((Smalltalk at: #ConfigurationOfHelpSystem) project version: >>> '1.0') load >>> >>> >>> Pharo >>> ===== >>> >>> Gofer new >>> squeaksource: 'MetacelloRepository'; >>> package: 'ConfigurationOfHelpSystem'; >>> load. >>> >>> ((Smalltalk at: #ConfigurationOfHelpSystem) project version: >>> '1.0') load >>> >>> >>> Bye >>> T. |
In reply to this post by Andreas.Raab
Hi Andreas!
You can add custom pages by subclassing CustomHelp and implementing some methods. There is a help entry "Help on Help/How to build a custom help" that describes the process. Today I also added some code that enables you to create content and page hierarchies dynamically. Have a look at the methods in HelpAPIDoc to see how it is used. This code is not loaded by Torsten's Metacello config because I do not know how to do that at the moment, and I guess the implementation is going to change anyway. Danny Am Samstag, 20. Februar 2010 07:23:08 schrieb Andreas Raab: > Wow, that's *very* nice. Is there a way of registering custom pages and > navigate directly to them? I'd like to try to add the stuff that's > currently in the help menu and have those entries go directly into the > help system (the idea being that someone looking at any of these items > also sees the other help entries). > > Cheers, > - Andreas > > Torsten Bergmann wrote: > > Since we share tools and code - we may in the future also > > share (in-image) documentation for tools. What is new: > > > > - Refactored and updated the code > > - Help System is now usable in Pharo and Squeak too > > - Metacello config is updated for both > > - there is an initial help for the Pharo project and the Squeak > > project (depending on from where you load it) > > - the help for the help system is displayed as last book > > - I merged HelpContents into a new HelpPage - so we have books and > > pages (we may later add other forms than text in subclasses like > > HTMLHelpPage, ...) > > > > The help browser includs a book on how to provide/implement an own > > custom help. Future version may include specific colored icons for > > squeak and better UI depending on the UI system (Polymorph in Squeak) > > as well as authoring tools. > > > > Thanks to Metacello one is able to manage the differences. To load: > > > > Squeak > > ====== > > > > Installer ss project: 'MetacelloRepository'; > > install: 'ConfigurationOfHelpSystem'. > > > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') > > load > > > > > > Pharo > > ===== > > > > Gofer new > > squeaksource: 'MetacelloRepository'; > > package: 'ConfigurationOfHelpSystem'; > > load. > > > > ((Smalltalk at: #ConfigurationOfHelpSystem) project version: '1.0') > > load > > > > > > Bye > > T. > |
In reply to this post by Torsten Bergmann
On Fri, Feb 19, 2010 at 05:00:23PM +0100, Torsten Bergmann wrote:
> Since we share tools and code - we may in the future also > share (in-image) documentation for tools. What is new: > > - Refactored and updated the code > - Help System is now usable in Pharo and Squeak too > - Metacello config is updated for both > - there is an initial help for the Pharo project and the Squeak project > (depending on from where you load it) > - the help for the help system is displayed as last book > - I merged HelpContents into a new HelpPage - so we have books and pages > (we may later add other forms than text in subclasses like > HTMLHelpPage, ...) > > The help browser includs a book on how to provide/implement an own > custom help. Future version may include specific colored icons for > squeak and better UI depending on the UI system (Polymorph in Squeak) > as well as authoring tools. This is *really* nice! Dave |
In reply to this post by Torsten Bergmann
>Is there a way of registering custom pages and
>navigate directly to them HelpTopic defines an ivar "key" - a unique key I want to use in the future to jump into the help system from tools. Read on the pharo archive this month on more goals towards help system: http://lists.gforge.inria.fr/pipermail/pharo-project/2010-February/date.html Bye Torsten -- NEU: Mit GMX DSL über 1000,- ¿ sparen! http://portal.gmx.net/de/go/dsl02 |
Free forum by Nabble | Edit this page |