Skip to content

Commit

Permalink
Move docs to RTD (#241)
Browse files Browse the repository at this point in the history
* numpy.core.umath_tests no longer public

* Remove doc build from CI because we use RTD now
  • Loading branch information
pllim authored Oct 12, 2023
1 parent 875e92d commit 6e225be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/spherical_geometry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,6 @@ jobs:
pip freeze
pytest
doc_build:
name: Document Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
sudo apt-get install graphviz texlive-latex-extra dvipng
python -m pip install --upgrade pip
python -m pip install -e .[docs]
- name: Build documents with sphinx
run: |
pip freeze
sphinx-build docs build/docs
code_coverage:
name: Code Coverage Report
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion spherical_geometry/great_circle_arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
if HAS_C_UFUNCS:
inner1d = math_util.inner1d
else:
from numpy.core.umath_tests import inner1d
from numpy.core._umath_tests import inner1d

__all__ = ['angle', 'intersection', 'intersects', 'intersects_point',
'length', 'midpoint', 'interpolate']


def _fast_cross(a, b):
"""
This is a reimplementation of `numpy.cross` that only does 3D x
Expand Down

0 comments on commit 6e225be

Please sign in to comment.