Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
a5d3e9ef3da3
Commit
a5d3e9ef3da3
authored
5 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
create documentation: fix indentation and use quote in path of rsync call
parent
f97c35a437d9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create_documentation
+3
-3
3 additions, 3 deletions
create_documentation
with
3 additions
and
3 deletions
create_documentation
+
3
−
3
View file @
a5d3e9ef
...
...
@@ -81,7 +81,7 @@
pushd
$doc_dir
# TODO read value from Makefile
for
language
in
$languages
;
do
make
-e
SPHINXOPTS
=
-Dlanguage
=
${
language
}
$format
make
-e
SPHINXOPTS
=
-Dlanguage
=
${
language
}
$format
if
[[
$?
-eq
0
]]
;
then
# TODO read value from Makefile
builddir
=
_build
...
...
@@ -96,7 +96,7 @@
done
popd
# copy documentation in super project
rsync
-rLptgoD
$doc_dir
$superproject_modules_doc
/
$module
rsync
-rLptgoD
$doc_dir
/
"
$superproject_modules_doc
/
$module
"
# TODO translation will not work when copying like that.
fi
done
...
...
@@ -113,7 +113,7 @@
pushd
$doc_dir
for
language
in
$languages
;
do
make
-e
SPHINXOPTS
=
-Dlanguage
=
${
language
}
$format
if
[[
$?
-eq
0
]]
;
then
if
[[
$?
-eq
0
]]
;
then
# TODO read value from Makefile
builddir
=
_build
dest_dir
=
$out_dir
/
$project_name
/
$language
/
$branch
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment