You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by xi...@apache.org on 2025/10/27 21:40:48 UTC
(tinkerpop) branch 3.8-dev updated: CTR doc fixes for doc generation
This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch 3.8-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.8-dev by this push:
new 2bfd1d7c5d CTR doc fixes for doc generation
2bfd1d7c5d is described below
commit 2bfd1d7c5de3a1d0ccc7cf07ab8e806e77cbc055
Author: xiazcy <xi...@gmail.com>
AuthorDate: Mon Oct 27 14:40:39 2025 -0700
CTR doc fixes for doc generation
---
docs/src/reference/gremlin-variants.asciidoc | 6 ++----
docs/src/reference/the-traversal.asciidoc | 7 +++++--
docs/src/upgrade/index.asciidoc | 2 ++
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc
index 90840f7672..bef6dcafa2 100644
--- a/docs/src/reference/gremlin-variants.asciidoc
+++ b/docs/src/reference/gremlin-variants.asciidoc
@@ -1399,10 +1399,8 @@ restricted by the grammar or serialization.
[gremlin-groovy,modern]
----
// Using java.awt.Color for example
-gremlin> g.inject(java.awt.Color.red)
-==>java.awt.Color[r=255,g=0,b=0]
-gremlin> g.inject(java.awt.Color.red, "hi", 123).is(P.typeOf(java.awt.Color))
-==>java.awt.Color[r=255,g=0,b=0]
+g.inject(java.awt.Color.red)
+g.inject(java.awt.Color.red, "hi", 123).is(P.typeOf(java.awt.Color))
----
[[gremlin-javascript]]
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index 47f4902a26..607fd26763 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -4071,8 +4071,11 @@ g.V().until(has('name','ripple')).
<1> do-while semantics stating to do `out()` 2 times.
<2> while-do semantics stating to break if the traverser is at a vertex named "ripple".
-[gremlin-groovy,grateful-dead]
+[gremlin-groovy]
----
+graph = TinkerGraph.open()
+g = traversal().with(graph)
+g.io('data/grateful-dead.xml').read().iterate()
g.V().has('name','JAM').repeat(out('followedBy').limit(2)).times(3) <1>
g.V().has('name','DRUMS').repeat(__.in('followedBy').range(1,3)).until(loops().is(2)) <2>
g.V().has('name','HEY BO DIDDLEY').repeat(out('followedBy').skip(5)).times(2) <3>
@@ -5609,7 +5612,7 @@ By default, `GType` enumerations are registered using their simple class names a
[gremlin-groovy,modern]
----
-gremlin> g.V().values('age','name').is(P.typeOf('Integer'))
+g.V().values('age','name').is(P.typeOf('Integer'))
----
[[a-note-on-maps]]
diff --git a/docs/src/upgrade/index.asciidoc b/docs/src/upgrade/index.asciidoc
index 419ee28039..b70afe57fb 100644
--- a/docs/src/upgrade/index.asciidoc
+++ b/docs/src/upgrade/index.asciidoc
@@ -28,6 +28,8 @@ outlines new features, how to resolve breaking changes and other information spe
equally useful to TinkerPop providers, who build libraries and other systems on the core APIs and protocols that
TinkerPop exposes.
+include::release-3.8.x.asciidoc[]
+
include::release-3.7.x.asciidoc[]
include::release-3.6.x.asciidoc[]