[Python-checkins] python/dist/src/Doc/tools mkhowto,1.36,1.37
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 30 Oct 2002 09:02:23 -0800
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv29920
Modified Files:
mkhowto
Log Message:
Added support for --favicon.
Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** mkhowto 1 Oct 2002 15:38:01 -0000 1.36
--- mkhowto 30 Oct 2002 17:02:21 -0000 1.37
***************
*** 26,29 ****
--- 26,30 ----
--up-link URL to a parent document.
--up-title Title of a parent document.
+ --favicon Icon to display in the browsers location bar.
Other options:
***************
*** 109,112 ****
--- 110,114 ----
up_link = None
up_title = None
+ favicon = None
#
# 'dvips_safe' is a weird option. It is used mostly to make
***************
*** 154,158 ****
"about=", "numeric", "style=", "paper=",
"up-link=", "up-title=", "dir=",
! "global-module-index=", "dvips-safe"]
+ list(self.ALL_FORMATS))
for opt, arg in opts:
--- 156,161 ----
"about=", "numeric", "style=", "paper=",
"up-link=", "up-title=", "dir=",
! "global-module-index=", "dvips-safe",
! "favicon="]
+ list(self.ALL_FORMATS))
for opt, arg in opts:
***************
*** 197,200 ****
--- 200,205 ----
elif opt == "--l2h-init":
self.l2h_init_files.append(os.path.abspath(arg))
+ elif opt == "--favicon":
+ self.favicon = arg
elif opt == "--up-link":
self.up_link = arg
***************
*** 478,481 ****
--- 483,487 ----
l2hoption(fp, "EXTERNAL_UP_LINK", options.up_link)
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, "DVIPS_SAFE", options.dvips_safe)