Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab0b65d0
Commit
ab0b65d0
authored
Jan 13, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
&make_mod_index_entry: Wrap a long comment, store the additional data needed
to create a module index in the HTML version.
parent
9b6f1d24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Doc/myformat.perl
Doc/myformat.perl
+8
-3
No files found.
Doc/myformat.perl
View file @
ab0b65d0
...
...
@@ -155,12 +155,17 @@ sub my_parword_index_helper{
sub
make_mod_index_entry
{
local
(
$br_id
,
$str
,
$define
)
=
@_
;
# If TITLE is not yet available (i.e the \index command is in the title of the
# current section), use $ref_before.
local
(
$halfref
)
=
&
make_half_href
("
$CURRENT_FILE
#
$br_id
");
# If TITLE is not yet available (i.e the \index command is in the title
# of the current section), use $ref_before.
$TITLE
=
$ref_before
unless
$TITLE
;
# Save the reference
if
(
$define
eq
"
DEF
")
{
local
(
$nstr
,
$garbage
)
=
split
/ /
,
$str
,
2
;
$Modules
{
$nstr
}
.=
$halfref
;
}
$str
=
&
gen_index_id
(
$str
,
$define
);
$index
{
$str
}
.=
&
make_half_href
("
$CURRENT_FILE
#
$br_id
")
;
$index
{
$str
}
.=
$halfref
;
"
<a name=
\"
$br_id
\"
>
$anchor_invisible_mark
<
\
/a>
";
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment