Skip to content

Fix assets redirect #243

@Divide-By-0

Description

@Divide-By-0

Pull Request

#242

What happened?

I make assets/erc-#/. Then I hyperlink to text in my docs. It errors with HTML Proofer since file doesn't exist.

In this commit, we fix it by changing erc-# to eip-#, even though that folder doesn't exist.

On compilation, I think assets/erc-# should automatically ln/symlink to assets/eip-# so that behavior is always intuitive.

Relevant log output

  • At ./_site/EIPS/eip-7524.html:252:
    internally linking to ../assets/erc-7524/sec2-v2.pdf, which does not exist

  • At ./_site/EIPS/eip-7524.html:281:
    internally linking to ../assets/erc-7524/sec1-v2.pdf, which does not exist

I get this issue from HTMLProofer when hyperlinking intuitively for the way it compiles in VSCode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingw-stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions