Gatha Plugin: Experimental Release

Hi @Mohammad, Thanks for this great plugin which I am using to develop my own plugins. Could I use it to export plugin demo.html for multiple plugins?

I am developing three plugins in one place (i.e. tw-htmlwidgets, tw-echarts, tw-leaflet). Both tw-echarts and tw-leaflet are depending on tw-htmlwidgets.

When I try to export plugin demo (demo.html). It only exports tw-htmlwidgets. Could I export all packages I am developing into one demo.html?

The publish filter controls what will be published! So add what you want!

Thanks @Mohammad . I tried two methods in the $:/config/gatha/PublishFilter

[[$:/plugins/bangyou/tw-echarts4r]]
[[$:/plugins/bangyou/tw-leaflet]]

This one don’t export other plugins

[prefix[$:/plugins/bangyou/tw-echarts4r]]
[prefix[$:/plugins/bangyou/tw-leaflet]]

This one do export other plugins tiddlers, but don’t pack into plugins (i.e. cannot list in the plugin page)

Please read the documents.
Ghata has two publish filters:

  1. a global publish filter
  2. a local publish filter

Publish filter does not include anything in the plugin, but it export your selected tiddlers/theme/plugins into demo file.
Example

  1. Open Gatha Studio Workspace — create and export plugins, editions, and packages in browser (kookma.github.io)
  2. From Sidebar-> More → Gatha
  3. Find Global publish filter ($:/config/gatha/PublishFilter)
    4.Add Shiraz to the publish filter (add this line: [[$:/plugins/kookma/shiraz]])
  4. Open Sidebar → Gatha - > Bahar
  5. Under export plugin click on plugin.demo

That’s all

1 Like

NOTE: You may have several plugins under development! The current setup does not support exporting all of them in one step, as they are not packaged yet!
Only previously packaged ones can be exported.

However I submitted a ticket (Publish and Export Several Plugins and Sub plugins at Once · Issue #8 · kookma/TW-Gatha (github.com)) to add this option in future releases

1 Like