Skip to content

Commit f6f1662

Browse files
committed
Improved paths in the documentation
1 parent 7036389 commit f6f1662

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/tools/code-extension.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can create a new LF package either manually by creating an LF file or by usi
2727
│ ├── src/
2828
│ │ └── Foo.lf
2929
│ ├── src-gen/
30-
│ │ ── Foo/
30+
│ │ ── Foo/
3131
...
3232
```
3333

@@ -96,11 +96,11 @@ The **Lingua Franca Package Explorer** can be accessed by clicking on the **LF i
9696
└── └── Source Files
9797
```
9898

99-
- [**Installed Packages**](#installed-packages): Lists libraries installed via the Lingo Package Manager, located in the `build/lfc_include` directory (if any).
99+
- [**Installed Packages**](#installed-packages): Lists libraries installed via the Lingo Package Manager, located in the `./build/lfc_include` directory (if any).
100100

101-
- [**Local Libraries**](#local-libraries): Displays locally defined libraries (e.g., reusable reactors), located in the `src/lib` directory.
101+
- [**Local Libraries**](#local-libraries): Displays locally defined libraries (e.g., reusable reactors), located in the `./src/lib` directory.
102102

103-
- [**Source Files**](#source-files): Contains the LF source files created by the developer, located in the `src` directory.
103+
- [**Source Files**](#source-files): Contains the LF source files created by the developer, located in the `./src/` directory.
104104

105105
The **Source Files** section is always present as it reflects the main LF files in the package. However, the **Installed Packages** and **Local Libraries** sections appear only if the respective directories and files exist in the workspace.
106106

@@ -114,7 +114,7 @@ To install libraries:
114114
1. Configure the `Lingo.toml` file with the desired libraries.
115115
2. Run <kbd>lingo build</kbd> in the terminal from the current directory to download the specified dependencies.
116116

117-
Once the libraries are installed, they will appear in the `{package_name}/build/lfc_include/` directory. The **Installed Packages** section will then be structured as follows:
117+
Once the libraries are installed, they will appear in the `./build/lfc_include/` directory. The **Installed Packages** section will then be structured as follows:
118118

119119
```
120120
├── LF Package
@@ -160,7 +160,7 @@ The **Import Selected Reactor** option is available only if an LF program is ope
160160

161161
#### Local Libraries
162162

163-
The **Local Libraries** section lists LF programs created by the developer, located in the `{package_name}/src/lib/` directory. These programs serve as local libraries, containing reusable reactors. The directory structure follows this format:
163+
The **Local Libraries** section lists LF programs created by the developer, located in the `./src/lib/` directory. These programs serve as local libraries, containing reusable reactors. The directory structure follows this format:
164164

165165
```
166166
├── LF Package
@@ -201,15 +201,15 @@ The **Import Selected Reactor** option is available only if an LF program is ope
201201

202202
#### Source Files
203203

204-
The **Source Files** section lists all LF programs in the `{package_name}/src/` directory. This section provides direct access to the main source files of the package. The hierarchy for this view is straightforward:
204+
The **Source Files** section lists all LF programs in the `./src/` directory. This section provides direct access to the main source files of the package. The hierarchy for this view is straightforward:
205205

206206
```
207207
├── LF Package
208208
...
209209
│ ├── Local Libraries
210210
│ │ ├── File_1.lf
211-
│ │ ├── File_1.lf
212-
│ │ ├── File_1.lf
211+
│ │ ├── File_2.lf
212+
│ │ ├── File_3.lf
213213
...
214214
```
215215

0 commit comments

Comments
 (0)