Skip to content

Commit

Permalink
docstring12
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Feb 7, 2021
1 parent 8dab875 commit b3fb735
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 40 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-linux

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-macos

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-windows

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-conda.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-conda

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
25 changes: 1 addition & 24 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: 3.8

# - name: Install package and dependencies
# run: |
# export PATH=$HOME/.local/bin:$PATH
# which python3
# python3 --version
# python3 -m pip install --upgrade pip
# python3 -m pip install --upgrade setuptools
# python3 -m pip install --upgrade numpy
# export CYTHON_BUILD_IN_SOURCE=1
# python3 setup.py build_ext --inplace
# env:
# CYTHON_BUILD_IN_SOURCE: 1

- name: Build and Deploy
uses: JacksonMaxfield/github-pages-deploy-action-python@master
env:
Expand All @@ -42,21 +24,16 @@ jobs:
FOLDER: docs/_build/html
CYTHON_BUILD_IN_SOURCE: 1
BUILD_SCRIPT: |
set -e
set -x
apt-get update
apt-get install gfortran -y
apt-get install gcc -y
which gfortran
export PATH=$HOME/.local/bin:$PATH
which python3
python3 --version
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade numpy
export CYTHON_BUILD_IN_SOURCE=1
python3 setup.py build_ext --inplace
python3 -m pip install sphinx sphinx-math-dollar sphinx-toggleprompt sphinx_rtd_theme sphinx-automodapi
export PATH=$HOME/.local/bin:$PATH
sphinx-apidoc -f -o docs/_modules/ ./special_functions
make html --directory=docs
touch docs/_build/html/.nojekyll
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-pypi

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ We welcome contributions via `Github's pull request <https://github.com/ameli/sp
Related Packages
================

* `scipy.special <https://docs.scipy.org/doc/scipy/reference/special.html>`_: Many special functions were implemented in Scipy's special sub-package. This package is reimplements Bessel functions similar to ``scipy.special``, but with simplified python and cython different interfaces.
* `scipy.special <https://docs.scipy.org/doc/scipy/reference/special.html>`_: Many special functions are available in *scipy.special* package.
* `Gaussian Process <https://github.com/ameli/gaussian-process-param-estimation>`_: A python package that makes use of ``special_functions``.


Expand Down

0 comments on commit b3fb735

Please sign in to comment.