[
https://issues.apache.org/jira/browse/TINKERPOP-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222315#comment-16222315
]
stephen mallette commented on TINKERPOP-1816:
---------------------------------------------
> it might be an option to generate different version of the docs for the
> different languages where all code examples are written in that specific
> language
That would be incredible - no idea how we would do that exactly though given
what I know of the mechanics of our documentation generation system. as long as
your thinking big, that might require an equally big change which would be to
split away documentation related to Gremlin the language away from "everything
else", like Gremlin Server setup, traversal strategies, IO, etc.
> Consider improvements to the .NET documentation
> -----------------------------------------------
>
> Key: TINKERPOP-1816
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1816
> Project: TinkerPop
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 3.2.6
> Reporter: Bill Woo
> Priority: Minor
>
> Without at least one complete code sample, you are wasting potential users;
> time.
> How do you run a query/traversal ?
> By "stumbling around in the dark" I was able to get this far:
> private Graph graph = new Graph();
> private GraphTraversalSource g;
> // in method body
> g = graph.Traversal().WithRemote(new DriverRemoteConnection(new
> GremlinClient(new GremlinServer("localhost", 8182))));
>
> Vertex v1 = new Vertex("Bill");
> g.AddV(v1);
> Vertex v2 = new Vertex("Julie");
> g.AddV(v2);
> Edge e1 = new Edge("e1", v1, "Knows", v2);
> g.AddE(e1);
> VertexProperty p1 = new VertexProperty("p1","BillProp",
> "TestProp", v1);
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)