Skip to content
Commit 88320c50 authored by Herivelton Pires's avatar Herivelton Pires
Browse files

refactor(docs): extrai shell compartilhado @ufpe/docs-shell



Centraliza createApp (sidebar, routing, drawer mobile), o hyperscript h(),
signals e os componentes de docs (CodeBlock, PageHeader, PenpotEmbed,
TokenTable) num pacote unico parametrizado por brand.

Os 3 apps (ufpe/sti/ru) viram thin wrappers: main.js so passa o brand
config { logo, title, subtitle, publicRoots }. Componentes locais viram
re-export shims, mantendo os imports relativos das paginas (zero churn).
publicRoots do h() agora e configuravel por brand.

-622/+101 linhas nos apps. Builds dos 3 OK; render do ufpe verificado
sem erros de console.

Co-Authored-By: default avatarClaude Opus 4.8 <noreply@anthropic.com>
parent 8d7d0994
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment