texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/texinfo-tex-test.texi (Line macros): Test @


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo-tex-test.texi (Line macros): Test @defline with continuation. Add example of nested @defblock for API documentation.
Date: Sun, 19 Mar 2023 07:28:25 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 49dd575480 * doc/texinfo-tex-test.texi (Line macros): Test @defline 
with continuation.  Add example of nested @defblock for API documentation.
49dd575480 is described below

commit 49dd5754809fa07b21a9216a8ae64850f5ce7f58
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Mar 19 11:28:16 2023 +0000

    * doc/texinfo-tex-test.texi (Line macros):
    Test @defline with continuation.  Add example of nested @defblock
    for API documentation.
---
 ChangeLog                 |  6 +++++
 doc/texinfo-tex-test.texi | 58 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 122bbfc23f..ae0d3d2780 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-19  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * doc/texinfo-tex-test.texi (Line macros):
+       Test @defline with continuation.  Add example of nested @defblock
+       for API documentation.
+
 2023-03-13  Gavin Smith <gavinsmith0123@gmail.com>
 
        * doc/texinfo.tex (\linemacro): Do not set \scanctxt when getting
diff --git a/doc/texinfo-tex-test.texi b/doc/texinfo-tex-test.texi
index e759b68ddc..13242de5ce 100644
--- a/doc/texinfo-tex-test.texi
+++ b/doc/texinfo-tex-test.texi
@@ -792,6 +792,64 @@ two
 @printindex BI
 
 
+@linemacro defmacro {name, params}
+@defline Makro \name\ \params\
+@end linemacro
+
+@defblock
+@defmacro mac1 (arg1, arg2,@
+line continuation
+description
+@end defblock
+
+@defblock
+@defline Makro mac1 (arg1, arg2,@
+line continuation
+description
+@end defblock
+
+@linemacro param {param, type}
+@defline Parameter @var{\param\} @code{ : \type\}
+@end linemacro
+@linemacro returns {param, type}
+@defline {Return Value} @var{\param\} @code{ : \type\}
+@end linemacro
+@linemacro raises {exception}
+@defline {Raises} \exception\
+@end linemacro
+
+@set txidefnamenospace
+@clear txicodevaristt
+
+@defblock
+@defline Function fft.fft (a, n=@code{None}, axis=@code{-1}, norm=@code{None})
+Compute the one-dimensional discrete Fourier Transform.
+
+@defblock
+@param a array_like
+Input array, can be complex.
+
+@param n int, optional
+Length of the transformed axis of the output.
+If @var{n} is smaller than the length of the input, the input is cropped.
+
+@param axis int, optional
+Axis over which to compute the FFT.
+
+@returns out complex ndarray
+The truncated or zero-padded input.
+
+@raises IndexError
+If @var{axis} is not a valid axis of @var{a}.
+
+@end defblock
+
+@end defblock
+
+@c from 
https://numpy.org/doc/1.24/reference/generated/numpy.fft.fft.html#numpy.fft.fft
+
+
+
 
 @part Another part@*Note no headline on this page
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]