From 032316155c03ca1013644476b8f9413ba436b744 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Thu, 2 Oct 2025 09:33:53 -0400 Subject: Add a new hook in the UI (#8054) * Add a new hook in the UI The new hook allows extension to add their own tool bar to navigate between entries. For instance, if the user wants less or more buttons that what's available by default. See #7912 See #7913 * add link data to ease navigation --- docs/en/developers/03_Backend/05_Extensions.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/en') diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md index cfdb4e692..c24ee0569 100644 --- a/docs/en/developers/03_Backend/05_Extensions.md +++ b/docs/en/developers/03_Backend/05_Extensions.md @@ -191,6 +191,7 @@ Example response for a `query_icon_info` request: * `menu_admin_entry` (`function() -> string`): add an entry at the end of the "Administration" menu, the returned string must be valid HTML (e.g. `
  • New entry
  • `). * `menu_configuration_entry` (`function() -> string`): add an entry at the end of the "Configuration" menu, the returned string must be valid HTML (e.g. `
  • New entry
  • `). * `menu_other_entry` (`function() -> string`): add an entry at the end of the header dropdown menu (i.e. after the "About" entry), the returned string must be valid HTML (e.g. `
  • New entry
  • `). +* `nav_entries` (`function() -> string`): will add DOM elements before the navigation buttons. * `nav_menu` (`function() -> string`): will be executed if the navigation was built. * `nav_reading_modes` (`function($reading_modes) -> array | null`): **TODO** add documentation. * `post_update` (`function(none) -> none`): **TODO** add documentation. -- cgit v1.2.3