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
827bb9fb
Kaydet (Commit)
827bb9fb
authored
Kas 30, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adjust to allow an explanation of the changes to be included in the
notification message.
üst
e463f8e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
push-docs.sh
Doc/tools/push-docs.sh
+7
-1
update-docs.sh
Doc/tools/update-docs.sh
+6
-1
No files found.
Doc/tools/push-docs.sh
Dosyayı görüntüle @
827bb9fb
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
# Script to push docs from my development area to SourceForge, where the
# Script to push docs from my development area to SourceForge, where the
# update-docs.sh script unpacks them into their final destination.
# update-docs.sh script unpacks them into their final destination.
TARGET
=
python.sourceforge.net:/home/users/fdrake
if
[
"
$1
"
]
;
then
scp
"
$1
"
$TARGET
/python-docs-update.txt
||
exit
$?
fi
START
=
"
`
pwd
`
"
START
=
"
`
pwd
`
"
MYDIR
=
"
`
dirname
$0
`
"
MYDIR
=
"
`
dirname
$0
`
"
cd
"
$MYDIR
"
cd
"
$MYDIR
"
...
@@ -14,4 +20,4 @@ make --no-print-directory || exit $?
...
@@ -14,4 +20,4 @@ make --no-print-directory || exit $?
cd
..
cd
..
RELEASE
=
`
grep
'^RELEASE='
Makefile |
sed
's|RELEASE=||'
`
RELEASE
=
`
grep
'^RELEASE='
Makefile |
sed
's|RELEASE=||'
`
make
--no-print-directory
HTMLDIR
=
"
$HTMLDIR
"
bziphtml
make
--no-print-directory
HTMLDIR
=
"
$HTMLDIR
"
bziphtml
scp
"html-
$RELEASE
.tar.bz2"
python.sourceforge.net:/home/users/fdrake
/python-docs-update.tar.bz2
scp
"html-
$RELEASE
.tar.bz2"
$TARGET
/python-docs-update.tar.bz2
Doc/tools/update-docs.sh
Dosyayı görüntüle @
827bb9fb
...
@@ -11,7 +11,8 @@ if [ -z "$HOME" ] ; then
...
@@ -11,7 +11,8 @@ if [ -z "$HOME" ] ; then
export
HOME
export
HOME
fi
fi
UPDATES
=
/home/users/fdrake/python-docs-update.tar.bz2
UPDATES
=
$HOME
/python-docs-update.tar.bz2
INFO
=
$HOME
/python-docs-update.txt
if
[
-f
"
$UPDATES
"
]
;
then
if
[
-f
"
$UPDATES
"
]
;
then
cd
/home/groups/python/htdocs
cd
/home/groups/python/htdocs
...
@@ -20,11 +21,15 @@ if [ -f "$UPDATES" ] ; then
...
@@ -20,11 +21,15 @@ if [ -f "$UPDATES" ] ; then
cd
devel-docs
||
exit
$?
cd
devel-docs
||
exit
$?
(
bzip2
-dc
"
$UPDATES
"
|
tar
xf -
)
||
exit
$?
(
bzip2
-dc
"
$UPDATES
"
|
tar
xf -
)
||
exit
$?
rm
"
$UPDATES
"
||
exit
$?
rm
"
$UPDATES
"
||
exit
$?
EXPLANATION
=
"
`
cat
$INFO
`
"
Mail
-s
'[development doc updates]'
\
Mail
-s
'[development doc updates]'
\
python-dev@python.org doc-sig@python.org
\
python-dev@python.org doc-sig@python.org
\
<<
EOF
<<
EOF
The development version of the documentation has been updated:
The development version of the documentation has been updated:
http://python.sourceforge.net/devel-docs/
http://python.sourceforge.net/devel-docs/
$EXPLANATION
EOF
EOF
rm
-f
$HOME
/python-docs-update.txt
fi
fi
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