Skip to content

Documentation button on index.html (and version buttons in docs) always link to ziglang.org, even when self-hosted #513

@dragsbruh

Description

@dragsbruh

I want to self-host the Zig documentation for easier offline/local access. While testing the setup, I noticed that the Documentation button on index.html always links to https://ziglang.org/documentation/<latest>, regardless of where it's hosted.

The same applies to the version buttons on /documentation/<version>, which also link back to ziglang.org.

Would it make sense for these links to be relative, so they work properly in local/self-hosted setups (e.g. localhost:8080)?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions