Skip to content

Commit

Permalink
Better comments for docs (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
C-Loftus and pre-commit-ci[bot] authored Mar 5, 2024
1 parent 76ed09d commit 531b16f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
python-version: "3.10"
cache: "pip"
cache-dependency-path: |
requirements-docs.txt
.github/requirements-docs.txt
- name: Install dependencies
run: pip install -r requirements-docs.txt
run: pip install -r .github/requirements-docs.txt

- name: Build docs
run: |
Expand Down
6 changes: 5 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

project = "Talon-AI-Tools"
copyright = "2024 Colton Loftus"
author = "Colton Loftus, Joshua Aretsy, Pokey Rule, and Others"
author = "Colton Loftus, Joshua Aretsy, Pokey Rule, and others from the Talon Community"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -31,6 +31,7 @@
# Enables definition lists
# https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#definition-lists
"deflist",
"substitution",
]

# -- Options for TalonDoc ----------------------------------------------------
Expand All @@ -46,3 +47,6 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "sphinx_rtd_theme"


myst_substitutions = {"author": author}
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Documentation for talon-ai-tools

This is a placeholder.
This is a placeholder. Documentation is automatically generated using talondoc and Github Actions.

To generate the documentation, run:
To generate the documentation locally, run:

```sh
python -X utf8 -m talondoc autogen -o docs --generate-index
Expand Down
6 changes: 6 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- This document is used for generating the docs, with this index.md being the docs root -->

# Talon-AI-Tools Documentation

:::{toctree}
Expand All @@ -15,3 +17,7 @@ Use large language models and AI tools alongside Talon. Currently supports:
- OpenAI API for image generation and vision

These tools are helpful to automatically generate text, fix errors in dictation, and generally speed up your Talon workflow.

## Authors

This repository contains code from {{author}}

0 comments on commit 531b16f

Please sign in to comment.