Skip to content
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

Add examples and docs #38

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading