@@ -167,30 +167,22 @@ artists and functions. A fourth method is to create a class.
167167
168168Examples
169169~~~~~~~~
170-
171- ..toctree ::
172- :maxdepth: 1
173-
174- ../gallery/animation/animate_decay
175- ../gallery/animation/bayes_update
176- ../gallery/animation/double_pendulum
177- ../gallery/animation/animated_histogram
178- ../gallery/animation/rain
179- ../gallery/animation/random_walk
180- ../gallery/animation/simple_anim
181- ../gallery/animation/strip_chart
182- ../gallery/animation/unchained
170+ *:doc: `../gallery/animation/animate_decay `
171+ *:doc: `../gallery/animation/bayes_update `
172+ *:doc: `../gallery/animation/double_pendulum `
173+ *:doc: `../gallery/animation/animated_histogram `
174+ *:doc: `../gallery/animation/rain `
175+ *:doc: `../gallery/animation/random_walk `
176+ *:doc: `../gallery/animation/simple_anim `
177+ *:doc: `../gallery/animation/strip_chart `
178+ *:doc: `../gallery/animation/unchained `
183179
184180``ArtistAnimation ``
185181-------------------
186182
187183Examples
188184~~~~~~~~
189-
190- ..toctree ::
191- :maxdepth: 1
192-
193- ../gallery/animation/dynamic_image
185+ *:doc: `../gallery/animation/dynamic_image `
194186
195187Writer Classes
196188==============
@@ -272,11 +264,7 @@ to ensure that setup and cleanup are performed as necessary.
272264
273265Examples
274266--------
275-
276- ..toctree ::
277- :maxdepth: 1
278-
279- ../gallery/animation/frame_grabbing_sgskip
267+ *:doc: `../gallery/animation/frame_grabbing_sgskip `
280268
281269.. _ani_writer_classes :
282270