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
dbb2b9d7
Commit
dbb2b9d7
authored
Oct 30, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hackish way to generate an up-<link> for the title page if we have
one. Added misc. comments.
parent
4a473492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
Doc/perl/python.perl
Doc/perl/python.perl
+16
-4
No files found.
Doc/perl/python.perl
View file @
dbb2b9d7
...
...
@@ -724,9 +724,9 @@ sub make_str_index_entry($){
}
%
TokenToTargetMapping
=
();
%
DefinedGrammars
=
();
%
BackpatchGrammarFiles
=
();
%
TokenToTargetMapping
=
();
# language:token -> link target
%
DefinedGrammars
=
();
# language -> full grammar text
%
BackpatchGrammarFiles
=
();
# file -> 1 (hash of files to fixup)
sub
do_cmd_token
{
local
(
$_
)
=
@_
;
...
...
@@ -1647,7 +1647,18 @@ sub make_my_titlegraphic(){
sub
do_cmd_maketitle
{
local
(
$_
)
=
@_
;
my
$the_title
=
"
\n
<div class=
\"
titlepage
\"
>
";
my
$the_title
=
"
\n
";
if
(
$EXTERNAL_UP_LINK
)
{
# This generates a <LINK> element in the wrong place (the
# body), but I don't see any other way to get this generated
# at all. Browsers like Mozilla, that support navigation
# links, can make use of this.
$the_title
.=
("
<link rel='up' href='
$EXTERNAL_UP_LINK
'
"
.
(
$EXTERNAL_UP_TITLE
?
"
title='
$EXTERNAL_UP_TITLE
'
"
:
'')
.
"
>
\n
");
}
$the_title
.=
'
<div class="titlepage">
';
if
(
$TITLE_PAGE_GRAPHIC
)
{
if
(
$TITLE_PAGE_GRAPHIC_ON_RIGHT
)
{
$the_title
.=
("
\n
<table border=
\"
0
\"
width=
\"
100%
\"
>
"
...
...
@@ -1854,6 +1865,7 @@ sub do_cmd_seepep{
}
sub
do_cmd_seerfc
{
# XXX Would be nice to add links to the text/plain and PDF versions.
return
handle_rfclike_reference
(
@_
[
0
],
"
RFC
",
$RFC_FORMAT
);
}
...
...
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