Skip to content

Commit

Permalink
sprucing up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoFrhwld committed May 18, 2024
1 parent ce07e95 commit b08dcb7
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 804 deletions.
5 changes: 4 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/.quarto/
_site/
_site/
_inv/
objects.txt
reference/
14 changes: 10 additions & 4 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ project:
output-dir: _site

website:
title: fave-recode
page-navigation: true
image: assets/logo.png
favicon: assets/logo.png
Expand Down Expand Up @@ -47,23 +48,28 @@ format:
dark: [darkly, styles/dark.scss]
css: styles/styles.css
toc: true
filters:
- codeblocklabel


# tell quarto to read the generated sidebar
metadata-files:
- reference/_sidebar.yml

filters:
- "interlinks"
- codeblocklabel

interlinks:
fast: true
sources:
numpy:
url: https://numpy.org/doc/stable/
python:
url: https://docs.python.org/3/
griffe:
url: https://mkdocstrings.github.io/griffe/
aligned_textgrid:
url: https://forced-alignment-and-vowel-extraction.github.io/alignedTextGrid/

resources:
- objects.inv

quartodoc:
# the name used to import the package you want to create reference docs for
Expand Down
17 changes: 17 additions & 0 deletions docs/objects.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import fave_recode
import sphobjinv as soi
from pathlib import Path
inv = soi.Inventory(fname_plain = Path("objects.txt"))

for idx in range(len(inv.objects)):
obj = inv.objects[idx]
basename = obj.name.split(".")[-1]
if hasattr(fave_recode, basename):
obj_dict = obj.json_dict()
obj_dict["name"] = "fave_recode." + basename
new_obj = soi.DataObjStr(**obj_dict)
inv.objects.append(new_obj)

df = inv.data_file()
dfc = soi.compress(df)
soi.writebytes("objects.inv", dfc)
29 changes: 0 additions & 29 deletions docs/reference/_sidebar.yml

This file was deleted.

24 changes: 0 additions & 24 deletions docs/reference/fave_recode.relations.contains_relation.qmd

This file was deleted.

18 changes: 0 additions & 18 deletions docs/reference/fave_recode.relations.equals_relation.qmd

This file was deleted.

18 changes: 0 additions & 18 deletions docs/reference/fave_recode.relations.excludes_relation.qmd

This file was deleted.

23 changes: 0 additions & 23 deletions docs/reference/fave_recode.relations.in_relation.qmd

This file was deleted.

30 changes: 0 additions & 30 deletions docs/reference/fave_recode.relations.negate.qmd

This file was deleted.

24 changes: 0 additions & 24 deletions docs/reference/fave_recode.relations.not_in_relation.qmd

This file was deleted.

18 changes: 0 additions & 18 deletions docs/reference/fave_recode.relations.rematches_relation.qmd

This file was deleted.

43 changes: 0 additions & 43 deletions docs/reference/index.qmd

This file was deleted.

75 changes: 0 additions & 75 deletions docs/reference/labelset_parser.LabelSetParser.qmd

This file was deleted.

Loading

0 comments on commit b08dcb7

Please sign in to comment.