Re: [tw] Re: w5.com-docs plugin

2017-06-27 Thread Sergei Gerasenko
Awesome, Ton. You rock.

On Tue, Jun 27, 2017 at 10:20 AM, Ton Gerner  wrote:

> Hi Sergei,
>
>>
>> Worked like a charm.
>>
>> One thing that I didn't like about the doc plugin is that it showed this
>> ribbon even when I was trying to edit my own tiddlers:
>>
>> "Can you help us improve this documentation? Find out how
>>  to edit this
>> tiddler on GitHub
>> 
>> "
>>
>> Is that a bug or a feature?
>>
>
> That is the Contribution banner ($:/ContributionBanner tagged with
> $:/tags/EditTemplate) as used at http://tiddlywiki.com/ to ease improving
> documentation at Github.
> If you see it with normal tiddlers as well it looks like like a bug to me.
>
> Anyhow you can get rid of the banner by removing the tag
> $:/tags/EditTemplate from $:/ContributionBanner which means the shadow
> tiddler $:/ContributionBanner has been overridden by your version of
> $:/ContributionBanner without the tag.
>
> Cheers,
>
> Ton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/fb91d9e6-a646-439e-96b0-af5caf78049e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVzx7CGUZhYz2jA%2BbTajisvqQ0Y6jGM_25yjoD_1WCHyjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-27 Thread Ton Gerner
Hi Sergei,

>
> Worked like a charm.
>
> One thing that I didn't like about the doc plugin is that it showed this 
> ribbon even when I was trying to edit my own tiddlers:
>
> "Can you help us improve this documentation? Find out how 
>  to edit this 
> tiddler on GitHub 
> 
> "
>
> Is that a bug or a feature? 
>

That is the Contribution banner ($:/ContributionBanner tagged with 
$:/tags/EditTemplate) as used at http://tiddlywiki.com/ to ease improving 
documentation at Github.
If you see it with normal tiddlers as well it looks like like a bug to me.

Anyhow you can get rid of the banner by removing the tag 
$:/tags/EditTemplate from $:/ContributionBanner which means the shadow 
tiddler $:/ContributionBanner has been overridden by your version of 
$:/ContributionBanner without the tag.

Cheers,

Ton

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb91d9e6-a646-439e-96b0-af5caf78049e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-27 Thread Sergei Gerasenko
Hi Ton,

Worked like a charm.

One thing that I didn't like about the doc plugin is that it showed this
ribbon even when I was trying to edit my own tiddlers:

"Can you help us improve this documentation? Find out how
 to edit this
tiddler on GitHub

"

Is that a bug or a feature?

Sergei

On Tue, Jun 27, 2017 at 8:02 AM, Ton Gerner  wrote:

> Hi Sergei,
>
> I created an issue at Github
>  about the Dos
> plugin and searching.
>
> The .tip macro and associated classes can be found in $:/editions/
> tw5.com/doc-macros:
> The classes itself can be found in $:/editions/tw5.com/doc-styles
>
> Cheers,
>
> Ton
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/b49dec7c-7fbf-4650-bbba-935b23afd14f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVyBZjdui__AAkErNLWsupwP9Ntebvpv3Q%3DYA26avx%3DFQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-27 Thread Ton Gerner
Hi Sergei,

I created an issue at Github 
 about the Dos plugin 
and searching.

The .tip macro and associated classes can be found in 
$:/editions/tw5.com/doc-macros:
The classes itself can be found in $:/editions/tw5.com/doc-styles

Cheers,

Ton


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b49dec7c-7fbf-4650-bbba-935b23afd14f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-27 Thread Sergei Gerasenko
Hi Ton,

Curious if you know. There's a *.tip* macro in the documentation wiki that
I really like. I shows a white lightbulb on a blue background. The empty
wiki does include the tip image itself (white on black), but not the macro
and associated css. What's the easiest way to duplicate that without
installing the documentation plugin?

Thanks,
  Sergei

On Mon, Jun 26, 2017 at 9:53 AM, Ton Gerner  wrote:

> Hi Sergei,
>
> Thank you much for your time and expertise.
>>
>> You're welcome.
>
> Using Advanced search gives results with many "real" shadow tiddlers
> (starting with $:/).
> Yo can create a special Docs search tab:
>
> 1) Clone $:/core/ui/AdvancedSearch/Shadows and name it e.g.
> $:/core/ui/AdvancedSearch/Docs
> 2) Search for the part
>
> <$list 
> filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]]
> -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
>
> 3) Add `!prefix[$:/]` as follows:
>
> <$list filter="[all[shadows]!prefix[$:/]search{$:/temp/
> advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]"
> template="$:/core/ui/ListItemTemplate"/>
>
> 4) Replace the contents of the caption field with e.g. Docs
> 5) Save
>
> This will give you an extra tab Docs in Advanced search which gives
> results without tiddlers starting with `$:/`
>
> Hope that helps.
>
> Cheers,
>
> Ton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/11a30306-1a01-42a7-a03a-ae585cb9a5ad%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVx74jnvrdLd6_SiN9%2B%2BPnWd%3DFhQsXQw2u-J1hf%2BuhSCgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-26 Thread Sergei Gerasenko
​Hi Ton,

That's uber cool.

Thanks again,
  Sergei​

On Mon, Jun 26, 2017 at 9:53 AM, Ton Gerner  wrote:

