Skip to content

Commit

Permalink
Merge pull request #655 from tpersson/scriptToUpload
Browse files Browse the repository at this point in the history
Added a script to deply webpage to server.
  • Loading branch information
madcern committed Aug 10, 2018
2 parents bbab109 + c4c1110 commit 9ff1a85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/latexuguide/coverpage.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
\begin{center}\LARGE % document title
\textbf{The MAD-X Program} \\
(Methodical Accelerator Design) \\
Version 5.04.00 \\
Version 5.04.01 \\
\textbf{User's Reference Manual}
\end{center}
\vskip 1.5em
Expand Down
4 changes: 3 additions & 1 deletion doc/postHtmlCreation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ CURR=$(pwd)
OPHYS=$CURR/html/webguide
cd $OPHYS
cp manual_temp.html manual.html
for FILE in *temp.html; do
for FILE in manual.html; do
echo " cleaning html $FILE"
#sed -i 's/\.<\/span><\/td\>/\\<\/span\>\<\/td\>/g' $FILE
sed -i 's/\.<\/span><\/td>/\<\/span><\/td>/g' $FILE
sed -i 's/Untitled Document/MAD-X guide/g' $FILE


done
2 changes: 2 additions & 0 deletions doc/uploadWebTolxplus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd html
scp -r webguide mad@lxplus:/afs/cern.ch/user/m/mad/madx/www/

0 comments on commit 9ff1a85

Please sign in to comment.