Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
0154fea5
Kaydet (Commit)
0154fea5
authored
Agu 31, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove obsolete scripts.
üst
8bc627a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
159 deletions
+0
-159
mkdvi.sh
Doc/tools/mkdvi.sh
+0
-77
mkhtml.sh
Doc/tools/mkhtml.sh
+0
-60
newind.py
Doc/tools/newind.py
+0
-22
No files found.
Doc/tools/mkdvi.sh
deleted
100755 → 0
Dosyayı görüntüle @
8bc627a4
#! /bin/sh
#
# Build one of the simple documents. This can be used to create the DVI,
# PDF, or LaTeX "aux" files. It can accept one of three optional parameters:
#
# --aux Create only the LaTeX .aux file
# --dvi Create the DeVice Independent output
# --pdf Create Adobe PDF output
#
# If no parameter is given, DVI output is produced.
#
# One positional parameter is required: the "base" of the document to
# format. For the standard Python documentation, this will be api, ext,
# lib, mac, ref, or tut.
WORKDIR
=
`
pwd
`
cd
`
dirname
$0
`
/..
srcdir
=
`
pwd
`
cd
$WORKDIR
latex
=
latex
aux
=
''
pdf
=
''
if
[
"
$1
"
=
"--pdf"
]
;
then
pdf
=
true
latex
=
pdflatex
shift
1
elif
[
"
$1
"
=
"--aux"
]
;
then
aux
=
true
shift
1
elif
[
"
$1
"
=
"--dvi"
]
;
then
shift
1
fi
part
=
$1
;
shift
1
TEXINPUTS
=
.:
$srcdir
/
$part
:
$TEXINPUTS
export
TEXINPUTS
echo
$srcdir
'/tools/newind.py >'
$part
'.ind'
$srcdir
/tools/newind.py
>
$part
.ind
||
exit
$?
echo
$srcdir
'/tools/newind.py modindex >mod'
$part
'.ind'
$srcdir
/tools/newind.py modindex
>
mod
$part
.ind
||
exit
$?
echo
"
$latex
$part
"
$latex
$part
||
exit
$?
if
[
!
-f
mod
$part
.idx
]
;
then
echo
"Not using module index; removing mod
$part
.ind"
rm
mod
$part
.ind
||
exit
$?
fi
if
[
"
$aux
"
]
;
then
# make sure the .dvi isn't interpreted as useful:
rm
$part
.dvi
||
exit
$?
else
if
[
-f
$part
.idx
]
;
then
# using the index
echo
$srcdir
'/tools/fix_hack '
$part
'.idx'
$srcdir
/tools/fix_hack
$part
.idx
||
exit
$?
echo
'makeindex -s '
$srcdir
'/texinputs/python.ist '
$part
'.idx'
makeindex
-s
$srcdir
/texinputs/python.ist
$part
.idx
||
exit
$?
echo
$srcdir
'/tools/indfix.py '
$part
'.ind'
$srcdir
/tools/indfix.py
$part
.ind
||
exit
$?
else
# skipping the index; clean up the unused file
rm
-f
$part
.ind
fi
if
[
-f
mod
$part
.idx
]
;
then
# using the index
echo
'makeindex -s '
$srcdir
'/texinputs/python.ist mod'
$part
'.idx'
makeindex
-s
$srcdir
/texinputs/python.ist mod
$part
.idx
||
exit
$?
fi
if
[
"
$pdf
"
]
;
then
echo
$srcdir
'/tools/toc2bkm.py '
$part
$srcdir
/tools/toc2bkm.py
$part
||
exit
$?
fi
echo
"
$latex
$part
"
$latex
$part
||
exit
$?
fi
Doc/tools/mkhtml.sh
deleted
100755 → 0
Dosyayı görüntüle @
8bc627a4
#! /bin/sh
#
# Drive HTML generation for a Python manual.
#
# This is probably *not* useful outside of the standard Python documentation,
# but suggestions are welcome and should be sent to <python-docs@python.org>.
#
# The first arg is required and is the designation for which manual to build;
# api, ext, lib, ref, or tut. All other args are passed on to latex2html.
WORKDIR
=
`
pwd
`
cd
`
dirname
$0
`
/..
srcdir
=
`
pwd
`
cd
$WORKDIR
use_logical_names
=
true
if
[
"
$1
"
=
"--numeric"
]
;
then
use_logical_names
=
false
shift
1
fi
part
=
$1
;
shift
1
TEXINPUTS
=
$srcdir
/
$part
:
$TEXINPUTS
export
TEXINPUTS
if
[
-d
$part
]
;
then
rm
-f
$part
/
*
.html
else
mkdir
$part
fi
echo
"latex2html -no_auto_link"
\
"-up_url '../index.html' -up_title 'Documentation Index'"
\
"-init_file
$srcdir
/perl/l2hinit.perl -dir
$part
"
\
"
${
1
:+
$@
}
$srcdir
/
$part
/
$part
.tex"
latex2html
\
-no_auto_link
\
-up_url
'../index.html'
\
-up_title
'Documentation Index'
\
-init_file
$srcdir
/perl/l2hinit.perl
\
-address
'<hr>See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.'
\
-dir
$part
\
${
1
:+
$@
}
\
$srcdir
/
$part
/
$part
.tex
||
exit
$?
cp
$part
/
$part
.html
$part
/index.html
# copy in the stylesheet
echo
"cp
$srcdir
/html/style.css
$part
/
$part
.css"
cp
$srcdir
/html/style.css
$part
/
$part
.css
||
exit
$?
if
$use_logical_names
;
then
echo
"(cd
$part
;
$srcdir
/tools/node2label.pl
\*
.html)"
cd
$part
$srcdir
/tools/node2label.pl
*
.html
||
exit
$?
else
echo
"Skipping use of logical file names due to --numeric."
fi
Doc/tools/newind.py
deleted
100755 → 0
Dosyayı görüntüle @
8bc627a4
#! /usr/bin/env python
"""Really nasty little script to create an empty, labeled index on stdout.
Do it this way since some shells seem to work badly (and differently) with
the leading '
\b
' for the first output line. Specifically, /bin/sh on
Solaris doesn't seem to get it right. Once the quoting works there, it
doesn't work on Linux any more. ;-(
"""
__version__
=
'$Revision$'
# $Source$
import
sys
if
sys
.
argv
[
1
:]:
label
=
sys
.
argv
[
1
]
else
:
label
=
"genindex"
print
"
\\
begin{theindex}"
print
"
\\
label{
%
s}"
%
label
print
"
\\
end{theindex}"
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