Spaces:
Running
Running
Joseph Pollack
commited on
Commit
·
b2efdc1
1
Parent(s):
3ed9e8d
restore docs ci
Browse files- .github/workflows/ci.yml +39 -2
- mkdocs.yml +118 -0
.github/workflows/ci.yml
CHANGED
|
@@ -2,9 +2,9 @@ name: CI
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
-
branches: [main, develop]
|
| 6 |
pull_request:
|
| 7 |
-
branches: [main, develop]
|
| 8 |
|
| 9 |
jobs:
|
| 10 |
test:
|
|
@@ -65,3 +65,40 @@ jobs:
|
|
| 65 |
run: |
|
| 66 |
pytest tests/integration/ -v -m "integration and not openai and not embedding_provider" --tb=short -p no:logfire || true
|
| 67 |
continue-on-error: true # Allow failures if dependencies not available
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
+
branches: [main, dev, develop]
|
| 6 |
pull_request:
|
| 7 |
+
branches: [main, dev, develop]
|
| 8 |
|
| 9 |
jobs:
|
| 10 |
test:
|
|
|
|
| 65 |
run: |
|
| 66 |
pytest tests/integration/ -v -m "integration and not openai and not embedding_provider" --tb=short -p no:logfire || true
|
| 67 |
continue-on-error: true # Allow failures if dependencies not available
|
| 68 |
+
|
| 69 |
+
docs:
|
| 70 |
+
runs-on: ubuntu-latest
|
| 71 |
+
permissions:
|
| 72 |
+
contents: write
|
| 73 |
+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/develop')
|
| 74 |
+
steps:
|
| 75 |
+
- uses: actions/checkout@v4
|
| 76 |
+
with:
|
| 77 |
+
fetch-depth: 0
|
| 78 |
+
|
| 79 |
+
- name: Set up Python
|
| 80 |
+
uses: actions/setup-python@v5
|
| 81 |
+
with:
|
| 82 |
+
python-version: '3.11'
|
| 83 |
+
|
| 84 |
+
- name: Install uv
|
| 85 |
+
uses: astral-sh/setup-uv@v5
|
| 86 |
+
with:
|
| 87 |
+
version: "latest"
|
| 88 |
+
|
| 89 |
+
- name: Install dependencies
|
| 90 |
+
run: |
|
| 91 |
+
uv sync --extra dev
|
| 92 |
+
|
| 93 |
+
- name: Build documentation
|
| 94 |
+
run: |
|
| 95 |
+
uv run mkdocs build --strict
|
| 96 |
+
|
| 97 |
+
- name: Deploy to GitHub Pages
|
| 98 |
+
uses: peaceiris/actions-gh-pages@v3
|
| 99 |
+
with:
|
| 100 |
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
| 101 |
+
publish_dir: ./site
|
| 102 |
+
publish_branch: dev
|
| 103 |
+
cname: false
|
| 104 |
+
keep_files: true
|
mkdocs.yml
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
site_name: DeepCritical
|
| 2 |
+
site_description: AI-Native Drug Repurposing Research Agent
|
| 3 |
+
site_author: DeepCritical Team
|
| 4 |
+
site_url: https://deepcritical.github.io/GradioDemo/
|
| 5 |
+
|
| 6 |
+
repo_name: DeepCritical/GradioDemo
|
| 7 |
+
repo_url: https://github.com/DeepCritical/GradioDemo
|
| 8 |
+
edit_uri: edit/dev/docs/
|
| 9 |
+
|
| 10 |
+
theme:
|
| 11 |
+
name: material
|
| 12 |
+
palette:
|
| 13 |
+
# Light mode
|
| 14 |
+
- scheme: default
|
| 15 |
+
primary: orange
|
| 16 |
+
accent: red
|
| 17 |
+
toggle:
|
| 18 |
+
icon: material/brightness-7
|
| 19 |
+
name: Switch to dark mode
|
| 20 |
+
# Dark mode
|
| 21 |
+
- scheme: slate
|
| 22 |
+
primary: orange
|
| 23 |
+
accent: red
|
| 24 |
+
toggle:
|
| 25 |
+
icon: material/brightness-4
|
| 26 |
+
name: Switch to light mode
|
| 27 |
+
features:
|
| 28 |
+
- navigation.tabs
|
| 29 |
+
- navigation.sections
|
| 30 |
+
- navigation.expand
|
| 31 |
+
- navigation.top
|
| 32 |
+
- search.suggest
|
| 33 |
+
- search.highlight
|
| 34 |
+
- content.code.annotate
|
| 35 |
+
- content.code.copy
|
| 36 |
+
icon:
|
| 37 |
+
repo: fontawesome/brands/github
|
| 38 |
+
|
| 39 |
+
plugins:
|
| 40 |
+
- search
|
| 41 |
+
- mermaid2
|
| 42 |
+
- codeinclude
|
| 43 |
+
- minify:
|
| 44 |
+
minify_html: true
|
| 45 |
+
minify_js: true
|
| 46 |
+
minify_css: true
|
| 47 |
+
|
| 48 |
+
markdown_extensions:
|
| 49 |
+
- pymdownx.highlight:
|
| 50 |
+
anchor_linenums: true
|
| 51 |
+
- pymdownx.inlinehilite
|
| 52 |
+
- pymdownx.superfences:
|
| 53 |
+
custom_fences:
|
| 54 |
+
- name: mermaid
|
| 55 |
+
class: mermaid
|
| 56 |
+
format: !!python/name:pymdownx.superfences.fence_code_format
|
| 57 |
+
preserve_tabs: true
|
| 58 |
+
- pymdownx.tabbed:
|
| 59 |
+
alternate_style: true
|
| 60 |
+
- pymdownx.tasklist:
|
| 61 |
+
custom_checkbox: true
|
| 62 |
+
- pymdownx.emoji:
|
| 63 |
+
emoji_generator: !!python/name:pymdownx.emoji.to_svg
|
| 64 |
+
emoji_index: !!python/name:pymdownx.emoji.twemoji
|
| 65 |
+
- admonition
|
| 66 |
+
- pymdownx.details
|
| 67 |
+
- pymdownx.superfences
|
| 68 |
+
- attr_list
|
| 69 |
+
- md_in_html
|
| 70 |
+
- tables
|
| 71 |
+
- toc:
|
| 72 |
+
permalink: true
|
| 73 |
+
|
| 74 |
+
nav:
|
| 75 |
+
- Home: index.md
|
| 76 |
+
- Overview:
|
| 77 |
+
- overview/architecture.md
|
| 78 |
+
- overview/features.md
|
| 79 |
+
- Getting Started:
|
| 80 |
+
- getting-started/installation.md
|
| 81 |
+
- getting-started/quick-start.md
|
| 82 |
+
- getting-started/mcp-integration.md
|
| 83 |
+
- getting-started/examples.md
|
| 84 |
+
- Configuration: CONFIGURATION.md
|
| 85 |
+
- Architecture:
|
| 86 |
+
- architecture/overview.md
|
| 87 |
+
- architecture/design-patterns.md
|
| 88 |
+
- architecture/graph_orchestration.md
|
| 89 |
+
- architecture/agents.md
|
| 90 |
+
- architecture/orchestrators.md
|
| 91 |
+
- architecture/tools.md
|
| 92 |
+
- architecture/middleware.md
|
| 93 |
+
- architecture/services.md
|
| 94 |
+
- API Reference:
|
| 95 |
+
- api/agents.md
|
| 96 |
+
- api/tools.md
|
| 97 |
+
- api/orchestrators.md
|
| 98 |
+
- api/services.md
|
| 99 |
+
- api/models.md
|
| 100 |
+
- Contributing:
|
| 101 |
+
- contributing/index.md
|
| 102 |
+
- contributing/code-quality.md
|
| 103 |
+
- contributing/code-style.md
|
| 104 |
+
- contributing/error-handling.md
|
| 105 |
+
- contributing/implementation-patterns.md
|
| 106 |
+
- contributing/prompt-engineering.md
|
| 107 |
+
- contributing/testing.md
|
| 108 |
+
- License: license.md
|
| 109 |
+
- Team: team.md
|
| 110 |
+
|
| 111 |
+
extra:
|
| 112 |
+
social:
|
| 113 |
+
- icon: fontawesome/brands/github
|
| 114 |
+
link: https://github.com/DeepCritical/GradioDemo
|
| 115 |
+
- icon: material/web
|
| 116 |
+
link: https://huggingface.co/spaces/DataQuests/DeepCritical
|
| 117 |
+
|
| 118 |
+
copyright: Copyright © 2024 DeepCritical Team
|