Skip to content

Commit 589d530

Browse files
authored
Merge pull request #311 from lf-lang/fix-links
Fix links
2 parents f783bc4 + b99d04b commit 589d530

File tree

9 files changed

+180
-188
lines changed

9 files changed

+180
-188
lines changed

docs/developer/regression-tests.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Regression Tests for Lingua Franca.
55

66
Lingua Franca comes with an extensive set of regression tests that are executed on various platforms automatically whenever an update is pushed to the LF repository. There are two categories of tests:
77

8-
- **Unit tests** are Java or Kotlin methods in our code base that are labeled with the `@Test` directive. These tests check individual functions of the code generation infrastructure. These are located in the `src/test` directory of each subproject within the repository.
8+
- **Unit tests** are Java methods in our code base that are labeled with the `@Test` directive. These tests check individual functions of the code generation infrastructure. These are located in the `core/src/test` directory.
99
- **Integration tests** are complete Lingua Franca programs that are compiled and executed automatically. A test passes if it successfully compiles and runs to completion with normal termination (return code 0). These tests are located in the `test` directory at the root of the LF repo, with one subdirectory per target language.
1010
Their implementation can be found in the `core/src/integrationTest` directory.
1111
The integration tests are also executed through JUnit using methods with `@Test` directives, but they are executed separately.
@@ -26,7 +26,7 @@ You can specify any valid target. If you run the task without specifying the tar
2626

2727
The `targetTest` task is essentially a convenient shortcut for the following:
2828
```
29-
./gradew core:integrationTest --test org.lflang.tests.runtime.<target>Test.*
29+
./gradlew core:integrationTest --tests "org.lflang.tests.runtime.<target>Test.*"
3030
```
3131
If you prefer have more control over which tests are executed, you can also use this more verbose version.
3232

docs/reference/target-declaration.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import {
1111

1212
<LanguageSelector c cpp py rs ts />
1313

14+
# Target Declaration
15+
1416
Every Lingua Franca program begins with a statement of this form:
1517

1618
```lf
@@ -19,7 +21,7 @@ Every Lingua Franca program begins with a statement of this form:
1921

2022
The `<name>` gives the name of some Lingua Franca target language, which is the language in which reactions are written. This is also the language of the program(s) generated by the Lingua Franca compiler. The target languages currently supported are C, C++, Python, TypeScript, and Rust. There is also a target CCpp that is just like the C target except that it uses a C++ compiler to compile the code, thereby allowing inclusion of C++ code.
2123

22-
# Summary of Parameters
24+
# Summary of Target Parameters
2325

2426
A target specification may have optional parameters, the names and values of which depend on which specific target you are using. Each parameter is a key-value pair, where the supported keys are a subset of the following:
2527

docs/reference/target-language-details.mdx

Lines changed: 34 additions & 39 deletions
Large diffs are not rendered by default.

docs/writing-reactors/reactions.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Reactions may optionally be named. The name is cosmetic and may serve as additio
2828

2929
The reaction's behavior is defined by its body, which should be given in the target programming language. Note that the reaction body may only read from actions and ports that it has declared as triggers or uses, and it may only write to actions and ports that it has declared as an effect. The target code generators implement a scoping mechanism, such that only variables that are declared in the reaction signature are accessible in the reaction body.
3030

31-
In some targets, the reaction body may be omitted and the body can be defined natively in the target language in an external file. See the section on [Bodyless Reactions](#bodyless-reactions) for details.
31+
In some targets, the reaction body may be omitted and the body can be defined natively in the target language in an external file. See the section on [Reaction Declarations](./reaction-declarations.mdx) for details.
3232

3333
## Reaction Order
3434

@@ -124,8 +124,3 @@ For details, see the [Modal Reactors](../writing-reactors/modal-models.mdx) sect
124124

125125
</ShowIf>
126126
</ShowIfs>
127-
128-
129-
## Bodyless Reactions
130-
131-
See [Reaction Declarations](./reaction-declarations.mdx).

versioned_docs/version-0.5.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.6.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.7.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.8.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.9.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)