From a7357887c79debc73bb0158ce70b22263fcf7a76 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 8 Jun 2021 09:57:58 -0700 Subject: docs: fix issues with the cython docs --- docs/markdown/Cython.md | 6 +++--- docs/markdown/snippets/first-class-cython.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/markdown') 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', -- cgit v1.1