Skip to content

Update docs and Gh actions #5

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

Merged
merged 5 commits into from
Apr 10, 2025
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
7 changes: 3 additions & 4 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install --all-extras

- name: Build documentation
run: mkdocs build --strict 2>&1 | tee build-log.txt
run: |
poetry install --with dev
poetry run mkdocs build --strict 2>&1 | tee build-log.txt

- name: Check for warnings
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install --all-extras

- name: Deploy documentation
run: mkdocs gh-deploy --force
run: |
poetry install --with dev
poetry run mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build-log.txt
poetry.lock

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To build the documentation locally:

```bash
# Install development dependencies if you haven't already
pip install -e ".[dev]"
poetry install --with dev

# Build the docs
mkdocs build
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This example demonstrates how to create an agent that can access and manage Gmai

Before running this example, make sure you have:

1. Installed `agents-arcade` (see [Installation](installation.md))
1. Installed `agents-arcade` (see [Installation](../getting-started/installation.md))
2. An Arcade API key (sign up at [arcade.dev](https://arcade.dev) if you don't have one)
3. An [OpenAI API Key](https://platform.openai.com/docs/libraries#create-and-export-an-api-key).
4. Set the `ARCADE_API_KEY` environment variable or have your API key ready to use
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This example shows how to create an agent that can interact with GitHub using Ar

Before running this example, make sure you have:

1. Installed `agents-arcade` (see [Installation](installation.md))
1. Installed `agents-arcade` (see [Installation](../getting-started/installation.md))
2. An Arcade API key (sign up at [arcade.dev](https://arcade.dev) if you don't have one)
3. An [OpenAI API Key](https://platform.openai.com/docs/libraries#create-and-export-an-api-key).
4. Set the `ARCADE_API_KEY` environment variable or have your API key ready to use
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/multi-toolkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ One of the most powerful features of Agents Arcade is the ability to combine mul

Before running this example, make sure you have:

1. Installed `agents-arcade` (see [Installation](installation.md))
1. Installed `agents-arcade` (see [Installation](../getting-started/installation.md))
2. An Arcade API key (sign up at [arcade.dev](https://arcade.dev) if you don't have one)
3. An [OpenAI API Key](https://platform.openai.com/docs/libraries#create-and-export-an-api-key).
4. Set the `ARCADE_API_KEY` environment variable or have your API key ready to use
Expand Down
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ plugins:
show_root_heading: true
heading_level: 3

exclude_docs: |
README.md

nav:
- Home: index.md
- Getting Started:
Expand Down
26 changes: 12 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,18 @@ classifiers = [
Homepage = "https://github.com/ArcadeAI/agents-arcade"
Repository = "https://github.com/ArcadeAI/agents-arcade"

[dependency-groups]
dev = [
"mypy",
"ruff==0.9.2",
"pytest",
"pytest-asyncio",
"pytest-mock>=3.14.0",
"rich",
"mkdocs>=1.6.0",
"mkdocs-material>=9.6.0",
"mkdocstrings[python]>=0.28.0",
"coverage>=7.6.12",
"playwright==1.50.0",
]
[tool.poetry.group.dev.dependencies]
mypy = "*"
ruff = "0.9.2"
pytest = "*"
pytest-asyncio = "*"
pytest-mock = ">=3.14.0"
rich = "*"
mkdocs = ">=1.6.0"
mkdocs-material = ">=9.6.0"
mkdocstrings = {extras = ["python"], version = ">=0.28.0"}
coverage = ">=7.6.12"
playwright = "==1.50.0"

[build-system]
requires = ["hatchling"]
Expand Down