aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorAnton Leontiev <scileont@gmail.com>2019-10-19 00:26:37 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-19 19:14:10 +0300
commitddd7cf634b6c691c656b59ee44ff9c35c3c5d5b8 (patch)
treedeb727d2ec2e9da1cdf7451d0e9fb4da70f18b4d /docs/markdown
parent998a1f5fa3f7e86ce3902544bc61f54c9709926b (diff)
downloadmeson-ddd7cf634b6c691c656b59ee44ff9c35c3c5d5b8.zip
meson-ddd7cf634b6c691c656b59ee44ff9c35c3c5d5b8.tar.gz
meson-ddd7cf634b6c691c656b59ee44ff9c35c3c5d5b8.tar.bz2
docs: Add missing language identifier [skip ci]
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Dependencies.md3
-rw-r--r--docs/markdown/Reference-manual.md10
-rw-r--r--docs/markdown/Release-notes-for-0.46.0.md2
3 files changed, 9 insertions, 6 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 9672887..49c0962 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -315,7 +315,8 @@ as getting it to work standalone is tricky.
You can set the `main` keyword argument to `true` to use the `main()`
function provided by GTest:
-```
+
+```meson
gtest_dep = dependency('gtest', main : true, required : false)
e = executable('testprog', 'test.cc', dependencies : gtest_dep)
test('gtest test', e)
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 862c60a..d492096 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -709,14 +709,16 @@ set). Hence, you *must not* manually add the interpreter while using
this script as part of a list of commands.
If you need to check for a program in a non-standard location, you can
-just pass an absolute path to `find_program`, e.g. ``` setcap =
-find_program('setcap', '/usr/sbin/setcap', '/sbin/setcap', required :
-false) ```
+just pass an absolute path to `find_program`, e.g.
+
+```meson
+setcap = find_program('setcap', '/usr/sbin/setcap', '/sbin/setcap', required : false)
+```
It is also possible to pass an array to `find_program` in case you
need to construct the set of paths to search on the fly:
-```
+```meson
setcap = find_program(['setcap', '/usr/sbin/setcap', '/sbin/setcap'], required : false)
```
diff --git a/docs/markdown/Release-notes-for-0.46.0.md b/docs/markdown/Release-notes-for-0.46.0.md
index c9f9bbd..e3b45e9 100644
--- a/docs/markdown/Release-notes-for-0.46.0.md
+++ b/docs/markdown/Release-notes-for-0.46.0.md
@@ -292,7 +292,7 @@ default value will be provided for all required fields of the pc file:
Generating a .pc file is now as simple as:
-```
+```meson
pkgconfig.generate(mylib)
```