Skip to content

Structure ​

Class ​

Plugin surfacedefaults appliedconfiguresconfiguresPeleMarkdownOptions+number maxWidth+string[] languages+onError throw|renderResolvedOptionspeleMarkdown+(md) : install fence ruleDefinePeleDiagramOptions+string tag+object zoomdefinePeleDiagram+register CE+enableZoomPublic exportsmaxWidth, languages, onError

Entity relationship ​

shipsresolvescontainsdocumentsPACKAGEstringnamePKstringversionstringlicenseEXPORTstringpathPKstringtypesstringimportENTRYSITEstringtitlePKstringbasePAGEstringroutePK, FKstringtitlebooleanhasDiagram

State ​

Docsvp packdeploySourcePackedPublishedDevServerBuilt

Nested parallel states ​

Workspacepack --watchrebuild donedocs#devstopLibIdleLibWatchDocsIdleDocsDev

C4 component ​

Component diagram for a VitePress docs site with PeleDocs app[CONTAINER]«container»Reader browser[HTML/CSS/JS]Loads the static docs site andoptional Pele zoom.«container»CI runner[GitHub Actions]Builds and deploys the docs oneach push.«container db»Static host[Object storage / CDN]Serves the built HTML, assets,and inline SVG.«external system»npm registryHosts the publishedvitepress-pele package.«component»VitePress[Static site generator]Parses markdown and buildspages.«component»vitepress-pele[markdown-it plugin]Turns mermaid fences into PeleSVG at build time.«component»Theme enhanceApp[Vue theme hook]Registers pele-diagram andenables zoom.«component»Pele[Diagram renderer]Layouts Mermaid into SVG.md.userenderimports client +CSSLoads[HTTPS]Fetches pages[HTTPS]vp run docs#buildUploads distworkspace / publishedpackage