> Hi Sergei,
>
> Thank you much for your time and expertise.
>>
>> You're welcome.
>
> Using Advanced search gives results with many "real" shadow tiddlers
> (starting with $:/).
> Yo can create a special Docs search tab:
>
> 1) Clone $:/core/ui/AdvancedSearch/Shadows and name it e.g.
> $:/core/ui/AdvancedSearch/Docs
> 2) Search for the part
>
> <$list 
> filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]]
> -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
>
> 3) Add `!prefix[$:/]` as follows:
>
> <$list filter="[all[shadows]!prefix[$:/]search{$:/temp/
> advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]"
> template="$:/core/ui/ListItemTemplate"/>
>
> 4) Replace the contents of the caption field with e.g. Docs
> 5) Save
>
> This will give you an extra tab Docs in Advanced search which gives
> results without tiddlers starting with `$:/`
>
> Hope that helps.
>
> Cheers,
>
> Ton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/11a30306-1a01-42a7-a03a-ae585cb9a5ad%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVzO0RrZv_TcNkFOQW6%3Dn_JxoE%3DCVe0bJpMqXN3shTiSfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-26 Thread Ton Gerner
Hi Sergei,

Thank you much for your time and expertise.
>
> You're welcome. 

Using Advanced search gives results with many "real" shadow tiddlers 
(starting with $:/).
Yo can create a special Docs search tab:

1) Clone $:/core/ui/AdvancedSearch/Shadows and name it e.g. 
$:/core/ui/AdvancedSearch/Docs
2) Search for the part

<$list 
filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] 
-[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>

3) Add `!prefix[$:/]` as follows:

<$list 
filter="[all[shadows]!prefix[$:/]search{$:/temp/advancedsearch}sort[title]limit[250]]
 
-[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>

4) Replace the contents of the caption field with e.g. Docs
5) Save

This will give you an extra tab Docs in Advanced search which gives results 
without tiddlers starting with `$:/`

Hope that helps.

Cheers,

Ton

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11a30306-1a01-42a7-a03a-ae585cb9a5ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-26 Thread Sergei Gerasenko
Hi Ton,

Got it. I will use the advanced search functionality.

Thank you much for your time and expertise.

Sergei

On Mon, Jun 26, 2017 at 9:17 AM, Ton Gerner  wrote:

> Hi Sergei,
>
> For some reason I'm not seeing "Contents" in my sidebar.
>>
>
> I really don't know why.
>
> I have downloaded an empty wiki, installed the plugin and I do see it.
>>
>
> Glad that worked.
>
>
>> Oh, one more question. Even though the docs are there, they don't seem to
>> be searchable? Is there a way to include them in the search?
>>
>
> I thought they were searchable (as in http://tiddlywiki.com/) but you are
> right that is not true. I think that is caused by the fact the docs are a
> plugin which means the docs are now shadow tiddlers and "standard" search
> is restricted to "normal" tiddlers.
> As a workaround use Advanced search (click the magnifying glass next to
> the search box) and use the Shadows tab.
>
> Cheers,
>
> Ton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/3af12907-2200-4a33-92c8-94fb7f20ea4b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVwqzCS-d61STgCnDUyobXssdJV%3DXbz8-jL1COQGwZhh-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-26 Thread Ton Gerner
Hi Sergei,

For some reason I'm not seeing "Contents" in my sidebar.
>
 
I really don't know why. 

I have downloaded an empty wiki, installed the plugin and I do see it.
>

Glad that worked.
 

> Oh, one more question. Even though the docs are there, they don't seem to 
> be searchable? Is there a way to include them in the search?
>

I thought they were searchable (as in http://tiddlywiki.com/) but you are 
right that is not true. I think that is caused by the fact the docs are a 
plugin which means the docs are now shadow tiddlers and "standard" search 
is restricted to "normal" tiddlers.
As a workaround use Advanced search (click the magnifying glass next to the 
search box) and use the Shadows tab.

Cheers,

Ton

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3af12907-2200-4a33-92c8-94fb7f20ea4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: w5.com-docs plugin

2017-06-26 Thread Sergei Gerasenko
Hi Ton,

For some reason I'm not seeing "Contents" in my sidebar. The plugins tab
shows:

Highlight.js: syntax highlighting
<#%24%3A%2Fplugins%2Ftiddlywiki%2Fhighlight>
Markdown parser <#%24%3A%2Fplugins%2Ftiddlywiki%2Fmarkdown>
TiddlyWiki5 core <#%24%3A%2Fcore>

But the source html does mention the doc plugin.

I have downloaded an empty wiki, installed the plugin and I do see it. I
think I will export and import everything into a brand new wiki. Something
must be off with the one i have.

Oh, one more question. Even though the docs are there, they don't seem to
be searchable? Is there a way to include them in the search?

Thanks!
   Sergei

On Mon, Jun 26, 2017 at 12:41 AM, Ton Gerner  wrote:

> Hi Sergei,
>
> After installing the "docs" plugin you get a Contents tab in the sidebar
> which will show the documentation.
>
> Anyway, to check which plugins have been installed: In the sidebar tab
> More > tab Plugins shows all installed languages, plugins and themes.
>
> Hope that helps.
>
> Cheers,
>
> Ton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/nAZ_fyOMz_M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/2ed531d1-ea05-49a1-9c25-9059479c4af4%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADM1pVy%2BznKdkDLFeF3XGoxenL1HEuA6Nf7a-AHRSmLAdBTR2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.