From 0c14a0f7d4431ee6cec848be7a4f0bab3533e301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Fri, 1 May 2015 20:51:14 -0400 Subject: [PATCH] Move scary numpy warning from front page to creator ref. --- deap/creator.py | 7 +++++++ doc/index.rst | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/deap/creator.py b/deap/creator.py index ca4b678a0..468d823f1 100644 --- a/deap/creator.py +++ b/deap/creator.py @@ -123,6 +123,13 @@ def __init__(self): The :ref:`creating-types` tutorial gives more examples of the creator usage. + + .. warning:: + + If your are inheriting from :class:`numpy.ndarray` see the + :doc:`tutorials/advanced/numpy` tutorial and the + :doc:`/examples/ga_onemax_numpy` example. + """ if name in globals(): diff --git a/doc/index.rst b/doc/index.rst index c77e77a48..21daba970 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -11,12 +11,6 @@ in perfect harmony with parallelisation mechanism such as multiprocessing and `S `_. The following documentation presents the key concepts and many features to build your own evolutions. -.. warning:: - - If your are inheriting from :class:`numpy.ndarray` see the - :doc:`tutorials/advanced/numpy` tutorial and the - :doc:`/examples/ga_onemax_numpy` example. - .. sidebar:: Getting Help Having trouble? We’d like to help!