Skip to content

Commit

Permalink
Merge pull request #71 from FNBBDevs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ethanlchristensen authored Oct 5, 2024
2 parents 661bdfd + 74ae55d commit 0dc547e
Show file tree
Hide file tree
Showing 18 changed files with 58 additions and 31 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: documentation

on: [push, pull_request, workflow_dispatch]

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx build
run: |
sphinx-build doc _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true
Binary file added bruhanimate.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion bruhanimate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
)


__version__ = "0.2.64"
__version__ = "0.2.65"
__valid_demos__ = [
"static_demo",
"offset_demo",
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/audio_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images, GRADIENTS, CenterRenderer

from ..bruhutil import Screen, images, GRADIENTS
from ..bruhrenderer import CenterRenderer

def audio(screen):
renderer = CenterRenderer(
Expand Down
6 changes: 3 additions & 3 deletions bruhanimate/demos/chatbot_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import openai
os.system(" ")

from bruhanimate import Buffer, Screen
from bruhanimate import EffectRenderer
from bruhanimate import TwinkleEffect
from ..bruhutil import Buffer, Screen
from ..bruhrenderer import EffectRenderer
from ..bruheffect import TwinkleEffect


def chatbot(screen: Screen, openai_api_key: str, name: str):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/gol_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def gol(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/holiday.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, get_image
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, get_image
from ..bruhrenderer import CenterRenderer


def holiday(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/line_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system("")

from bruhanimate import Screen, images
from bruhanimate import PanRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import PanRenderer


def demo(screen, img, frames, time, effect, background, transparent):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/matrix_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def matrix(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/noise_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def noise(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/offset_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def offset(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/plasma_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import FocusRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import FocusRenderer


def show(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/rain_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def rain(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/snow_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def snow(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/stars_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen
from bruhanimate import EffectRenderer
from ..bruhutil import Screen
from ..bruhrenderer import EffectRenderer


def stars(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/static_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def static(screen):
Expand Down
4 changes: 2 additions & 2 deletions bruhanimate/demos/twinkle_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import os
os.system(" ")

from bruhanimate import Screen, images
from bruhanimate import CenterRenderer
from ..bruhutil import Screen, images
from ..bruhrenderer import CenterRenderer


def twinkle(screen):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()

VERSION = "0.2.64"
VERSION = "0.2.65"
DESCRIPTION = 'ASCII Terminal Animation Package'
LONG_DESCRIPTION = 'A package that allows for various animations in the terminal'

Expand Down

0 comments on commit 0dc547e

Please sign in to comment.