Skip to content

Commit af1bedd

Browse files
committed
Update Docusaurus and website
1 parent e0bb0cd commit af1bedd

24 files changed

Lines changed: 1621 additions & 556 deletions

blog/2024-12-19-early-preview-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [release]
88
Welcome everyone! This blog post marks the launch of the _context-generic programming_ (CGP) project,
99
to introduce a new modular programming paradigm for Rust.
1010

11-
<!-- truncate -->
11+
{/* truncate */}
1212

1313
## A Quick Overview of Context-Generic Programming
1414

blog/2025-01-09-v0.3.0-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: [release]
77

88
I'm excited to announce the release of [v0.3.0](https://github.com/contextgeneric/cgp/releases/tag/v0.3.0) of the [`cgp`](https://docs.rs/cgp/0.3.0/cgp/) crate, along with several [new](https://patterns.contextgeneric.dev/error-handling.html) [chapters](https://patterns.contextgeneric.dev/field-accessors.html) of the [CGP Patterns](https://patterns.contextgeneric.dev/) book! This post highlights some of the key features and updates included in this release.
99

10-
<!-- truncate -->
10+
{/* truncate */}
1111

1212
## New Book Chapters
1313

blog/2025-05-09-v0.4.0-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It's been a while since the last update, but the wait is over! I'm thrilled to a
99

1010
This post highlights the major updates developed over the past few months.
1111

12-
<!-- truncate -->
12+
{/* truncate */}
1313

1414
## Game-Changing Improvement: Debugging is Finally Easy!
1515

blog/2025-06-14-hypershell-release/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: [release, deepdive]
77

88
I am thrilled to introduce [**Hypershell**](https://github.com/contextgeneric/hypershell), a modular, *type-level* domain-specific language (DSL) for writing shell-script-like programs in Rust. Hypershell is powered by [**context-generic programming**](/) (CGP), which makes it possible for users to *extend* or *modify* both the language syntax and semantics.
99

10-
<!-- truncate -->
10+
{/* truncate */}
1111

1212
## Discussion
1313

blog/2025-06-14-v0.4.1-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Here are some of the highlights:
1414
- **`#[cgp_component]` macro improvement**: Now supports automated derivation of `UseDelegate`.
1515
- **Improved Documentation**: Added inline Rust documentation for common CGP constructs.
1616

17-
<!-- truncate -->
17+
{/* truncate */}
1818

1919
Below we will go through some of the most significant changes in this release.
2020

blog/2025-07-07-extensible-datatypes-part-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ I’m excited to announce the release of [**CGP v0.4.2**](https://github.com/con
99

1010
Extensible records and variants allow developers to write code that operates on *any struct containing specific fields* or *any enum containing specific variants*, without needing their concrete definition. This makes it possible to write truly generic and flexible logic that is decoupled from rigid type definitions.
1111

12-
<!-- truncate -->
12+
{/* truncate */}
1313

1414
In earlier versions, CGP already offered a foundational feature through the `HasField` trait, which made it possible to *read* a field from any struct that included it. With version 0.4.2, this functionality is dramatically extended. Not only can you now read fields, but you can also *construct* values onto these fields in a type-safe manner. More importantly, the same level of extensibility is now available for enums, enabling operations over variants in a similarly generic fashion.
1515

blog/2025-07-09-extensible-datatypes-part-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is the **second** part of the blog series on **Programming Extensible Data
99

1010
In this second part of the series, we will explore the use of **extensible variants**, by examining how it can be used in an **extensible visitor pattern** to build a modular interpreter for a toy math expression language.
1111

12-
<!-- truncate -->
12+
{/* truncate */}
1313

1414
## Recap
1515

blog/2025-07-12-extensible-datatypes-part-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The next 2 parts of the series are aimed at readers who want to go deeper — th
1313

1414
We will first explore the implementation of extensible records in this part, followed by the implementation of extensible variants in the coming Part 4.
1515

16-
<!-- truncate -->
16+
{/* truncate */}
1717

1818
## Recap
1919

blog/2025-07-30-extensible-datatypes-part-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In the third part of the series, [**Implementing Extensible Records**](/blog/ext
1111

1212
In this final fourth part of the series, we will have the same walk through for the internal implementation details for **extensible variants**.
1313

14-
<!-- truncate -->
14+
{/* truncate */}
1515

1616
## Recap
1717

blog/2025-10-12-v0.5.0-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: [release]
99

1010
The highlights of this major release are summarized below. Also check out the [changelog](https://github.com/contextgeneric/cgp/releases/tag/v0.5.0) for the full list of changes.
1111

12-
<!-- truncate -->
12+
{/* truncate */}
1313

1414
## New Features
1515

0 commit comments

Comments
 (0)