Skip to content

Commit 070a7b0

Browse files
committed
Update getting-started and contribute
1 parent a42a5c5 commit 070a7b0

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

_mydocs/contribute/index.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can follow these steps to add a new package to DAX Lib:
1515

1616
1. **Clone** the GitHub repository [https://github.com/sql-bi/daxlib/](https://github.com/sql-bi/daxlib/).
1717

18-
2. **Create a folder** for your package in `/packages/`, for example by copying the daxlib.sample package.
18+
2. **Create a folder** for your package in `/packages/`, for example by copying the `DaxLib.Sample` package.
1919

2020
a. Name the folder after your package using lowercase names (e.g., `test.functions`), while the package should have a pascal naming convention (e.g., `Test.Functions`).
2121

@@ -33,20 +33,22 @@ You can follow these steps to add a new package to DAX Lib:
3333

3434
3. **Create the DAX functions** in `functions.tmdl`
3535

36-
a. The file `lib/functions.tmdl` contains the source code of the DAX functions in a TMDL createOrReplace command. For example, in `test.functions` the name is `/packages/t/test.functions/lib/functions.tmdl`
36+
a. The file `lib/functions.tmdl` contains the source code of the DAX functions in a TMDL `createOrReplace` command. For example, in `test.functions` the name is `/packages/t/test.functions/lib/functions.tmdl`
3737

3838
b. The `functions.tmdl` file contains the function definition using the TMDL syntax following the `createOrReplace` statement
3939

4040
c. Include mandatory annotations for each function of the library:
4141

42-
annotation DAXLIB_PackageId = <name of library>`
43-
annotation DAXLIB_PackageVersion = <version of library>
44-
42+
```
43+
annotation DAXLIB_PackageId = <name of library>
44+
annotation DAXLIB_PackageVersion = <version of library>
45+
```
46+
4547
4. **Create the manifest** in the `manifest.daxlib` file
4648

4749
a. For example, in `test.functions` the name is `/packages/t/test.functions/manifest.daxlib`
4850

49-
b. The `manifest.daxlib` file includes the properties of the package in JSON format. See [https://daxlib.org/package/DaxLib.Sample/#code](https://daxlib.org/package/DaxLib.Sample/#code) to get an example
51+
b. The `manifest.daxlib` file contains the package properties in JSON format. See the [DaxLib.Sample](https://daxlib.org/package/DaxLib.Sample/#code) package for an example and refer to the [JSON schema](https://github.com/sql-bi/daxlib/blob/main/schemas/manifest/1.0.0/manifest.1.0.0.schema.json) for the complete specification of available properties.
5052

5153
5. **Create a pull request** to publish the library on daxlib.org
5254

_mydocs/user-guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ order: /user-guide/01
1313

1414
a. Use **F1** to open the command palette
1515

16-
b. Use **Collapse All** to collapse all expanded code blocks and see only the function names.
16+
b. Use **Fold All** to collapse all expanded code blocks and see only the function names.
1717

1818
c. Use **Find** to look for a specific function name or description.
1919

0 commit comments

Comments
 (0)