diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-08 09:57:58 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-08 20:21:48 -0700 |
| commit | a7357887c79debc73bb0158ce70b22263fcf7a76 (patch) | |
| tree | 74468b58cf867a259ffad3c982b0ef3727bb79eb /docs | |
| parent | ed19eb24434a25babae90909b38eedd6315246f4 (diff) | |
| download | meson-a7357887c79debc73bb0158ce70b22263fcf7a76.tar.gz | |
docs: fix issues with the cython docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Cython.md | 6 | ||||
| -rw-r--r-- | docs/markdown/snippets/first-class-cython.md | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Cython.md b/docs/markdown/Cython.md index 17302b38a..be0527184 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 481269767..54f9367a0 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', |
