[Docs] Embed the browser-based projects as live demos on their pages

Aperta
#390 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html

Direzione di ricerca

Start by checking the five listed project paths and the docs pages under docs/src; the issue reports standalone HTML pages but no existing embeds. Then inspect how the Astro docs build handles integrations and project metadata, especially project.yaml and web_entry. Done means at least Fractal-gh, PPS, and Chaos Dotter load on their docs pages only after a click, with a license check excluding code that cannot be redistributed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: docs-site priority: P3 size: M type: enhancement

Summary

Five projects already run in a browser (Fractal-gh, GenePool, Primordial Particle System, Chaos Dotter, Lenia JS) but the docs only describe them; readers must clone the repo to try them.

Location

  • Mandlebrot/Fractal-gh/index.html
  • Math_Chaos/GenePool/GenePool/index.html
  • Math_Chaos/Primordial-Particle-System/
  • Math_Chaos/Chaos_Dotter/
  • Math_Chaos/Lenia/JavaScript/Lenia.html

Evidence

git ls-files '*.html' lists standalone pages for these projects; their docs pages contain no iframe/embed (grep iframe|<Demo in docs/src -> 0).

Expected

A <LiveDemo project="fractal-gh"> component that lazy-loads the project in a sandboxed iframe with a poster, fullscreen button and 'open in new tab'.

Proposed fix

Publish each web project as a static sub-path of the docs build (copy via an Astro integration driven by project.yaml web_entry), embed with <iframe sandbox="allow-scripts" loading="lazy"> behind a click-to-run poster. Respect licenses (GenePool is all-rights-reserved: exclude until resolved). Later: WASM builds of C++ projects (Emscripten) via the same component.

Acceptance criteria

  • At least Fractal-gh, PPS and Chaos Dotter run on their docs pages
  • Demos do not load until requested (no impact on LCP)
  • License check prevents publishing non-redistributable code

Repository audit, November 2026 · Phase 9 · New features · evidence: reproduced · ref platform-029


Generated by Claude Code

Lingua principale
C++
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ibra-kdbra/Math-Problems

Tutte le issue di ibra-kdbra/Math-Problems

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.