> For the complete documentation index, see [llms.txt](https://elacity.gitbook.io/elacity-sdks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacity.gitbook.io/elacity-sdks/protocol/v3.0/manual.md).

# Smart Contracts Manual Documentation

This folder contains hand-written documentation that complements generated contract references.

These pages are designed to be injected into the wiki build output by `utils/build-contract-docs.sh`.

## Pages

* [History Digest](https://elacity.gitbook.io/elacity-sdks/protocol/v3.0/manual/history-digest.md)
* [Legacy to V3 ABI Migration Guide](https://elacity.gitbook.io/elacity-sdks/protocol/v3.0/manual/legacy-to-v3-abi-migration.md)
* [Current Architecture and Interactions](https://elacity.gitbook.io/elacity-sdks/protocol/v3.0/manual/current-architecture.md)

## Build Integration

Run:

```sh
./utils/build-contract-docs.sh
```

This will:

1. generate fresh `forge doc` output in a temporary directory,
2. sync generated references to `.github/wiki/contracts/references`,
3. sync these manual pages to `.github/wiki/contracts/manual`.
