Skip to content

viewOn link generation is broken #1210

Closed

Description

@godexsoft

Version: 1.69

meta.json:

{
  "title": "Functional",
  "type": "Library",
  "viewOn": {
    "link": "https://github.com/libfn/functional/docs",
    "title": "View On GitHub"
  }
}

This generates good URLs on pages from toc but not on the landing/index page (index.md).
This is what i get generated on the landing page of the doc: https://github.com/libfn/functional/docs//index.
And this is what other pages generate: https://github.com/libfn/functional/docs/reference-manual/[PAGENAME].md

My toc got reference-manual at its root followed by each [PAGENAME].
It's also worth noting that i generate the docs passing --doc-id '""'. This may be related to the issue as support for it was recently added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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