[ 
https://issues.apache.org/jira/browse/TINKERPOP-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301269#comment-16301269
 ] 

ASF GitHub Bot commented on TINKERPOP-1447:
-------------------------------------------

Github user jorgebay commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/766#discussion_r158473167
  
    --- Diff: docs/preprocessor/preprocess-file.sh ---
    @@ -139,7 +140,7 @@ if [ ! ${SKIP} ] && [ $(grep -c '^\[gremlin' ${input}) 
-gt 0 ]; then
       ${lb} awk -f ${AWK_SCRIPTS}/language-variants.awk > ${output}
     
       ps=(${PIPESTATUS[@]})
    -  for i in {0..6}; do
    +  for i in {0..7}; do
    --- End diff --
    
    I'm not able to follow why this is a loop from 0 to 7... can we include a 
comment or move `7` to a constant with a name?


> Add some JavaScript intelligence to the documentation so that comments and 
> output are not copied in a copy paste
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1447
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1447
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.1.4, 3.2.2
>            Reporter: Marko A. Rodriguez
>
> [~rjbriody] was saying that it is possible to have it such that when you 
> copy/paste the following:
> {code}
> gremlin> g.V().out("created") // and example <1>
> ==>blah
> {code}
> only {{g.V().out("created")}} is put into the clipboard. I believe he said it 
> was via some JavaScript magic --- beyond me, but it would be cool if we did 
> this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to