Split the Plug Development page into a quick-start with more subtopics: Architecture (loading, sandboxing, execution), Reference (manifests, hooks, syscalls), and Distribution and Testing. Swap the Excalidraw architecture embed for a Mermaid diagram, and update the website Dockerfile to ship the Mermaid plug instead of Excalidraw.
13 lines
311 B
Docker
13 lines
311 B
Docker
ARG BASE_IMAGE=zefhemel/silverbullet:v2
|
|
FROM ${BASE_IMAGE}
|
|
|
|
# Set some environment variables
|
|
ENV SB_INDEX_PAGE=SilverBullet
|
|
ENV SB_READ_ONLY=1
|
|
|
|
# Add the website content
|
|
ADD website /space
|
|
|
|
# Add silversearch plug
|
|
ADD https://github.com/MrMugame/silversearch/releases/download/edge/silversearch.plug.js /space/
|