[Bug]: Same-document Markdown links break after splitting sections
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start from the production Markdown parser’s section-splitting and link-rewrite path, then inspect the tests for split content and rewritten links. Reproduce with split_content=True, enable_link_rewrite=True, and the reported Setup and Details sections. Done means a unique heading in another emitted file links to that file with its fragment, while same-file and unknown-target fragments keep their spelling.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue Origin
Reproduced locally through the production Markdown parser using a real Markdown file and a local parse output store.
Bug Description
When an imported Markdown document is split across section files, a link such as [Details](#details) still points to the file containing the link, even if the target heading now lives in a different output file.
Steps to Reproduce
- Create a Markdown file with a
## Setupsection containing[Details](#details)and a subsequent## Detailssection. Make the sections long enough that the parser writes separate files. - Parse the file with
split_content=True,enable_link_rewrite=True, and its parent directory aslink_rewrite_root. - Open the emitted Setup file. It still contains
[Details](#details). In the reproduction, the Details heading is in the siblingDetails/Details_1.md.
Expected Behavior
A fragment pointing to a unique heading in another emitted file should refer to that file and retain the fragment. Same-file fragments and unknown targets should retain their original spelling.
Actual Behavior
The fragment-only link is preserved when it needs a path. The intended heading cannot be reached from the Setup file.
Environment
main at 5043e1f3169a29a7abccdc1a7aa8647c79c15428, Python 3.12.16, macOS arm64. The test used local parse artifacts and no model provider. AI investigation, with no human review of the reproduction.
- Lingua principale
- Python
- Stelle
- 41.8k
- Fork
- 3.4k
- Merge medio
- 19h 29m
- PR unite (30g)
- 500
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di volcengine/OpenViking
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
volcengine/OpenViking#7485 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
volcengine/OpenViking#7210 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
volcengine/OpenViking#7205 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Retrieval rerank fallback statistics stay zero after provider failureForse già presa @97Three l’ha presa 8 giorni fa. Apertabug kernel
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
volcengine/OpenViking#7014 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: memory.prefetch_search_topn is inert above 5 (call site omits limit), plus two docstrings state the wrong defaultsForse già presa @peterzhang987723 l’ha presa 8 giorni fa. Apertakernel
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
volcengine/OpenViking#6923 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di volcengine/OpenViking
Issue simili
-
fuzz fuzz-unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Switch to ruffAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Qiskit/qiskit-aer#2533 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
etesync/etesync-dav#376 ·