diff --git a/doc/doc-html/index.html b/doc/doc-html/index.html index ee4d7a9..4fd8e64 100644 --- a/doc/doc-html/index.html +++ b/doc/doc-html/index.html @@ -126,9 +126,30 @@
A basic object with string and integer properties - no class specifications or schema:
{(user)
+ {
+ name = "Alice Smith",
+ title = "Software Engineer",
+ department = "Engineering",
+ location = "San Francisco",
+ yearsExperience = 5
+}
+ Advanced features including class specification, type annotations, arrays, enums, multi-line strings, and schema validation:
+@ {
+ title = "User Profile",
+ version = "1.0",
+ author = "DevPossible"
+}
+
+{(user)
id = 12345,
name = "John Doe",
email = "john@example.com",
diff --git a/doc/doc-html/js/site.js b/doc/doc-html/js/site.js
index 987b920..122d51d 100644
--- a/doc/doc-html/js/site.js
+++ b/doc/doc-html/js/site.js
@@ -20,6 +20,9 @@ document.addEventListener('DOMContentLoaded', function() {
// Smooth scroll for anchor links
initializeSmoothScroll();
+
+ // Hide tonspec.com alert if already on tonspec.com
+ hideTonspecAlertIfOnTonspec();
});
// Add copy buttons to all code blocks
@@ -267,6 +270,21 @@ function initializeMobileSidebar() {
});
}
+// Hide the tonspec.com alert panel if we're already on tonspec.com
+function hideTonspecAlertIfOnTonspec() {
+ // Check if the current hostname is tonspec.com
+ if (window.location.hostname === 'tonspec.com' || window.location.hostname === 'www.tonspec.com') {
+ // Find all alert divs and check if they contain the tonspec.com link
+ const alerts = document.querySelectorAll('.alert.alert-info');
+ alerts.forEach(alert => {
+ const tonspecLink = alert.querySelector('a[href="https://tonspec.com"]');
+ if (tonspecLink) {
+ alert.style.display = 'none';
+ }
+ });
+ }
+}
+
// Smooth scroll for anchor links
function initializeSmoothScroll() {
const anchorLinks = document.querySelectorAll('a[href^="#"]');
@@ -355,4 +373,4 @@ if (typeof Prism !== 'undefined') {
}
}
};
-}
\ No newline at end of file
+}
diff --git a/src/CSharp/DevPossible.Ton/DevPossible.Ton.csproj b/src/CSharp/DevPossible.Ton/DevPossible.Ton.csproj
index ff6c0e5..d1f38b0 100644
--- a/src/CSharp/DevPossible.Ton/DevPossible.Ton.csproj
+++ b/src/CSharp/DevPossible.Ton/DevPossible.Ton.csproj
@@ -5,7 +5,7 @@
enable
true
DevPossible.Ton
- 0.1.7
+ 0.1.8
DevPossible, LLC
DevPossible, LLC
DevPossible.Ton
@@ -27,7 +27,7 @@
Copyright © 2024 DevPossible, LLC
1.0.0.0
1.0.0.0
- 0.1.7
+ 0.1.8
DevPossible, LLC
@@ -41,3 +41,4 @@
+
diff --git a/src/CSharp/DevPossible.Ton/README.md b/src/CSharp/DevPossible.Ton/README.md
index 7c6f9cb..844ca0f 100644
--- a/src/CSharp/DevPossible.Ton/README.md
+++ b/src/CSharp/DevPossible.Ton/README.md
@@ -22,7 +22,7 @@ Install-Package DevPossible.Ton
### Via PackageReference
```xml
-
+
```
## Quick Start
@@ -236,3 +236,4 @@ TON Specification: [tonspec.com](https://tonspec.com)
**© 2024 DevPossible, LLC. All rights reserved.**
+
diff --git a/src/JavaScript/devpossible-ton/package.json b/src/JavaScript/devpossible-ton/package.json
index 20de345..56786fe 100644
--- a/src/JavaScript/devpossible-ton/package.json
+++ b/src/JavaScript/devpossible-ton/package.json
@@ -1,6 +1,6 @@
{
"name": "@devpossible/ton",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "JavaScript library for parsing, validating, and serializing TON (Text Object Notation) files. Full specification at https://tonspec.com. ALPHA RELEASE: Core functionality is complete but API may change before stable 1.0 release.",
"type": "module",
"main": "dist/index.js",
diff --git a/src/Python/devpossible_ton/setup.py b/src/Python/devpossible_ton/setup.py
index 790df3d..05f156e 100644
--- a/src/Python/devpossible_ton/setup.py
+++ b/src/Python/devpossible_ton/setup.py
@@ -10,7 +10,7 @@
setup(
name="devpossible-ton",
- version="0.1.7",
+ version="0.1.8",
author="DevPossible, LLC",
author_email="support@devpossible.com",
description="Python library for parsing, validating, and serializing TON (Text Object Notation) files. Full specification at https://tonspec.com. ALPHA RELEASE: Core functionality is complete but API may change before stable 1.0 release.",
@@ -67,3 +67,4 @@
+
diff --git a/version.json b/version.json
index 351b3f2..561c194 100644
--- a/version.json
+++ b/version.json
@@ -1,5 +1,5 @@
{
- "library_version": "0.1.7",
+ "library_version": "0.1.8",
"ton_spec_version": "1.0",
"description": "Centralized version file for all DevPossible.Ton packages. library_version is for the package, ton_spec_version is for the TON file format specification."
}