mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
\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
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@
|
||||||
% Add the defining entry for a module
|
% Add the defining entry for a module
|
||||||
\newcommand{\defmodindex}[2]{\index{#1@{\codefont#1} (#2module)|textbf}%
|
\newcommand{\defmodindex}[2]{\index{#1@{\codefont#1} (#2module)|textbf}%
|
||||||
\write\modindexfile{#1 \thepage}}
|
\write\modindexfile{#1 \thepage}}
|
||||||
|
\newcommand{\modindex}[1]{\defmodindex{#1}{}}
|
||||||
\newcommand{\bimodindex}[1]{\defmodindex{#1}{built-in }}
|
\newcommand{\bimodindex}[1]{\defmodindex{#1}{built-in }}
|
||||||
\newcommand{\stmodindex}[1]{\defmodindex{#1}{standard }}
|
\newcommand{\stmodindex}[1]{\defmodindex{#1}{standard }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue