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
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,4 @@ jobs:

- name: Publish Docs
if: ${{ steps.check_version.outputs.modified }} == 'true'
run: |
uv run mkdocs gh-deploy --force

uses: ./.github/workflows/deploy_docs.yml
38 changes: 38 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Reusable Build Workflow

on:
workflow_dispatch: {}
workflow_call: {}

jobs:
build:
name: Build and publish
runs-on: "ubuntu-24.04"

steps:
- uses: actions/checkout@v4

- name: Clone plugins
run: |
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/UiPath/uipath-langchain-python plugins/uipath-langchain-python

- name: Symlink plugin docs
run: |
mkdir -p docs/plugins
ln -s ../../plugins/uipath-langchain-python/docs docs/plugins/uipath-langchain-python

- uses: astral-sh/setup-uv@v5

- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Setup venv
run: |
uv venv
uv sync --all-extras

- name: Publish Docs
run: |
uv run mkdocs gh-deploy --force

6 changes: 6 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ theme:

nav:
- Home: index.md
- Langchain:
- Intro: plugins/uipath-langchain-python/index.md
- Chat models: plugins/uipath-langchain-python/chat_models.md
- Context Grounding Chain: plugins/uipath-langchain-python/context_grounding_chain.md
- Context Grounding Retriever: plugins/uipath-langchain-python/context_grounding_retriever.md
- Interrupt models: plugins/uipath-langchain-python/interrupt_models.md
- Assets: assets.md
- Buckets: buckets.md
- Connections: connections.md
Expand Down
Loading