Skip to content

Commit

Permalink
fix: updating pushdoc.sh
Browse files Browse the repository at this point in the history
To work with github pages. Also changes the generation of the
evg-usage pdf to use pdflatex.
  • Loading branch information
gabrielfedel committed Jan 31, 2024
1 parent ee12cf4 commit 13ae729
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/pushdoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ die() {
builddoc() {
doxygen
lyx -batch -e pdf evr-usage.lyx
lyx -batch -e pdf evg-usage.lyx
lyx -batch -e pdflatex evg-usage.lyx
pdflatex evg-usage
mv evg-usage.pdf evr-usage.pdf html/
}

(cd documentation && builddoc)

rsync -av --delete "$@" documentation/html/ $USER,[email protected]:/home/project-web/epics/htdocs/mrfioc2/
git checkout gh-pages
cp -r documentation/html/* .
rm -rf documentation
git add .
git commit -m "Last updates to documentation"
git push origin gh-pages

0 comments on commit 13ae729

Please sign in to comment.