Skip to content

Commit c0567e3

Browse files
committed
fixed indentation/formatting and typos
Signed-off-by: Klaim (Joël Lamotte) <[email protected]>
1 parent 6db33f5 commit c0567e3

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/mkdocs/docs/integration/package_managers.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ to install the [nlohmann-json](https://ports.macports.org/port/nlohmann-json/) p
709709
- [package's sources (for advanced users)](https://github.com/build2-packaging/nlohmann-json/)
710710

711711
- :octicons-tag-24: Available versions: current version and older versions since `3.7.3` (see [cppget.org](https://cppget.org/nlohmann-json))
712-
- :octicons-rocket-24: The package is maintained and published by the `build2` community in [this the repository][(https://github.com/conan-io/conan-center-index/tree/master/recipes/nlohmann_json](https://github.com/build2-packaging/nlohmann-json/)).
712+
- :octicons-rocket-24: The package is maintained and published by the `build2` community in [this repository][(https://github.com/build2-packaging/nlohmann-json/](https://github.com/build2-packaging/nlohmann-json/)).
713713
- :octicons-file-24: File issues at the [package source repository](https://github.com/build2-packaging/nlohmann-json/issues/)
714714
- :octicons-question-24: [`build2` website](https://build2)
715715

@@ -743,14 +743,17 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
743743
2. <details><summary>Add this library as dependency of your target that uses it.</summary>
744744
745745
In the `buildfile` defining the target that will use this library:
746+
746747
- import the target `lib{json}` from the `nlhomann-json` package, for example:
747-
```
748-
import nljson = nlhomann-json%lib{json}
749-
```
748+
```
749+
import nljson = nlhomann-json%lib{json}
750+
```
751+
750752
- then add the library's target as requirement for your target using it, for example:
751-
```
752-
exe{example} : ... $nljson
753-
```
753+
```
754+
exe{example} : ... $nljson
755+
```
756+
754757
</details>
755758
756759
3. <details><summary>Use the library in your project's code and build it.</summary>
@@ -779,13 +782,13 @@ To use this package in an exising [`build2`](https://build2.org) project, the ge
779782
--8<-- "integration/build2/repositories.manifest"
780783
```
781784
782-
- `example/manifest`: Add the latest version of the `nlohmann-json` package as dependency to the project:
785+
- `example/manifest`: Add the latest version of the `nlohmann-json` package as dependency to the project:
783786
784787
```make title="project's `manifest`"
785788
--8<-- "integration/build2/manifest"
786789
```
787790
788-
- `example/example/buildfile`: import the library's target to be used as requirement for building the executable target `exe{example}`:
791+
- `example/example/buildfile`: import the library's target to be used as requirement for building the executable target `exe{example}`:
789792
790793
```make title="project's `buildfile`"
791794
--8<-- "integration/build2/buildfile"

0 commit comments

Comments
 (0)