aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-08 09:57:58 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-08 20:21:48 -0700
commita7357887c79debc73bb0158ce70b22263fcf7a76 (patch)
tree74468b58cf867a259ffad3c982b0ef3727bb79eb /docs
parented19eb24434a25babae90909b38eedd6315246f4 (diff)
downloadmeson-a7357887c79debc73bb0158ce70b22263fcf7a76.zip
meson-a7357887c79debc73bb0158ce70b22263fcf7a76.tar.gz
meson-a7357887c79debc73bb0158ce70b22263fcf7a76.tar.bz2
docs: fix issues with the cython docs
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Cython.md6
-rw-r--r--docs/markdown/snippets/first-class-cython.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Cython.md b/docs/markdown/Cython.md
index 17302b3..be05271 100644
--- a/docs/markdown/Cython.md
+++ b/docs/markdown/Cython.md
@@ -1,7 +1,7 @@
---
title: Cython
short-description: Support for Cython in Meson
-...
+---
# Cython
@@ -22,8 +22,8 @@ extension_module method:
```meson
project('my project', 'cython')
-py = import('python')
-dep_py3 = py.dependency()
+py = import('python').find_installation()
+dep_py = py.dependency()
py.extension_module(
'foo',
diff --git a/docs/markdown/snippets/first-class-cython.md b/docs/markdown/snippets/first-class-cython.md
index 4812697..54f9367 100644
--- a/docs/markdown/snippets/first-class-cython.md
+++ b/docs/markdown/snippets/first-class-cython.md
@@ -5,8 +5,8 @@ Meson now supports Cython as a first class language. This means you can write:
```meson
project('my project', 'cython')
-py = import('python')
-dep_py3 = py.dependency()
+py = import('python').find_installation()
+dep_py = py.dependency()
py.extension_module(
'foo',