summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-04 14:43:36 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-04 14:43:36 (GMT)
commitb19274704f44ab2000ef10cf4c683e7d84738da9 (patch)
treebac5f5cd1359116ce59042ba0d092b582ad34a9f /Doc
parent8aad4c80b3aee6674f236c5848b07fd155a58975 (diff)
downloadcpython-b19274704f44ab2000ef10cf4c683e7d84738da9.zip
cpython-b19274704f44ab2000ef10cf4c683e7d84738da9.tar.gz
cpython-b19274704f44ab2000ef10cf4c683e7d84738da9.tar.bz2
\modindex{}: New macro; index module without declaring it "built-in" or
"standard". This is mostly for documentation of modules outside the standard library.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/myformat.sty1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty
index d5d5a31..0261387 100644
--- a/Doc/myformat.sty
+++ b/Doc/myformat.sty
@@ -114,6 +114,7 @@
% Add the defining entry for a module
\newcommand{\defmodindex}[2]{\index{#1@{\codefont#1} (#2module)|textbf}%
\write\modindexfile{#1 \thepage}}
+\newcommand{\modindex}[1]{\defmodindex{#1}{}}
\newcommand{\bimodindex}[1]{\defmodindex{#1}{built-in }}
\newcommand{\stmodindex}[1]{\defmodindex{#1}{standard }}