Skip to content

Commit 00931c0

Browse files
committed
Add docs, improve readme, add dark logo
1 parent 8171052 commit 00931c0

File tree

17 files changed

+1896
-4
lines changed

17 files changed

+1896
-4
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Deploy Documentation to GitHub Pages
2+
3+
on:
4+
# Runs on pushes targeting the main branch
5+
push:
6+
branches: ["main"]
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
23+
jobs:
24+
# Build job
25+
build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.12'
35+
36+
- name: Install dependencies
37+
run: |
38+
python -m pip install --upgrade pip
39+
pip install -e .
40+
pip install mkdocs-material>=9.6.21 mkdocstrings[python]>=0.30.1 pymdown-extensions>=10.0
41+
42+
- name: Setup Pages
43+
uses: actions/configure-pages@v4
44+
45+
- name: Build with MkDocs
46+
run: mkdocs build --clean --strict
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: ./site
52+
53+
# Deployment job
54+
deploy:
55+
environment:
56+
name: github-pages
57+
url: ${{ steps.deployment.outputs.page_url }}
58+
runs-on: ubuntu-latest
59+
needs: build
60+
steps:
61+
- name: Deploy to GitHub Pages
62+
id: deployment
63+
uses: actions/deploy-pages@v4

CONTRIBUTING.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,66 @@ We love your input! We want to make contributing as easy and transparent as poss
88
- Proposing new features
99
- Becoming a maintainer
1010

11+
## Development Setup
12+
13+
This project uses [uv](https://docs.astral.sh/uv/) for fast, reliable dependency management.
14+
15+
### Prerequisites
16+
17+
Install uv if you haven't already:
18+
19+
```bash
20+
pip install uv
21+
```
22+
23+
Or follow the [official installation guide](https://docs.astral.sh/uv/getting-started/installation/).
24+
25+
### Setting Up Your Development Environment
26+
27+
1. **Fork and clone the repository:**
28+
29+
```bash
30+
git clone https://github.com/YOUR_USERNAME/ProactiveAgent.git
31+
cd ProactiveAgent
32+
```
33+
34+
2. **Install dependencies:**
35+
36+
```bash
37+
# Install all dependencies including dev tools
38+
uv sync --dev
39+
```
40+
41+
This will:
42+
- Create a virtual environment automatically
43+
- Install all project dependencies from `uv.lock`
44+
- Install development dependencies (linters, formatters, testing tools)
45+
46+
3. **Run examples or tests:**
47+
48+
```bash
49+
# Run any script using uv
50+
uv run python examples/minimal_chat.py
51+
52+
# Or activate the virtual environment
53+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
54+
python examples/minimal_chat.py
55+
```
56+
57+
### Development Dependencies
58+
59+
The `--dev` flag installs additional tools for development:
60+
- Code formatters and linters
61+
- Testing frameworks
62+
- Documentation generators
63+
- Any other development utilities
64+
65+
To see all installed dependencies:
66+
67+
```bash
68+
uv pip list
69+
```
70+
1171
## We develop with GitHub
1272
We use GitHub to host code, track issues and feature requests, and accept pull requests.
1373

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# ProactiveAgent
2-
31
<div align="center">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="docs/logo_b.png" width="400">
4+
<source media="(prefers-color-scheme: light)" srcset="docs/logo.png" width="400">
5+
<img alt="ProactiveAgent logo." src="docs/logo.png" width="400">
6+
</picture>
47

5-
<img src="docs/logo.png" alt="ProactiveAgent Logo" width="400"/>
8+
<!-- <img src="docs/logo.png" alt="ProactiveAgent Logo" width="400"/> -->
69

710
**Time-awareness for your AI Agent**
811

@@ -244,7 +247,15 @@ agent.update_config({
244247

245248
## Contributing
246249

247-
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
250+
We welcome contributions! This project uses [uv](https://docs.astral.sh/uv/) for dependency management.
251+
252+
**Quick setup:**
253+
```bash
254+
pip install uv
255+
uv sync --dev # Install dependencies including dev tools
256+
```
257+
258+
Please see our [Contributing Guide](CONTRIBUTING.md) for detailed instructions.
248259

249260
## License
250261

0 commit comments

Comments
 (0)