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
56c8c27b
Commit
56c8c27b
authored
Oct 30, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for --favicon.
parent
dd3d6a03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Doc/tools/mkhowto
Doc/tools/mkhowto
+7
-1
No files found.
Doc/tools/mkhowto
View file @
56c8c27b
...
@@ -25,6 +25,7 @@ HTML options:
...
@@ -25,6 +25,7 @@ HTML options:
not a URL).
not a URL).
--up-link URL to a parent document.
--up-link URL to a parent document.
--up-title Title of a parent document.
--up-title Title of a parent document.
--favicon Icon to display in the browsers location bar.
Other options:
Other options:
--a4 Format for A4 paper.
--a4 Format for A4 paper.
...
@@ -108,6 +109,7 @@ class Options:
...
@@ -108,6 +109,7 @@ class Options:
about_file
=
os
.
path
.
join
(
TOPDIR
,
"html"
,
"about.dat"
)
about_file
=
os
.
path
.
join
(
TOPDIR
,
"html"
,
"about.dat"
)
up_link
=
None
up_link
=
None
up_title
=
None
up_title
=
None
favicon
=
None
#
#
# 'dvips_safe' is a weird option. It is used mostly to make
# 'dvips_safe' is a weird option. It is used mostly to make
# LaTeX2HTML not try to be too smart about protecting the user
# LaTeX2HTML not try to be too smart about protecting the user
...
@@ -153,7 +155,8 @@ class Options:
...
@@ -153,7 +155,8 @@ class Options:
"keep"
,
"quiet"
,
"runs="
,
"image-type="
,
"keep"
,
"quiet"
,
"runs="
,
"image-type="
,
"about="
,
"numeric"
,
"style="
,
"paper="
,
"about="
,
"numeric"
,
"style="
,
"paper="
,
"up-link="
,
"up-title="
,
"dir="
,
"up-link="
,
"up-title="
,
"dir="
,
"global-module-index="
,
"dvips-safe"
]
"global-module-index="
,
"dvips-safe"
,
"favicon="
]
+
list
(
self
.
ALL_FORMATS
))
+
list
(
self
.
ALL_FORMATS
))
for
opt
,
arg
in
opts
:
for
opt
,
arg
in
opts
:
if
opt
==
"--all"
:
if
opt
==
"--all"
:
...
@@ -196,6 +199,8 @@ class Options:
...
@@ -196,6 +199,8 @@ class Options:
self
.
style_file
=
os
.
path
.
abspath
(
arg
)
self
.
style_file
=
os
.
path
.
abspath
(
arg
)
elif
opt
==
"--l2h-init"
:
elif
opt
==
"--l2h-init"
:
self
.
l2h_init_files
.
append
(
os
.
path
.
abspath
(
arg
))
self
.
l2h_init_files
.
append
(
os
.
path
.
abspath
(
arg
))
elif
opt
==
"--favicon"
:
self
.
favicon
=
arg
elif
opt
==
"--up-link"
:
elif
opt
==
"--up-link"
:
self
.
up_link
=
arg
self
.
up_link
=
arg
elif
opt
==
"--up-title"
:
elif
opt
==
"--up-title"
:
...
@@ -477,6 +482,7 @@ class Job:
...
@@ -477,6 +482,7 @@ class Job:
l2hoption
(
fp
,
"MAX_SPLIT_DEPTH"
,
options
.
max_split_depth
)
l2hoption
(
fp
,
"MAX_SPLIT_DEPTH"
,
options
.
max_split_depth
)
l2hoption
(
fp
,
"EXTERNAL_UP_LINK"
,
options
.
up_link
)
l2hoption
(
fp
,
"EXTERNAL_UP_LINK"
,
options
.
up_link
)
l2hoption
(
fp
,
"EXTERNAL_UP_TITLE"
,
options
.
up_title
)
l2hoption
(
fp
,
"EXTERNAL_UP_TITLE"
,
options
.
up_title
)
l2hoption
(
fp
,
"FAVORITES_ICON"
,
options
.
favicon
)
l2hoption
(
fp
,
"GLOBAL_MODULE_INDEX"
,
options
.
global_module_index
)
l2hoption
(
fp
,
"GLOBAL_MODULE_INDEX"
,
options
.
global_module_index
)
l2hoption
(
fp
,
"DVIPS_SAFE"
,
options
.
dvips_safe
)
l2hoption
(
fp
,
"DVIPS_SAFE"
,
options
.
dvips_safe
)
fp
.
write
(
"1;
\
n
"
)
fp
.
write
(
"1;
\
n
"
)
...
...
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