Skip to content

unexpected page metadata path #2218

@Yuan325

Description

@Yuan325

Environment

  • Version of Docsy you are using: 0.11.0
  • How are you using Docsy? As a:
    • Hugo module
    • NPM module
    • Git submodule
    • Other: Github action with hugo
  • Version of Hugo you are using (output of hugo version): 0.145.0
  • OS:
    • Linux
    • macOS
    • Windows
    • Other:

Problem

Our site (https://googleapis.github.io/genai-toolbox/getting-started/introduction/) page metadata (View Page Source/ Edit Page Source etc.) path is not working.

When click on page source, it directs us to <github_repo_link>/home/runner/work/<path>. I'm not sure where does the /home/runner/work path comes from.

When running hugo serve locally, it will navigate to <github_repo_link>/tree/main/Users/<myusername>/github/genai-toolbox/<path>. It seems like it's including user information into the page metadata path.

I tried to look around our hugo configuration file but was unable to fix this. Here's our hugo config file: https://github.com/googleapis/genai-toolbox/blob/main/.hugo/hugo.toml

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions