Commit d346c9c
committed
fix(docs): resolve relative links by adding explicit
Mkdocs treats bare directory URLs (`tests/`, `specs/reference/`) as
potential external references and emits INFO-level "unrecognized
relative link" messages, leaving the link text as-is. Suffixing with
`.md` or `index.md` lets mkdocs resolve the link cleanly and emit the
correct URL; the sibling cards in the home page already use this form.
Fixes:
- `tests/` -> `tests/index.md` in the home page card.
- `specs/reference/` -> `specs/reference/index.md` in the home page
card and the literate nav entry (now resolves against the stub page
added alongside the path rename).
- `../tests/prague/.../test_invalid/` -> `.../test_invalid.md` in
`writing_tests/post_mortems.md`..md suffix1 parent 5613749 commit d346c9c
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments