Skip to content

Commit 072de5c

Browse files
authored
feat(concerto): remove concerto docs (#420)
Signed-off-by: Matt Roberts <code@rbrts.uk> Signed-off-by: Matt Roberts <code@rbrts.uk>
1 parent ae84ff1 commit 072de5c

27 files changed

+12
-1036
lines changed

docs/accordproject-slc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To make sense of the data, a _Data Model_, expressed in the Concerto schema lang
3939
o Double monthlyPayment // monthlyPayment is a floating-point number
4040
```
4141

42-
The Data Types allow a computer to validate values inserted into each of the `{{variable}}` placeholders (e.g., `2.5` is a valid `{{rate}}` but `January` isn't). In other words, the Data Model lets a computer make sense of the structure of (and data in) the clause. To learn more about Data Types see [Concerto Modeling](model-concerto.md).
42+
The Data Types allow a computer to validate values inserted into each of the `{{variable}}` placeholders (e.g., `2.5` is a valid `{{rate}}` but `January` isn't). In other words, the Data Model lets a computer make sense of the structure of (and data in) the clause. To learn more about Data Types see [Concerto Modeling](https://concerto.accordproject.org/docs/intro).
4343

4444
The clause data (the 'deal points') can then be capture as a machine-readable representation:
4545

docs/accordproject-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Thanks to that model, the computer knows that the `shipper` variable (`"Party A"
120120

121121
Concerto is the language which is used to write models in Accord Project templates. Concerto offers modern modeling capabilities including support for primitive types (numbers, dates, etc), nested or optional data structures, enumerations, relationships, object-oriented style inheritance, and more.
122122

123-
_More information about Concerto can be found in the [Concerto Model](model-concerto.md) section of this documentation._
123+
_More information about Concerto can be found in the [Concerto Model](https://concerto.accordproject.org/docs/intro) section of this documentation._
124124

125125
## Template Logic
126126

docs/accordproject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To start using Accord Project templates, follow the [Install Cicero](https://doc
5151

5252
You can find in-depth guides for the different components of a template in the _Template Guides_ part of the documentation:
5353
- Learn how to write contract or template text in the [Markdown Text](markup-preliminaries.md) Guide
54-
- Learn how to design your data model in the [Concerto Model](model-concerto.md) Guide
54+
- Learn how to design your data model in the [Concerto Model](https://concerto.accordproject.org/docs/intro) Guide
5555
- Learn how to write smart contract logic in the [Ergo Logic](logic-ergo.md) Guide
5656

5757
Finally, the documentation includes several step by step [Tutorials](tutorial-templates.md) and some reference information (for APIs, command-line tools, etc.) can be found in the [Reference Manual](ref-glossary.md).

docs/logic-complex-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: logic-complex-type
33
title: Complex Values & Types
44
---
55

6-
So far we only considered atomic values and types, such as string values or integers, which are not sufficient for most contracts. In Ergo, values and types are based on the [Concerto Modeling](model-concerto.md) (often referred to as CTO models after the `.cto` file extension). This provides a rich vocabulary to define the parameters of your contract, the information associated to contract participants, the structure of contract obligation, etc.
6+
So far we only considered atomic values and types, such as string values or integers, which are not sufficient for most contracts. In Ergo, values and types are based on the [Concerto Modeling](https://concerto.accordproject.org/docs/intro) (often referred to as CTO models after the `.cto` file extension). This provides a rich vocabulary to define the parameters of your contract, the information associated to contract participants, the structure of contract obligation, etc.
77

88
In Ergo, you can either import an existing CTO model or declare types directly within your code. Let us look at the different kinds of types you can define and how to create values with those types.
99

docs/logic-simple-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ the comments mention that `"John Smith"` is of type `String`, and that `1` is of
1313

1414
In reality, the Ergo compiler understands which types your expressions have and can detect whether those expressions apply to the right type(s) or not.
1515

16-
Ergo types are based on the [Concerto Modeling](model-concerto.md) Language.
16+
Ergo types are based on the [Concerto Modeling](https://concerto.accordproject.org/docs/intro) Language.
1717

1818
## Primitive types
1919

docs/markup-templatemark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: TemplateMark
55

66
TemplateMark is an extension to CommonMark used to write the text in Accord Project templates. The extension includes new markdown for variables, inline and container elements of the markdown and template formulas.
77

8-
The kind of extension which can be used is based on the _type_ of the variable in the [Concerto Model](model-concerto.md) for your template. For each type in your model differrent markdown elements apply: variable markdown for atomic types in the model, list blocks for array types in the model, optional blocks for optional types in the model, etc.
8+
The kind of extension which can be used is based on the _type_ of the variable in the [Concerto Model](https://concerto.accordproject.org/docs/intro) for your template. For each type in your model differrent markdown elements apply: variable markdown for atomic types in the model, list blocks for array types in the model, optional blocks for optional types in the model, etc.
99

1010
## Variables
1111

docs/model-api.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

docs/model-classes.md

Lines changed: 0 additions & 93 deletions
This file was deleted.

docs/model-concerto.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/model-decorators.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)