You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/22 00:26:00 UTC

[jira] [Commented] (TINKERPOP-1447) Add some JavaScript intelligence to the documentation so that comments and output are not copied in a copy paste

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

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

GitHub user dkuppitz opened a pull request:

    https://github.com/apache/tinkerpop/pull/766

    TINKERPOP-1447 Add some JavaScript intelligence to the documentation so that comments and output are not copied in a copy paste

    https://issues.apache.org/jira/browse/TINKERPOP-1447
    
    Added automatic tab generation for all evaluated code block in all docs. A random screenshot from the generated reference docs (for those who are too lazy to build the docs):
    
    ![image](https://user-images.githubusercontent.com/572377/34280251-cc8c138c-e673-11e7-9bc8-9a1b23c7a714.png)
    
    VOTE: +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1447

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/766.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #766
    
----
commit 24dc1b7c13f1dd78dc30acbfe44e7ce0737261e8
Author: Daniel Kuppitz <da...@...>
Date:   2017-12-15T21:30:59Z

    Added automatic tab generation for code snippets in asciidoc files.

commit c4d71187da5945767e834d594e62c2c01b73e9c4
Author: Daniel Kuppitz <da...@...>
Date:   2017-12-15T21:30:59Z

    Added automatic tab generation for code snippets in asciidoc files.

commit 07cb6a3a93d7c1bc5f052893e038aae509c4832d
Author: Daniel Kuppitz <da...@...>
Date:   2017-12-21T15:16:08Z

    Merge branch 'TINKERPOP-1447' of https://git-wip-us.apache.org/repos/asf/tinkerpop into TINKERPOP-1447

----


> 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)