EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
ESA
PRISM
VS
Commits
d94bc6e0
Commit
d94bc6e0
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
update makefile to sync html files and pdf with client/html
parent
eb64efcc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-2
4 additions, 2 deletions
README.md
documentation/user-guide/Makefile
+23
-0
23 additions, 0 deletions
documentation/user-guide/Makefile
with
27 additions
and
2 deletions
README.md
+
4
−
2
View file @
d94bc6e0
...
...
@@ -219,7 +219,7 @@ docker exec -it $(docker ps -qf "name=emg-pvs_renderer") mv Emergency.sqlite /ca
python3
-m
pip
install
sphinx recommonmark sphinx-autobuild
```
## Generat
ion
## Generat
e html and synchronize with client/html/user-guide
```
bash
make html
...
...
@@ -227,10 +227,12 @@ make html
# For watched html automatic building
make html-watch
# For pdf output
# For pdf output
and sync it to client/html/
make latexpdf
# To shrink size of pdf
gs
-sDEVICE
=
pdfwrite
-dPDFSETTINGS
=
/ebook
-dPrinted
=
false
-q
-o
View-Server_-_User-Guide_small.pdf View-Server_-_User-Guide.pdf
# make latexpdf and make html combined
make build
```
The documentation is generated in the respective
*_build/html*
directory.
...
...
This diff is collapsed.
Click to expand it.
documentation/user-guide/Makefile
+
23
−
0
View file @
d94bc6e0
...
...
@@ -8,6 +8,7 @@ SPHINXBUILD ?= sphinx-build
SPHINXAUTOBUILD
?=
sphinx-autobuild
SOURCEDIR
=
.
BUILDDIR
=
_build
USERGUIDE_VERSION
=
v1.1.0
# Put it first so that "make" without argument is like "make help".
help
:
...
...
@@ -18,6 +19,28 @@ help:
html-watch
:
@$(
SPHINXAUTOBUILD
)
-i
"
$(
BUILDDIR
)
/*"
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
/html"
$(
SPHINXOPTS
)
$(
O
)
html
:
@$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
rm
-rf
../../client/html/user-guide/
*
rsync
-rpE
_build/html/ ../../client/html/user-guide/
latexpdf
:
@$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
gs
-sDEVICE
=
pdfwrite
-dPDFSETTINGS
=
/ebook
-dPrinted
=
false
-q
-o
_build/latex/View-Server_-_User-Guide_small.pdf _build/latex/View-Server_-_User-Guide.pdf
rm
-f
../../client/html/View-Server_-_User-Guide
*
pdf
rsync
-rpE
_build/latex/View-Server_-_User-Guide_small.pdf ../../client/html/View-Server_-_User-Guide_
"
$(
USERGUIDE_VERSION
)
"
.pdf
build
:
# just do html and latexpdf combined
@$(
SPHINXBUILD
)
-M
html
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
rm
-rf
../../client/html/user-guide/
*
rsync
-rpE
_build/html/ ../../client/html/user-guide/
@$(
SPHINXBUILD
)
-M
latexpdf
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
gs
-sDEVICE
=
pdfwrite
-dPDFSETTINGS
=
/ebook
-dPrinted
=
false
-q
-o
_build/latex/View-Server_-_User-Guide_small.pdf _build/latex/View-Server_-_User-Guide.pdf
rm
-f
../../client/html/View-Server_-_User-Guide
*
pdf
rsync
-rpE
_build/latex/View-Server_-_User-Guide_small.pdf ../../client/html/View-Server_-_User-Guide_
"
$(
USERGUIDE_VERSION
)
"
.pdf
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile
...
...
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