Skip to content

Forge doc is using full path instead of relative path #12361

@smol-ninja

Description

@smol-ninja

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.4.3-stable

What version of Foundryup are you on?

1.3.0

What command(s) is the bug in?

forge doc

Operating System

macOS (Apple Silicon)

Describe the bug

Problem

forge doc produces the following content:

[ISablierFlowState](/Users/shubham/Sablier/flow/docs/src/src/interfaces/ISablierFlowState.sol/interface.ISablierFlowState.md)

Whereas, with 1.3.6, it produces the following content:

**Inherits:**
[ISablierFlowState](/src/interfaces/ISablierFlowState.sol/interface.ISablierFlowState.md)

The latest version use full path for hyperlinks.

Expected Behaviour

It should not use full path for hyperlinks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions