This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit ef1511c0082e64fbc299219243b13ac50053593b Author: chaokunyang <[email protected]> AuthorDate: Tue Feb 3 22:57:33 2026 +0000 🔄 synced local 'docs/guide/' with remote 'docs/guide/' --- docs/guide/java/cross-language.md | 2 +- docs/guide/rust/cross-language.md | 2 +- docs/guide/xlang/field-reference-tracking.md | 4 ++-- docs/guide/xlang/getting-started.md | 2 +- docs/guide/xlang/serialization.md | 2 +- docs/guide/xlang/troubleshooting.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/guide/java/cross-language.md b/docs/guide/java/cross-language.md index c25115b918..e38160f095 100644 --- a/docs/guide/java/cross-language.md +++ b/docs/guide/java/cross-language.md @@ -112,7 +112,7 @@ class Person: age: pyfory.int32 # Create Fory in xlang mode -fory = pyfory.Fory(ref_tracking=True) +fory = pyfory.Fory(ref=True) # Register with the SAME name as Java fory.register_type(Person, typename="example.Person") diff --git a/docs/guide/rust/cross-language.md b/docs/guide/rust/cross-language.md index 1aecd7b95d..4245a56c80 100644 --- a/docs/guide/rust/cross-language.md +++ b/docs/guide/rust/cross-language.md @@ -121,7 +121,7 @@ class Person: name: str age: pyfory.int32 -fory = pyfory.Fory(ref_tracking=True) +fory = pyfory.Fory(ref=True) fory.register_type(Person, type_id=100) # Same ID as Rust person = fory.deserialize(bytes_from_rust) diff --git a/docs/guide/xlang/field-reference-tracking.md b/docs/guide/xlang/field-reference-tracking.md index 729f244000..e00d45abd1 100644 --- a/docs/guide/xlang/field-reference-tracking.md +++ b/docs/guide/xlang/field-reference-tracking.md @@ -43,7 +43,7 @@ Fory fory = Fory.builder() ### Python ```python -fory = pyfory.Fory(xlang=True, ref_tracking=True) +fory = pyfory.Fory(xlang=True, ref=True) ``` ### Go @@ -56,7 +56,7 @@ fory := forygo.NewFory(true) // true enables ref tracking ```cpp auto fory = fory::Fory::create(fory::Config{ - .ref_tracking = true + .track_ref = true }); ``` diff --git a/docs/guide/xlang/getting-started.md b/docs/guide/xlang/getting-started.md index 4158eeef6d..f8bf4a744b 100644 --- a/docs/guide/xlang/getting-started.md +++ b/docs/guide/xlang/getting-started.md @@ -95,7 +95,7 @@ import pyfory fory = pyfory.Fory() # Explicit configuration -fory = pyfory.Fory(ref_tracking=True) +fory = pyfory.Fory(ref=True) ``` ### Go diff --git a/docs/guide/xlang/serialization.md b/docs/guide/xlang/serialization.md index 8e8439826e..791f3c363f 100644 --- a/docs/guide/xlang/serialization.md +++ b/docs/guide/xlang/serialization.md @@ -458,7 +458,7 @@ class SomeClass: f2: Dict[str, str] f3: Dict[str, str] -fory = pyfory.Fory(ref_tracking=True) +fory = pyfory.Fory(ref=True) fory.register_type(SomeClass, typename="example.SomeClass") obj = SomeClass() obj.f2 = {"k1": "v1", "k2": "v2"} diff --git a/docs/guide/xlang/troubleshooting.md b/docs/guide/xlang/troubleshooting.md index 26a4595127..5c0e59a167 100644 --- a/docs/guide/xlang/troubleshooting.md +++ b/docs/guide/xlang/troubleshooting.md @@ -187,7 +187,7 @@ Fory fory = Fory.builder() ```python # Python -fory = pyfory.Fory(ref_tracking=True) +fory = pyfory.Fory(ref=True) ``` ### Duplicate Objects --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
