[Docs] Link docs to code: View-source buttons, snippet imports by path, edit-page links
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, github
Línea de trabajo
Start with docs/astro.config.mjs and the project pages under docs/src/content/docs/**/*.mdx; check how Starlight configures edit links and how the build can read repository files. Then determine how snippets can link to the built commit and fail on missing paths or ranges. Done means snippets appear on at least three pages, every project page has a working source link, and the build rejects a missing snippet path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Code shown in the docs is pasted by hand and can drift from the repo; 17 project pages have no source link; there is no 'edit this page' link.
Location
docs/src/content/docs/**/*.mdxdocs/astro.config.mjs
Evidence
Starlight editLink not configured; lastUpdated off. 17/35 project pages have no github.com/ibra-kdbra/Math-Problems/tree/... link (see page-template issue).
Expected
Every code block that shows repository code is imported from the file at build time and links to the exact lines on GitHub at the built commit.
Proposed fix
<SourceLink path line?>and<ProjectFacts>(from manifest) render 'View source' buttons.<Snippet file="Math_Chaos/Lorenz-Attractor/solver.cpp" lines="10-42" />: reads the file at build time (Vite?rawor fs), renders via Expressive Code with a caption linking toblob/<sha>/path#L10-L42; build fails if the file or range disappears.- Edit-this-page and last-updated (git) in the layout footer.
Acceptance criteria
-
<Snippet>used on at least 3 pages - Build fails on a missing snippet path
- Every project page shows a working View-source link
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-030
Generated by Claude Code
- Lenguaje dominante
- C++
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ibra-kdbra/Math-Problems#367 ·
Todos los issues de ibra-kdbra/Math-Problems
Issues similares
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100