Skip to content

cli.github.com help topic page not rendering properly  #4322

Description

@samcoe

The help topic rendering on cli.github.com is broken and results in incomplete rendering as seen here. It appears the formatting page is the only one that is actually broken.

cc #3488 (comment)

Activity

  1. changed the title [-]CLI formatting doc not rendering properly [/-] [+]cli.github.com help topic page not rendering properly [/+] on Sep 13, 2021
  2. added
    priority-3Affects a small number of users or is largely cosmetic
    on Sep 13, 2021
  3. issyl0 commented on Oct 21, 2021

    @issyl0
    Contributor

    It looks like gh help formatting is defined in https://github.com/cli/cli/blob/trunk/pkg/cmd/root/help_topic.go#L81-L123. Comparing this to https://github.com/cli/cli/blob/trunk/pkg/cmd/release/download/download.go#L38-L56, which does render correctly, it's a very different way of writing it - split into "Examples", "Long" Cobra command heredocs vs. one single string. 🤔

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

    bugSomething isn't workinghelp wantedContributions welcomepriority-3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions