Skip to content

docs: point Flags contract link at chainlink-evm - #23794

Open
imitater-dou wants to merge 2 commits into
smartcontractkit:developfrom
imitater-dou:docs/fix-flags-contract-link
Open

imitater-dou wants to merge 2 commits into
smartcontractkit:developfrom
imitater-dou:docs/fix-flags-contract-link

Conversation

@imitater-dou

Copy link
Copy Markdown

Summary

The EVM config docs link the Flags contract to a relative path that 404s in this repository. Contracts were moved out to smartcontractkit/chainlink-evm; update the link to the current Flags.sol location.

Repro (at tip 7559dd282b193718c34bbc2dcda6f5cb548a87c9 on develop)

Broken relative target in this repo (404):

curl -sI "https://raw.githubusercontent.com/smartcontractkit/chainlink/7559dd282b193718c34bbc2dcda6f5cb548a87c9/contracts/src/v0.8/Flags.sol" | head -1
# HTTP/2 404

Correct location in chainlink-evm (200):

curl -sI "https://raw.githubusercontent.com/smartcontractkit/chainlink-evm/develop/contracts/src/v0.8/l2ep/Flags.sol" | head -1
# HTTP/2 200

Source drift in core/config/docs/chains-evm.toml (~line 66):

  • Old: [Flags contract](../contracts/src/v0.8/Flags.sol)
  • New: [Flags contract](https://github.com/smartcontractkit/chainlink-evm/blob/develop/contracts/src/v0.8/l2ep/Flags.sol)

Why both files

docs/CONFIG.md is generated from docs/*.toml (header: generated from docs/*.toml - DO NOT EDIT) and still embeds the same broken relative link. Updating the source toml alone leaves published/generated docs broken until regenerate; this PR updates both so readers see the fix immediately.

Intentionally not touching core/services/chainlink/CONFIG.md (short stub without the Flags link).

Changes

  • core/config/docs/chains-evm.toml — fix Flags contract markdown link
  • docs/CONFIG.md — same link fix in the generated docs embed

The relative path ../contracts/src/v0.8/Flags.sol 404s in this repo because
contracts live in smartcontractkit/chainlink-evm. Point the docs link at the
current Flags.sol location.

Signed-off-by: ADou <ikun3.1415927@gmail.com>
docs/CONFIG.md is generated from docs/*.toml and still embeds the broken
relative Flags.sol link. Update it alongside the source toml so readers see
the fix immediately without regenerating.

Signed-off-by: ADou <ikun3.1415927@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant