Skip to content
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
60 changes: 60 additions & 0 deletions .github/workflows/multirepo-connector-framework.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Sync Connector Framework Docs

on:
# Manual trigger
workflow_dispatch:
# Nightly sync
schedule:
- cron: "17 3 * * *"

permissions:
contents: write

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout docs repo
uses: actions/checkout@v4
with:
path: docs-repo

- name: Checkout connector repo
uses: actions/checkout@v4
with:
repository: inorbit-ai/inorbit-connector-python
ref: main
path: connector-repo

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Build Mintlify-compatible docs
run: |
cd connector-repo/docs/mintlify
make build

- name: Sync to docs repo
run: |
# Remove old connector framework docs
rm -rf docs-repo/ground-control/robot-integration/connector-framework

# Copy built docs
mkdir -p docs-repo/ground-control/robot-integration/connector-framework
cp -r connector-repo/docs/mintlify/_build/* docs-repo/ground-control/robot-integration/connector-framework/

- name: Commit and push
run: |
cd docs-repo
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

git add -A
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Sync connector framework docs from inorbit-connector-python"
git push
fi
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"ground-control/robot-integration/overview",
"ground-control/robot-integration/agent",
"ground-control/robot-integration/connectors",
"ground-control/robot-integration/connector-framework/index",
"ground-control/robot-integration/robot-sdk",
"ground-control/robot-integration/edge-sdk",
"ground-control/robot-integration/interoperability"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Configuration"
description: "Configuration models and file formats for connectors"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Getting Started"
description: "Installation and setup for the InOrbit Connector Framework"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

9 changes: 9 additions & 0 deletions ground-control/robot-integration/connector-framework/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Connector Framework"
description: "Python framework for developing InOrbit robot connectors"
---

This page will be automatically populated by the [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python) repository.

See the [GitHub repository](https://github.com/inorbit-ai/inorbit-connector-python) for the latest documentation.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Publishing Data"
description: "How to publish robot data to InOrbit"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Commands Utilities"
description: "Command handling utilities specification"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Connector API"
description: "Connector and FleetConnector class specifications"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Specification"
description: "Public API specification for the inorbit-connector package"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Logging"
description: "Logging configuration specification"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Models"
description: "Configuration models specification"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Utilities"
description: "Utility functions specification"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Commands Handling"
description: "How to handle commands from InOrbit"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Fleet Connector"
description: "Guide for implementing a fleet connector"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Usage"
description: "Guides for implementing connectors"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Single-Robot Connector"
description: "Guide for implementing a single-robot connector"
---

Content synced from [inorbit-connector-python](https://github.com/inorbit-ai/inorbit-connector-python).

4 changes: 2 additions & 2 deletions ground-control/robot-integration/connectors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ class MyConnector(InOrbitConnector):
pass
```

<Card title="Connector Framework" icon="github" href="https://github.com/inorbit-ai/inorbit-connector-python">
View documentation and examples on GitHub
<Card title="Connector Framework" icon="book" href="/ground-control/robot-integration/connector-framework/index">
Learn how to build your own connectors with the Python framework (API spec, configuration, and examples)
</Card>

## Connector Configuration
Expand Down