Skip to content

Commit e91afe5

Browse files
Added documentation example and refactored example data.
1 parent aff2caf commit e91afe5

File tree

13 files changed

+381
-309
lines changed

13 files changed

+381
-309
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
sudo apt-get install -y lftp
32+
sudo apt-get install -y lftp quarto
3333
python -m pip install --upgrade pip
34-
python -m pip install build myst-parser setuptools sphinx sphinx-autodoc-typehints
34+
python -m pip install build jupyter myst-parser setuptools sphinx sphinx-autodoc-typehints
3535
3636
- name: Build Sphinx docs
3737
run: |
38-
python -m pip install ltn matplotlib numpy pandas rapidfuzz tensorflow
3938
python -m build
4039
python -m pip install dist/$(basename `ls -Art dist | tail -n 1` -py3-none-any.whl).tar.gz
4140
cd docs

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ make html
105105

106106
# Development Notes
107107

108-
## Documentation
109-
110108
## Logo
111109
The logo was designed using [Microsoft Designer](https://designer.microsoft.com/) and [GNU Image Manipulation Program (GIMP)](https://www.gimp.org/). The hexagon version of the logo was generated with the R package [hexSticker](https://github.com/GuangchuangYu/hexSticker). It uses the [Philosopher](https://fonts.google.com/specimen/Philosopher) font.
112110

docs/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20+
cp "$(SOURCEDIR)/../../LICENSE.txt" "$(SOURCEDIR)/LICENSE.md"
21+
cp "$(SOURCEDIR)/../../README.md" "$(SOURCEDIR)/README.md"
22+
sed -i 's/LICENSE.txt/LICENSE.md/g' "$(SOURCEDIR)/README.md"
23+
sed -i 's/<a.*hex-logo.png.*<\/a>//g' "$(SOURCEDIR)/README.md"
2024
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
25+
quarto render "$(SOURCEDIR)/_static/examples/dl-matching.qmd" --output-dir ../../../build/

docs/source/LICENSE.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/source/README.md

Lines changed: 0 additions & 165 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.quarto/

0 commit comments

Comments
 (0)