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
4f687b30
Kaydet (Commit)
4f687b30
authored
Ock 08, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add new reference macro: \seelink
üst
91f5cbe2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
doc.tex
Doc/doc/doc.tex
+10
-1
python.perl
Doc/perl/python.perl
+13
-0
python.sty
Doc/texinputs/python.sty
+10
-0
No files found.
Doc/doc/doc.tex
Dosyayı görüntüle @
4f687b30
...
...
@@ -1395,11 +1395,20 @@ This \UNIX\ is also followed by a space.
For each of the following macros,
\var
{
why
}
should be one or more
complete sentences, starting with a capital letter (unless it
starts with an identifier, which should not be modified), and
ending with the apropriate punctuation.
ending with the ap
p
ropriate punctuation.
These macros are only defined within the content of the
\env
{
seealso
}
and
\env
{
seealso*
}
environments.
\begin{macrodesc}
{
seelink
}{
\p
{
url
}
\p
{
linktext
}
\p
{
why
}}
References to specific on-line resources should be given using
the
\macro
{
seelink
}
macro if they don't have a meaningful title
but there is some short description of what's at the end of the
link. Online documents which have identifiable titles should be
referenced using the
\macro
{
seetitle
}
macro, using the optional
parameter to that macro to provide the URL.
\end{macrodesc}
\begin{macrodesc}
{
seemodule
}{
\op
{
key
}
\p
{
name
}
\p
{
why
}}
Refer to another module.
\var
{
why
}
should be a brief
explanation of why the reference may be interesting. The module
...
...
Doc/perl/python.perl
Dosyayı görüntüle @
4f687b30
...
...
@@ -1950,6 +1950,19 @@ sub do_cmd_seetitle{
.
$_
;
}
sub
do_cmd_seelink
{
local
(
$_
)
=
@_
;
my
$url
=
next_argument
();
my
$linktext
=
next_argument
();
my
$text
=
next_argument
();
my
$icon
=
get_link_icon
(
$url
);
return
'<dl compact class="seeurl">'
.
"\n <dt><a href='$url'"
.
"\n >$linktext$icon</a></dt>"
.
"\n <dd>$text</dd>\n </dl>"
.
$_
;
}
sub
do_cmd_seeurl
{
local
(
$_
)
=
@_
;
my
$url
=
next_argument
();
...
...
Doc/texinputs/python.sty
Dosyayı görüntüle @
4f687b30
...
...
@@ -1160,6 +1160,14 @@
}
\fi
% \seelink{url}{link text}
\newcommand
{
\py
@seelink
}
[3]
{
%
\par
\begin{fulllineitems}
\item
[\ulink{#2}{#1}]
#3
\end{fulllineitems}
}
% \seetitle[url]{title}{why it's interesting}
\newcommand
{
\py
@seetitle
}
[3][
\py
@modulebadkey]
{
%
\par
...
...
@@ -1204,6 +1212,7 @@
\let\seerfc
=
\py
@seerfc
\let\seetitle
=
\py
@seetitle
\let\seeurl
=
\py
@seeurl
\let\seelink
=
\py
@seelink
}{
\par
}
\newenvironment
{
seealso
}{
\par
...
...
@@ -1215,6 +1224,7 @@
\let\seerfc
=
\py
@seerfc
\let\seetitle
=
\py
@seetitle
\let\seeurl
=
\py
@seeurl
\let\seelink
=
\py
@seelink
}{
\par
}
% Allow the Python release number to be specified independently of the
...
...
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