# Autodoc: fix guide path resolution · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5395c2786a2ea9fd70e8c91aab099976216089aa)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5395c2786a2ea9fd70e8c91aab099976216089aa

Requested commit: 5395c2786a2ea9fd70e8c91aab099976216089aa

Commit: 5395c2786a2ea9fd70e8c91aab099976216089aa

Tree: 70e0c3070ac732d56f44fe0f8f58ba2032c2d60f

Author: Ian Johnson

Committer: Loris Cro

## Message

```
Autodoc: fix guide path resolution

The previous logic was using `root_src_directory` both in constructing
the resolved path and as the root when opening the resolved path, which
effectively duplicates those path components in the final path.

```

## Parents

- [000aa30086eb4b470d2b567ce377f0e4a9d9a516](https://git.cafe/gitcafe/zig/commit/000aa30086eb4b470d2b567ce377f0e4a9d9a516?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5395c2786a2ea9fd70e8c91aab099976216089aa?format=markdown)
