-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: website #106
WIP: website #106
Changes from all commits
98409c5
2e665ca
f9655e3
c168ba2
7985887
6e6ce8b
83cd3e6
9beaf96
7e49b38
f91890b
59a169a
5361a70
0917432
dfad7da
c08ef85
0412582
45adca7
18a9a59
7e871b4
5ed7f04
ca616cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +0,0 @@ | ||
[submodule "doc/nbpublisher"] | ||
path = doc/nbpublisher | ||
url = https://github.com/ioam/ioam-builder.git | ||
branch = nbpublisher | ||
[submodule "doc/builder"] | ||
path = doc/builder | ||
url = https://github.com/ioam/ioam-builder.git | ||
branch = docbuilder | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,69 @@ | ||
# At some point, should probably change to generic (since using conda) | ||
language: python | ||
|
||
sudo: false | ||
|
||
python: | ||
- "2.7" | ||
- "3.6" | ||
stages: | ||
- test | ||
- doc | ||
|
||
install: | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
# Useful for debugging any issues with conda | ||
- conda info -a | ||
- conda create -q -n test-environment -c conda-forge python=$TRAVIS_PYTHON_VERSION nose numpy matplotlib bokeh pandas scipy jupyter ipython param flake8 mock filelock iris cartopy xarray geopandas numpy --quiet | ||
- source activate test-environment | ||
- pip install coveralls | ||
- pip install git+https://github.com/ioam/holoviews.git | ||
- python setup.py install | ||
jobs: | ||
include: | ||
- &default | ||
stage: test | ||
python: "2.7" | ||
before_install: | ||
######################### | ||
##### install conda ##### | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
# Useful for debugging any issues with conda | ||
- conda info -a | ||
######################### | ||
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
- source activate test-environment | ||
install: | ||
- conda install -c conda-forge nose numpy matplotlib bokeh pandas scipy jupyter ipython param flake8 mock filelock iris cartopy xarray geopandas numpy --quiet | ||
- pip install coveralls | ||
- pip install git+https://github.com/ioam/holoviews.git | ||
- python setup.py install | ||
script: | ||
- nosetests --with-doctest --with-coverage --cover-package=geoviews | ||
- flake8 --ignore=E,W . --exclude=./doc | ||
|
||
script: | ||
- nosetests --with-doctest --with-coverage --cover-package=geoviews | ||
- flake8 --ignore=E,W . --exclude=./doc | ||
- <<: *default | ||
python: "3.6" | ||
after_success: coveralls | ||
|
||
after_success: coveralls | ||
- <<: *default | ||
stage: doc | ||
python: "3.6" | ||
script: | ||
# TODO: can't remember why I did this twice | ||
- python -c "import geoviews as gv; gv.sample_data('notebooks/user_guide/sample-data')" | ||
- python -c "import geoviews as gv; gv.sample_data('doc/sample-data')" | ||
- conda install -c conda-forge sphinx beautifulsoup4 graphviz | ||
- pip install nbsite | ||
- pip install sphinx_ioam_theme | ||
# TODO: should make this content available too rather than deleting it! | ||
- rm notebooks/*.ipynb | ||
- cd doc | ||
- nbsite_nbpagebuild.py ioam geoviews ../notebooks . | ||
- sphinx-build -b html . ./_build/html | ||
- nbsite_fix_links.py _build/html | ||
- nbsite_cleandisthtml.py ./_build/html take_a_chance | ||
- cp -r ../notebooks/user_guide/assets _build/html/user_guide/ | ||
- cp -r ../notebooks/user_guide/sample-data _build/html/user_guide/ | ||
- touch ./_build/html/.nojekyll | ||
- cd .. | ||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
local_dir: ./doc/_build/html | ||
on: | ||
tags: true |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
About Us | ||
======== | ||
|
||
GeoViews was developed through a collaboration between `Continuum | ||
Analytics <https://continuum.io>`_ and the `Met Office | ||
<http://www.metoffice.gov.uk>`_. GeoViews is completely `open source | ||
<https://github.com/ioam/geoviews>`_, available under a BSD license | ||
freely for both commercial and non-commercial use. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@philippjfr, forgot to ask: what's in these notebooks, and should it appear somewhere on the website?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I think they are old prototypes and can be deleted or updated. They almost certainly require updates.