[
https://issues.apache.org/jira/browse/SOLR-16610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703317#comment-17703317
]
ASF subversion and git services commented on SOLR-16610:
--------------------------------------------------------
Commit 6a6c8291f12a1bfed853beec837d328229cfae55 in solr's branch
refs/heads/branch_9x from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=6a6c8291f12 ]
SOLR-16610: Support Copy n Paste of Command Line commands in Ref Guide (#1273)
* Use the built in formatting in Antora to make commands cut'n'pasteable.
> Support Copy n Paste of Command Line commands in Ref Guide
> ----------------------------------------------------------
>
> Key: SOLR-16610
> URL: https://issues.apache.org/jira/browse/SOLR-16610
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Affects Versions: main (10.0)
> Reporter: Eric Pugh
> Priority: Minor
> Attachments: formatting differences.png, visual difference.png
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]