Skip to content
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
61 changes: 61 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: docs

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: |
requirements.txt
docs/requirements.txt

- name: Install dependencies
# The package itself is not installed: docs/conf.py puts the repository
# root on sys.path, so autodoc imports xarray_video from the source tree.
# Only its runtime imports need to resolve.
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r docs/requirements.txt

- name: Build HTML docs
run: |
sphinx-build -b html docs docs/_build/html
touch docs/_build/html/.nojekyll

- name: Upload Pages artifact
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html

deploy:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ instance/
.scrapy

# Sphinx documentation
#docs/_build/
docs/_build/

# PyBuilder
target/
Expand Down
9 changes: 0 additions & 9 deletions .gitlab-ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ xarray accessor and zarr codec for working with video data.
pip install xarray-video
```

Documentation is at: https://xarray-video.readthedocs.io/
Documentation is at: https://oceanum.github.io/xarray-video/
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Xarray extension for working with video data.


* MIT license
* Documentation: https://xarray-video.readthedocs.io.
* Github: https://github.com/oceanum-io/xarray-video
* Documentation: https://oceanum.github.io/xarray-video/
* Github: https://github.com/oceanum/xarray-video


Features
Expand Down
Binary file removed docs/_build/doctrees/about.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/api.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/installation.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/modules.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/usage.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/xarray_video.codecs.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/xarray_video.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/_build/html/.buildinfo

This file was deleted.

213 changes: 0 additions & 213 deletions docs/_build/html/_modules/index.html

This file was deleted.

Loading
Loading