annotate src/bridge/bridge_constructor/constructors/mediawiki/mediawiki_template.tpl @ 2532:772447ec070f

jp: pubsub options refactoring: There is now only "use_pubsub", and specification are set using "pubsub_flags" argument when instantiating CommandBase. Options are more Python Zen compliant by using explicit arguments for item, draft, url instead of trying to guess with magic keyword and type detection. Pubsub node and item are now always using respecively "-n" and "-i" even when required, this way shell history can be used to change command more easily, and it's globally less confusing for user. if --pubsub-url is used, elements can be overwritten with individual option (e.g. change item id with --item). New "use_draft" argument in CommandBase, to re-use current draft or open a file path as draft. Item can now be specified when using a draft. If it already exists, its content will be added to current draft (with a separator), to avoid loosing data. common.BaseEdit.getItemPath could be simplified thanks to those changes. Pubsub URI handling has been moved to base.py.
author Goffi <goffi@goffi.org>
date Wed, 21 Mar 2018 19:13:22 +0100
parents da4097de5a95
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
740
aebc8ba05129 bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents: 278
diff changeset
1 [[Catégorie:Salut à Toi]]
aebc8ba05129 bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents: 278
diff changeset
2 [[Catégorie:documentation développeur]]
aebc8ba05129 bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents: 278
diff changeset
3
278
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
4 = Overview =
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
5 This is an autogenerated doc for SàT bridge's API
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
6 = Signals =
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
7 ##SIGNALS_PART##
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
8 = Methods =
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
9 ##METHODS_PART##
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
10 ----
56d9c4cfdcfa mediawiki template
Goffi <goffi@goffi.org>
parents:
diff changeset
11 ##TIMESTAMP##