Squeak 4.6: Help-Squeak-SWiki-mt.2.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Squeak 4.6: Help-Squeak-SWiki-mt.2.mcz

commits-2
Chris Muller uploaded a new version of Help-Squeak-SWiki to project Squeak 4.6:
http://source.squeak.org/squeak46/Help-Squeak-SWiki-mt.2.mcz

==================== Summary ====================

Name: Help-Squeak-SWiki-mt.2
Author: mt
Time: 10 May 2015, 1:55:51.449 pm
UUID: 76848f48-14f6-c540-860a-a42fd4259c1b
Ancestors: Help-Squeak-SWiki-mt.1

Only support opening SWiki in HelpBrowser directly. Ignore it if embedded in other help structures. SWiki help integration is still experimental and should not confuse other users.

==================== Snapshot ====================

SystemOrganization addCategory: #'Help-Squeak-SWiki'!

CustomHelp subclass: #SWikiHelp
        instanceVariableNames: ''
        classVariableNames: ''
        poolDictionaries: ''
        category: 'Help-Squeak-SWiki'!

!SWikiHelp commentStamp: 'mt 5/10/2015 13:52' prior: 0!
HelpBrowser openOn: SWikiHelp.!

----- Method: SWikiHelp class>>asHelpTopic (in category 'converting') -----
asHelpTopic

        ^ HtmlHelpTopic new
                url: 'http://wiki.squeak.org/squeak';
                selectBlock: [:url | ((url beginsWith: '/squeak/') and: [(url includes: $.) not ".edit, .history, ..."]) and: [url last isDigit]];
                convertBlock: [:url | 'http://wiki.squeak.org', url];
                yourself!

----- Method: SWikiHelp class>>ignore (in category 'accessing') -----
ignore
        "Experimental."
        ^ true!