Skip to content

Commit

Permalink
Update build to include backport information.
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 3, 2021
1 parent 1561a4c commit fa35a0b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions compose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ Represents an attachment in a message being composed.
.. api-member::
:name: ``size``
:type: (integer)
:annotation: -- [Added in TB 83]
:annotation: -- [Added in TB 83, backported to TB 78.5.0]

The size in bytes of this attachment.

Expand All @@ -532,7 +532,7 @@ Used by various functions to represent the state of a message being composed. No
.. api-member::
:name: [``attachments``]
:type: (array of object)
:annotation: -- [Added in TB 82]
:annotation: -- [Added in TB 82, backported to TB 78.4]

Attachments to add to the message. Only used in the begin* functions.

Expand Down
2 changes: 1 addition & 1 deletion mailTabs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ MailTab
:name: ``displayedFolder``
:type: (:ref:`folders.MailFolder`)

The ``accountsRead`` permission is required.
The :permission:`accountsRead` permission is required for this property to be included.


.. api-member::
Expand Down
2 changes: 1 addition & 1 deletion menus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ The different contexts a menu can appear in. Specifying ``all`` is equivalent to

.. api-member::
:name: ``compose_attachments``
:annotation: -- [Added in TB 83]
:annotation: -- [Added in TB 83, backported to TB 78.5.0]


.. _menus.ItemType:
Expand Down
4 changes: 2 additions & 2 deletions messageDisplay.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Gets the currently displayed message in the specified tab. It returns null if no
getDisplayedMessages(tabId)
---------------------------

.. api-section-annotation-hack:: -- [Added in TB 81]
.. api-section-annotation-hack:: -- [Added in TB 81, backported to TB 78.4]

Gets an array of the currently displayed messages in the specified tab. The array is empty if no messages are displayed.

Expand Down Expand Up @@ -135,7 +135,7 @@ Fired when a message is displayed, whether in a 3-pane tab, a message tab, or a
onMessagesDisplayed(tab, messages)
----------------------------------

.. api-section-annotation-hack:: -- [Added in TB 81]
.. api-section-annotation-hack:: -- [Added in TB 81, backported to TB 78.4]

Fired when either a single message is displayed or when multiple messages are displayed, whether in a 3-pane tab, a message tab, or a message window.

Expand Down
7 changes: 4 additions & 3 deletions messageDisplayScripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
messageDisplayScripts
=====================

This message display scripts API first appeared in Thunderbird 82. Functionally it is the same as
the `content scripts`__ API except that it works on the document of email messages being displayed.
See the MDN documentation for a more in-depth explanation and :doc:`/changes/beta82` for examples.
This message display scripts API first appeared in Thunderbird 82 and was backported to Thunderbird
78.4. Functionally it is the same as the `content scripts`__ API except that it works on the
document of email messages being displayed. See the MDN documentation for a more in-depth
explanation and :doc:`/changes/beta82` for examples.

See also :ref:`executeScript <tabs.executeScript>`, :ref:`insertCSS <tabs.insertCSS>`,
:ref:`removeCSS <tabs.removeCSS>`, and :doc:`composeScripts`.
Expand Down
2 changes: 1 addition & 1 deletion messages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ MessageHeader
:name: ``folder``
:type: (:ref:`folders.MailFolder`)

The ``accountsRead`` permission is required.
The :permission:`accountsRead` permission is required for this property to be included.


.. api-member::
Expand Down
10 changes: 5 additions & 5 deletions tabs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Gets the tab that this script call is being made from. May be undefined if calle
connect(tabId, [connectInfo])
-----------------------------

.. api-section-annotation-hack:: -- [Added in TB 82]
.. api-section-annotation-hack:: -- [Added in TB 82, backported to TB 78.4]

Connects to the content script(s) in the specified tab. The `runtime.onConnect <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onConnect>`_ event is fired in each content script running in the specified tab for the current extension. For more details, see `Content Script Messaging <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts>`_.

Expand Down Expand Up @@ -132,7 +132,7 @@ Connects to the content script(s) in the specified tab. The `runtime.onConnect <
sendMessage(tabId, message, [options])
--------------------------------------

.. api-section-annotation-hack:: -- [Added in TB 82]
.. api-section-annotation-hack:: -- [Added in TB 82, backported to TB 78.4]

Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The `runtime.onMessage <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage>`_ event is fired in each content script running in the specified tab for the current extension.

Expand Down Expand Up @@ -544,7 +544,7 @@ Injects JavaScript code into a page. For details, see the `programmatic injectio


.. api-member::
:name: with the :permission:`compose` permission, this now works in the document of email messages during composition.
:name: With the :permission:`compose` permission, this now works in the document of email messages during composition.

.. api-header::
:label: Parameters
Expand Down Expand Up @@ -590,7 +590,7 @@ Injects CSS into a page. For details, see the `programmatic injection <https://d


.. api-member::
:name: with the :permission:`compose` permission, this now works in the document of email messages during composition.
:name: With the :permission:`compose` permission, this now works in the document of email messages during composition.

.. api-header::
:label: Parameters
Expand Down Expand Up @@ -624,7 +624,7 @@ Removes injected CSS from a page. For details, see the `programmatic injection <


.. api-member::
:name: with the :permission:`compose` permission, this now works in the document of email messages during composition.
:name: With the :permission:`compose` permission, this now works in the document of email messages during composition.

.. api-header::
:label: Parameters
Expand Down

0 comments on commit fa35a0b

Please sign in to comment.