Просмотр исходного кода

docs : fix links in parsing.md (#18245)

This commit corrects the links in the parsing.md which currently result
in 404 errors.
Daniel Bevenius 1 месяц назад
Родитель
Сommit
65e96a2464
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      docs/development/parsing.md

+ 2 - 2
docs/development/parsing.md

@@ -55,7 +55,7 @@ auto parser = build_chat_peg_native_parser([&](common_chat_peg_native_builder &
 ```
 ```
 
 
 For a more complete example, see `test_example_native()` in
 For a more complete example, see `test_example_native()` in
-[tests/test-chat-peg-parser.cpp](tests/test-chat-peg-parser.cpp).
+[tests/test-chat-peg-parser.cpp](/tests/test-chat-peg-parser.cpp).
 
 
 ## Parsers/Combinators
 ## Parsers/Combinators
 
 
@@ -175,7 +175,7 @@ Most model output can be placed in one of the following categories:
   (Qwen3-Coder, MiniMax M2) or pseudo-function calls (LFM2)
   (Qwen3-Coder, MiniMax M2) or pseudo-function calls (LFM2)
 
 
 To provide broad coverage,
 To provide broad coverage,
-[`common/chat-peg-parser.h`](common/chat-peg-parser.h) contains builders and
+[`common/chat-peg-parser.h`](/common/chat-peg-parser.h) contains builders and
 mappers that help create parsers and visitors/extractors for these types. They
 mappers that help create parsers and visitors/extractors for these types. They
 require parsers to tag nodes to conform to an AST "shape". This normalization
 require parsers to tag nodes to conform to an AST "shape". This normalization
 makes it easy to extract information and generalize parsing.
 makes it easy to extract information and generalize parsing.