Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
a9a5fc37
Kaydet (Commit)
a9a5fc37
authored
May 19, 2017
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert tabs to spaces.
Change-Id: I4c718740bebbde123aa0aa0cbae53778d840055b
üst
96e5f667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
mkdocs.sh
solenv/bin/mkdocs.sh
+24
-24
No files found.
solenv/bin/mkdocs.sh
Dosyayı görüntüle @
a9a5fc37
...
@@ -20,28 +20,28 @@ function header {
...
@@ -20,28 +20,28 @@ function header {
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<html>
<head>
<head>
<title>
$title
</title>
<title>
$title
</title>
<style>
<style>
* { margin: 0; padding: 0; }
* { margin: 0; padding: 0; }
body { font-family: sans-serif; font-size: 12px; }
body { font-family: sans-serif; font-size: 12px; }
#head { padding: 20px; background: #00A500; }
#head { padding: 20px; background: #00A500; }
#head a { color: #000; }
#head a { color: #000; }
#body { padding: 20px; }
#body { padding: 20px; }
#foot { padding: 10px; font-size: 9px; border-top: 1px #18A303 solid; margin-top: 25px; }
#foot { padding: 10px; font-size: 9px; border-top: 1px #18A303 solid; margin-top: 25px; }
p { line-height: 1.7em; margin-bottom: 1em; }
p { line-height: 1.7em; margin-bottom: 1em; }
pre { margin-bottom: 0.5em; }
pre { margin-bottom: 0.5em; }
.multi-col { -moz-column-width: 20em; -webkit-column-width: 20em; -moz-column-gap: 1em; -webkit-column-gap: 1em; }
.multi-col { -moz-column-width: 20em; -webkit-column-width: 20em; -moz-column-gap: 1em; -webkit-column-gap: 1em; }
h1 { margin-bottom: 0.5em; }
h1 { margin-bottom: 0.5em; }
h2,h3,h4 { margin: 1.3em 0 0.5em 0; }
h2,h3,h4 { margin: 1.3em 0 0.5em 0; }
ul, ol { margin: 0.5em 1.5em; }
ul, ol { margin: 0.5em 1.5em; }
</style>
</style>
</head>
</head>
<body>
<body>
<div id="head">
<div id="head">
<h1>
$title
</h1>
<h1>
$title
</h1>
<p>
$breadcrumb
</p>
<p>
$breadcrumb
</p>
</div>
</div>
<div id="body" style="multi-col">
<div id="body" style="multi-col">
EOF
EOF
}
}
...
@@ -209,26 +209,26 @@ header "LibreOffice Modules" " " "$BASE_OUTPUT/index.html"
...
@@ -209,26 +209,26 @@ header "LibreOffice Modules" " " "$BASE_OUTPUT/index.html"
for
module_name
in
*
;
do
for
module_name
in
*
;
do
if
[
-d
$module_name
]
;
then
if
[
-d
$module_name
]
;
then
cur_file
=
$(
echo
$module_name
/README
*
$module_name
/readme.txt
*)
cur_file
=
$(
echo
$module_name
/README
*
$module_name
/readme.txt
*)
if
[
-f
"
$cur_file
"
]
;
then
if
[
-f
"
$cur_file
"
]
;
then
# write index.html entry
# write index.html entry
text
=
"<h2><a href=
\"
${
module_name
}
.html
\"
>
${
module_name
}
</a></h2>
\n
"
text
=
"<h2><a href=
\"
${
module_name
}
.html
\"
>
${
module_name
}
</a></h2>
\n
"
text
=
"
${
text
}$(
head
-n1
$cur_file
| proc_text
)
"
text
=
"
${
text
}$(
head
-n1
$cur_file
| proc_text
)
"
echo
-e
$text
>>
"
$BASE_OUTPUT
/index.html"
echo
-e
$text
>>
"
$BASE_OUTPUT
/index.html"
# write detailed module content
# write detailed module content
header
"
$module_name
"
"<a href=
\"
index.html
\"
>LibreOffice</a> »
${
module_name
}
"
"
$BASE_OUTPUT
/
${
module_name
}
.html"
header
"
$module_name
"
"<a href=
\"
index.html
\"
>LibreOffice</a> »
${
module_name
}
"
"
$BASE_OUTPUT
/
${
module_name
}
.html"
text
=
"<p><b>View module in:</b>"
text
=
"<p><b>View module in:</b>"
text
=
"
${
text
}
<a href=
\"
http://cgit.freedesktop.org/libreoffice/core/tree/
${
module_name
}
\"
>cgit</a>"
text
=
"
${
text
}
<a href=
\"
http://cgit.freedesktop.org/libreoffice/core/tree/
${
module_name
}
\"
>cgit</a>"
if
$(
echo
$INPUT_PROJECTS
|
grep
-q
$module_name
)
;
then
if
$(
echo
$INPUT_PROJECTS
|
grep
-q
$module_name
)
;
then
text
=
"
${
text
}
<a href=
\"
${
module_name
}
/html/classes.html
\"
>Doxygen</a>"
text
=
"
${
text
}
<a href=
\"
${
module_name
}
/html/classes.html
\"
>Doxygen</a>"
fi
fi
text
=
"
${
text
}
</p><p> </p>"
text
=
"
${
text
}
</p><p> </p>"
echo
-e
$text
>>
"
$BASE_OUTPUT
/
${
module_name
}
.html"
echo
-e
$text
>>
"
$BASE_OUTPUT
/
${
module_name
}
.html"
proc_text <
$cur_file
>>
"
$BASE_OUTPUT
/
${
module_name
}
.html"
proc_text <
$cur_file
>>
"
$BASE_OUTPUT
/
${
module_name
}
.html"
footer
"
$BASE_OUTPUT
/
${
module_name
}
.html"
footer
"
$BASE_OUTPUT
/
${
module_name
}
.html"
else
else
empty_modules[
${#
empty_modules
[*]
}
]=
$module_name
empty_modules[
${#
empty_modules
[*]
}
]=
$module_name
fi
fi
fi
fi
done
done
if
[
${#
empty_modules
[*]
}
-gt
0
]
;
then
if
[
${#
empty_modules
[*]
}
-gt
0
]
;
then
...
...
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