Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16610

Support Copy n Paste of Command Line commands in Ref Guide

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • main (10.0)
    • None
    • documentation
    • None

    Description

      From a discussion started in SOLR-16602, the suggestion is to remove $ from the command line examples in the docs to make the cut'n'paste option in the Ref Guide work for those commands.

      In doing more investigation, it turns out that in Antora, there is a formatting option where commands get some extra visual indications, and that the copy icon works the way you would expect. It will even handle not copying the output of a command, just the command itself!

      I am attaching two screenshots of the before and after, and the formatting changes.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            epugh Eric Pugh

            Dates

              Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 2.5h
              2.5h

              Slack

                Issue deployment