mirror of https://github.com/python/cpython
\modindex{}: New macro; index module without declaring it "built-in" or
"standard". This is mostly for documentation of modules outside the standard library.
This commit is contained in:
parent
8aad4c80b3
commit
b19274704f
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue