Events¶
The following outlines additional events supported by this extension.
Generic events¶
- confluence-publish-attachment (app, docname, key, aid, meta)¶
- Parameters:
app –
Sphinxdocname –
strof the document namekey –
strof the attachment keyaid –
intof the upload id of the published attachmentmeta –
dictof additional metadata for this event
Emitted when this extension has completed the upload of an attachment.
Added in version 2.8.
- confluence-publish-page (app, docname, pid, meta)¶
- Parameters:
app –
Sphinxdocname –
strof the document namepid –
intof the upload id of the published pagemeta –
dictof additional metadata for this event
Emitted when this extension has completed the upload of a document.
Added in version 2.8.
- confluence-publish-point (app, point_url)¶
- Parameters:
app –
Sphinxpoint_url –
strof the publish point URL
Emitted when this extension prints the “publish point” URL to the standard output stream.
Added in version 2.6.
Advanced events¶
- confluence-publish-override-pageid (app, docname, meta)¶
- Parameters:
app –
Sphinxdocname –
strof the document namemeta –
dictof additional metadata for this event
- Returns:
int | Noneof the new page identifier
Emitted when this extension is about to determine the page identifier to publish a document. A configuration and register this event and return a new identifier to use for a page. If
Noneis returned, the extension will operate in the same manner as if no override was provided.Added in version 2.8.