Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First working version #1

Merged
merged 2 commits into from
Feb 18, 2024
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
41 changes: 41 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build Docs

on:
push:
branches: ["main", "dev"]

jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with docs
- name: Quardo Doc Build
run: |
quartodoc build --config doc/_quarto.yml
- uses: quarto-dev/quarto-actions/setup@v2
- name: Render and publish to gh pages
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
path: docs
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

notebooks/
docs/_site
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# fave-syllabify
![Static Badge](https://img.shields.io/badge/%E2%9A%A0%EF%B8%8F-work_in_progress-red)
Syllabify a force-aligned TextGrid
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
27 changes: 26 additions & 1 deletion docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,36 @@ project:

license: GPLv3

website:
page-navigation: true
navbar:
logo: assets/logo.png
left:
- file: index.qmd
text: Get Started
- href: reference/
text: Reference

format:
html:
theme:
light: flatly
dark: darkly
toc: true

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

quartodoc:
# the name used to import the package you want to create reference docs for
package: aligned_textgrid
package: fave_syllabify
style: pkgdown
dir: reference
# write sidebar data to this file
sidebar: "reference/_sidebar.yml"
parser: google
sections:
- title: Reference
contents:
- syllabify
Binary file added docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading