Browse Source

upd website

pull/1/head
miili 4 years ago
parent
commit
0844a708eb
  1. 5
      deploy-website.sh
  2. 4
      source/index.rst
  3. 2
      source/style.css

5
deploy-website.sh

@ -1,6 +1,6 @@
#!/bin/bash
set -e
if [ ! -f update-website.sh ] ; then
if [ ! -f deploy-website.sh ] ; then
echo "must be run from main directory!"
exit 1
fi
@ -11,8 +11,7 @@ read -r -p "Are your sure to update live http://pyrocko.org [y/N]?" resp
case $resp in
[yY][eE][sS]|[yY] )
scp -r build/html/* pyrocko@hive:/var/www/pyrocko.org;
break
;;
* ) exit
* )
;;
esac

4
source/index.rst

@ -1,4 +1,4 @@
.. image:: http://pyrocko.org/v0.3/_images/pyrocko_shadow.png
.. image:: https://pyrocko.org/docs/current/_images/pyrocko_shadow.png
:align: left
*************************************
@ -65,7 +65,7 @@ researchers and students wishing to develop their own applications.
</div>
New Pyrocko version: 2017.11
New Pyrocko version 2017.11
============================
* **Python 2/3 support**

2
source/style.css

@ -24,7 +24,7 @@ div#new-pyrocko-version-2017-11 {
padding: .75em 1em;
background-color: #fafafa;
border-radius: 3px;
border: .1px solid #bdbdbd;
border: 1px solid #bdbdbd;
}
div#new-pyrocko-version-2017-11 a {

Loading…
Cancel
Save