archivebox.plugins.views

Module Contents

Functions

render_code_block

render_highlighted_json_block

get_plugin_docs_url

get_plugin_hook_source_url

get_live_config_url

get_machine_admin_url

render_code_tag_list

render_link_tag_list

render_plugin_metadata_html

render_property_links

render_config_properties_html

render_hook_links_html

get_filesystem_plugins

Discover plugins from filesystem directories.

find_plugin_for_config_key

get_config_definition_link

plugins_list_view

plugin_detail_view

Data

ABX_PLUGINS_DOCS_BASE_URL

ABX_PLUGINS_GITHUB_BASE_URL

LIVE_CONFIG_BASE_URL

LIVE_PLUGIN_BASE_URL

JSON_TOKEN_RE

API

archivebox.plugins.views.ABX_PLUGINS_DOCS_BASE_URL[source]

β€˜https://archivebox.github.io/abx-plugins/’

archivebox.plugins.views.ABX_PLUGINS_GITHUB_BASE_URL[source]

β€˜https://github.com/ArchiveBox/abx-plugins/tree/main/abx_plugins/plugins/’

archivebox.plugins.views.LIVE_CONFIG_BASE_URL[source]

β€˜/admin/environment/config/’

archivebox.plugins.views.LIVE_PLUGIN_BASE_URL[source]

β€˜/admin/environment/plugins/’

archivebox.plugins.views.JSON_TOKEN_RE[source]

β€˜compile(…)’

archivebox.plugins.views.render_code_block(text: str, *, highlighted: bool = False) str[source]
archivebox.plugins.views.render_highlighted_json_block(value: Any) str[source]
archivebox.plugins.views.get_plugin_docs_url(plugin_name: str) str[source]
archivebox.plugins.views.get_plugin_hook_source_url(plugin_name: str, hook_name: str) str[source]
archivebox.plugins.views.get_live_config_url(key: str) str[source]
archivebox.plugins.views.get_machine_admin_url() str | None[source]
archivebox.plugins.views.render_code_tag_list(values: list[str]) str[source]
archivebox.plugins.views.render_plugin_metadata_html(config: dict[str, Any]) str[source]
archivebox.plugins.views.render_config_properties_html(properties: dict[str, Any], machine_admin_url: str | None) str[source]
archivebox.plugins.views.get_filesystem_plugins() dict[str, dict[str, Any]][source]

Discover plugins from filesystem directories.

archivebox.plugins.views.find_plugin_for_config_key(key: str) str | None[source]
archivebox.plugins.views.plugins_list_view(request: django.http.HttpRequest, **kwargs) admin_data_views.typing.TableContext[source]
archivebox.plugins.views.plugin_detail_view(request: django.http.HttpRequest, key: str, **kwargs) admin_data_views.typing.ItemContext[source]