Skip to content

Commit

Permalink
Merge pull request #38 from dhhagan/dhhagan-feature-docs
Browse files Browse the repository at this point in the history
Add examples and docs
  • Loading branch information
dhhagan authored Apr 25, 2024
2 parents 6c6a116 + 84cc0c2 commit bd9ba75
Show file tree
Hide file tree
Showing 15 changed files with 978 additions and 465 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: docs/gh-pages
on: [workflow_dispatch]

jobs:
build-docs:
name: Build the docs and push to github pages
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.8

- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true

- name: Install dependencies
run: poetry install --no-interaction

- name: build docs
run: |
source $(poetry env info --path)/bin/activate
cd docs
make clean
make notebooks html
cd ..
- name: deploy to gh-pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
email: [email protected]
build_dir: docs/_build/html
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# atmospy: air quality data visualization


<!-- [![PyPI version](https://badge.fury.io/py/quantaq-cli.svg)](https://badge.fury.io/py/atmospy) -->
<!-- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/atmospy)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/quant-aq/atmospy/blob/master/LICENSE) -->
[![PyPI version](https://badge.fury.io/py/atmospy.svg)](https://badge.fury.io/py/atmospy)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/atmospy)
[![Tests](https://github.com/dhhagan/atmospy/actions/workflows/tests.yml/badge.svg)](https://github.com/dhhagan/atmospy/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/dhhagan/atmospy/branch/main/graph/badge.svg)](https://codecov.io/gh/dhhagan/atmospy)
![Apache 2.0 licensed](https://img.shields.io/github/license/dhhagan/atmospy)
Expand Down
1 change: 0 additions & 1 deletion atmospy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from .utils import *
from .rcmod import *
from .calendar import *
from .relational import *
from .trends import *
from .rose import *
Expand Down
299 changes: 0 additions & 299 deletions atmospy/calendar.py

This file was deleted.

Loading

0 comments on commit bd9ba75

Please sign in to comment.