Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
User guide
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NEMO Workspace
Documentation
User guide
Commits
e913a4b1
Commit
e913a4b1
authored
2 years ago
by
Nicolas Martin
Browse files
Options
Downloads
Patches
Plain Diff
Import build bash script
parent
e3c35821
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
guide_build.sh
+29
-0
29 additions, 0 deletions
guide_build.sh
with
29 additions
and
0 deletions
guide_build.sh
0 → 100755
+
29
−
0
View file @
e913a4b1
#!/bin/sh
## Avoid the use of shell builtin echo (for -e option)
alias echo
=
'/bin/echo -e'
## Check dependancies
##-------------------
## Sphinx, BibTeX extension and "Read The Docs" theme
if
[
-n
"
$(
./tools/check_pkg.py sphinx sphinxcontrib.bibtex sphinx_rtd_theme
)
"
]
;
then
echo
'One of the Python dependencies is missing => QUIT'
exit
2
fi
cd
rst
echo
"
\t
¤ Clean previous build"
make clean
echo
echo
"
\t
¤ Generation of the guide"
make html
>
/dev/null
echo
echo
"
\t
¤ End of building run"
echo
"Open ./rst/build/html/NEMO_guide.html"
cd
-
>
/dev/null
exit
0
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