From 42bff3e91bb2cac6a84d285c2475734e55663be1 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sat, 30 May 2020 17:13:04 -0700 Subject: DOC: Add a NEP link to all neps. Usefull for crossreferencing and intersphinx Here is a snippet to update it if other neps are missing it: In [1]: neps = !ls nep-0* ...: for nep in neps: ...: number = nep[6:8] ...: with open(nep, 'r') as f: ...: data = f.read() ...: ...: if f'.. _NEP{number}:' in data: ...: continue ...: with open(nep, 'w') as f: ...: f.write('.. _NEP'+number+':\n') ...: f.write(data) ...: --- doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst') diff --git a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst index 884dbe0cc..2d7539952 100644 --- a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst +++ b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst @@ -1,3 +1,5 @@ +.. _NEP35: + =========================================================== NEP 35 — Array Creation Dispatching With __array_function__ =========================================================== -- cgit v1.2.1