From 4d068790a1f2616c7bb89f24053407b8509afb5c Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Wed, 27 Nov 2024 17:11:23 +0000 Subject: [PATCH] DOC: fix warnings --- CONTRIBUTORS.md | 2 +- docs/index.md | 2 +- src/array_api_extra/_funcs.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 6cf14a7..8337a20 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,4 +1,4 @@ -## Contributors +# Contributors This project exists thanks to the following contributors ([emoji key](https://allcontributors.org/docs/en/emoji-key)): diff --git a/docs/index.md b/docs/index.md index f905154..11c2916 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,7 @@ ```{toctree} :maxdepth: 2 :hidden: -index.md +self api-reference.md contributing.md contributors.md diff --git a/src/array_api_extra/_funcs.py b/src/array_api_extra/_funcs.py index e4083aa..a305bfb 100644 --- a/src/array_api_extra/_funcs.py +++ b/src/array_api_extra/_funcs.py @@ -440,10 +440,10 @@ def sinc(x: Array, /, *, xp: ModuleType) -> Array: References ---------- - .. [1] Weisstein, Eric W. "Sinc Function." From MathWorld--A Wolfram Web - Resource. https://mathworld.wolfram.com/SincFunction.html - .. [2] Wikipedia, "Sinc function", - https://en.wikipedia.org/wiki/Sinc_function + #. Weisstein, Eric W. "Sinc Function." From MathWorld--A Wolfram Web + Resource. https://mathworld.wolfram.com/SincFunction.html + #. Wikipedia, "Sinc function", + https://en.wikipedia.org/wiki/Sinc_function Examples --------