You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/21 17:49:00 UTC
[jira] [Commented] (SOLR-16610) Support Copy n Paste of Command Line commands in Ref Guide
[ https://issues.apache.org/jira/browse/SOLR-16610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703316#comment-17703316 ]
ASF subversion and git services commented on SOLR-16610:
--------------------------------------------------------
Commit 3e445a6fe76560a61bd08f5dbda749664e475192 in solr's branch refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3e445a6fe76 ]
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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org