Skip to content

Commit 89d37e9

Browse files
arcaelaarcaela
andauthored
docs: add comprehensive documentation with MkDocs (#2)
- Add MkDocs Material theme configuration - Create documentation structure (Guides, API, Examples, Advanced) - Write Getting Started guide with complete tutorial - Write Core Concepts guide explaining architecture - Document Agent API with complete reference - Add GitHub Actions workflow for auto-deployment - Create stubs for remaining documentation pages Closes #1 Co-authored-by: arcaela <community@arcaelas.com>
1 parent 9d2830b commit 89d37e9

28 files changed

Lines changed: 2205 additions & 0 deletions

.github/workflows/docs.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- 'mkdocs.yml'
10+
- '.github/workflows/docs.yml'
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: write
15+
pages: write
16+
id-token: write
17+
18+
concurrency:
19+
group: "pages"
20+
cancel-in-progress: false
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.x'
35+
36+
- name: Cache dependencies
37+
uses: actions/cache@v4
38+
with:
39+
key: ${{ github.ref }}
40+
path: .cache
41+
42+
- name: Install MkDocs and dependencies
43+
run: |
44+
pip install --upgrade pip
45+
pip install mkdocs-material
46+
pip install mkdocs-minify-plugin
47+
48+
- name: Build documentation
49+
run: mkdocs build --strict
50+
51+
- name: Upload artifact
52+
uses: actions/upload-pages-artifact@v3
53+
with:
54+
path: ./site
55+
56+
deploy:
57+
needs: build
58+
runs-on: ubuntu-latest
59+
environment:
60+
name: github-pages
61+
url: ${{ steps.deployment.outputs.page_url }}
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v4

docs/CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## \[1.0.4] - 2025-07-17
6+
7+
### Added
8+
9+
- Full integration of the agent’s name and description into the system message.
10+
11+
### Improved
12+
13+
- Enhanced rule and limit handling during conversation flow.
14+
- Optimized validation process for provider responses.
15+
16+
## \[1.0.3] - 2025-07-17
17+
18+
### Changed
19+
20+
- Renamed the `Bot` class to `Agent` to ensure consistent terminology.
21+
- Refactored related interfaces to adopt the "Agent" term.
22+
23+
### Documentation
24+
25+
- Updated usage examples and improved main method documentation.
26+
27+
## \[1.0.2] - 2025-07-17
28+
29+
### Added
30+
31+
- Extra integrity checks prior to publishing.
32+
33+
### Fixed
34+
35+
- Minor type issues in core interfaces.
36+
37+
### Changed
38+
39+
- Publication workflow now auto-increments patch version.
40+
41+
## \[1.0.1] - 2025-07-17
42+
43+
### Changed
44+
45+
- Downgraded package version to `1.0.1` to comply with semantic versioning.
46+
- Simplified internal logic for error handling in tool calls.
47+
48+
### Improved
49+
50+
- Better compatibility with various OpenAI API versions.
51+
52+
## \[2.0.5] _(reverted to 1.0.1)_ - 2025-07-17
53+
54+
### Changed
55+
56+
- Updated package metadata and dependencies.
57+
- Fixed version numbering to restore correct semantic structure.
58+
59+
### Improved
60+
61+
- Optimized project metadata structure.
62+
63+
## \[1.0.0] - 2025-07-17
64+
65+
### Added
66+
67+
- `yarn.lock` file to ensure dependency consistency.
68+
- Strict version control enforcement for cross-environment compatibility.
69+
70+
### Documentation
71+
72+
- Improved installation and usage instructions.
73+
74+
## \[0.9.0] - 2025-07-17
75+
76+
### Added
77+
78+
- Initial TypeScript compiler configuration with strict mode.
79+
- Module aliasing for improved project structure.
80+
- Optimized compilation options for maximum compatibility.

docs/advanced/architecture.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# architecture.md
2+
3+
Documentation coming soon. Check back later or contribute at [GitHub](https://github.com/arcaelas/agent).

docs/advanced/migration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# migration.md
2+
3+
Documentation coming soon. Check back later or contribute at [GitHub](https://github.com/arcaelas/agent).

docs/advanced/performance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# performance.md
2+
3+
Documentation coming soon. Check back later or contribute at [GitHub](https://github.com/arcaelas/agent).

docs/advanced/troubleshooting.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# troubleshooting.md
2+
3+
Documentation coming soon. Check back later or contribute at [GitHub](https://github.com/arcaelas/agent).

0 commit comments

Comments
 (0)