File tree 6 files changed +58
-20
lines changed
6 files changed +58
-20
lines changed Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : macos-latest # Faster PyTorch installation
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Install pandoc
16
+ uses : pandoc/actions/setup@v1
17
+
18
+ - name : Install uv
19
+ uses : astral-sh/setup-uv@v5
20
+ with :
21
+ version : " latest"
22
+
23
+ - name : Build the doc
24
+ run : make docs
25
+
26
+ - name : Upload static files
27
+ uses : actions/upload-pages-artifact@v3
28
+ with :
29
+ path : docs/build/
30
+
31
+ deploy :
32
+ needs : build
33
+ runs-on : ubuntu-latest
34
+ permissions :
35
+ pages : write
36
+ id-token : write
37
+ environment :
38
+ name : github-pages
39
+ url : ${{ steps.deployment.outputs.page_url }}
40
+ steps :
41
+ - name : Deploy to GitHub Pages
42
+ id : deployment
43
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change
1
+ .PHONY : docs
2
+
3
+ docs :
4
+ rm -rf docs/build
5
+ uv run --group doc jupyter nbconvert --clear-output --inplace docs/** /* .ipynb
6
+ uv run --group doc sphinx-build -b html docs docs/build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
API reference
3
3
=============
4
4
5
+ .. autofunction :: fastabx.zerospeech_abx
6
+
5
7
Standard classes and functions
6
8
==============================
7
9
8
- .. autofunction :: fastabx.zerospeech_abx
9
-
10
10
Dataset
11
11
-------
12
12
53
53
---
54
54
55
55
.. autofunction :: fastabx.dtw.dtw
56
- .. autofunction :: fastabx.dtw.dtw_batch
56
+ .. autofunction :: fastabx.dtw.dtw_batch
Original file line number Diff line number Diff line change 17
17
version = metadata (project )["Version" ]
18
18
release = version
19
19
20
+ autodoc_typehints = "description"
20
21
exclude_patterns = ["build" ]
21
22
html_theme = "furo"
22
- html_static_path = ["_static" ]
Original file line number Diff line number Diff line change 2
2
Install
3
3
=======
4
4
5
- Installing the latest release
6
- =============================
5
+ Latest release
6
+ ==============
7
7
8
8
Install the package with pip:
9
9
@@ -16,8 +16,8 @@ The pinned PyTorch version is the one available on PyPI.
16
16
17
17
fastabx is available on Linux x86-64 and aarch64 (with glibc 2.34 or later [#glibc ]_), macOS arm64, and Windows x86-64.
18
18
19
- Building from source
20
- ====================
19
+ Build from source
20
+ =================
21
21
22
22
1. Clone the repository:
23
23
@@ -45,4 +45,4 @@ Footnotes
45
45
This means you have to have to use the exact version of PyTorch this package was compiled against.
46
46
47
47
.. [#glibc ] The glibc constraint is due to the runners available in GitHub CI. If you build from source,
48
- you can use the lowest version of glibc supported by PyTorch.
48
+ you can use the lowest version of glibc supported by PyTorch.
You can’t perform that action at this time.
0 commit comments