Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Create a vanity import path at "nmstate.io/nmpolicy" #53

@qinqon

Description

@qinqon

Following the path like other projects like kubevirt or k8s are consumed by other projects, maybe nmpolicy that is going to be consumed by kubernetes-nmstate and other projects need a vanity import like nmstate.io/nmpolicy that points to github.com/nmstate/nmpolicy, so the project is not stick to github.

One possible implementation is modify the "nmstate.io" page header and add the following meta:

<meta name="go-import" content="nmstate.io/nmpolicy git https://github.com/nmstate/nmpolicy">

This is how it's done at kubevirt: https://github.com/kubevirt/kubevirt.github.io/blob/main/_includes/head.html#L6-L18

Another alternative is to use a subdomain like go.nmstate.io similart to go.uber.org or go.opencensus.io so we don't have to modify the main webpage at nmstate.io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions