# Fix generated docs of user code · gitcafe/zig

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

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

Visibility: public

Requested revision: 121307679bd1ffeaa8a290a826396662f26a4ac1

Requested commit: 121307679bd1ffeaa8a290a826396662f26a4ac1

Commit: 121307679bd1ffeaa8a290a826396662f26a4ac1

Tree: 8968a56f8ac77a0e90e5bb154c9b89c1ef92fb57

Author: Timon Kruiper

Committer: Andrew Kelley

## Message

```
Fix generated docs of user code

fff3c1fff4c3ebfcb2bd4f08a43ae7815b5c446b broke the docs generation for
own user code. This adds a workaround, because all the code in docs/main.js
is relying on the fact that the root package of the main package is the
root package itself.

```

## Parents

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

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