From bb080c47f64c2149bfe63fccb874b5ee7ac19a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Wed, 10 Jan 2024 00:40:56 -0300 Subject: [PATCH] starting github actions for docs --- .github/workflow/mkdocs.yml | 25 +++++++++++++++++++++++++ mkdocs.yml | 6 +++++- pyproject.toml | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .github/workflow/mkdocs.yml diff --git a/.github/workflow/mkdocs.yml b/.github/workflow/mkdocs.yml new file mode 100644 index 000000000..2a954e1e5 --- /dev/null +++ b/.github/workflow/mkdocs.yml @@ -0,0 +1,25 @@ +name: Deploy MkDocs + +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Build and deploy MkDocs + run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index ee5d7a628..b210c1e7f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,3 +1,7 @@ site_name: crewAI Documentation theme: - name: material \ No newline at end of file + name: material + palette: + scheme: default + primary: red + accent: red \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ea41a1254..5d539862e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,13 +16,13 @@ python = ">=3.9,<4.0" pydantic = "^2.4.2" langchain = "^0.0.354" openai = "^1.5.0" -mkdocs-material = "^9.5.3" [tool.poetry.group.dev.dependencies] isort = "^5.13.2" black = "^23.12.1" autoflake = "^2.2.1" pre-commit = "^3.6.0" +mkdocs-material = "^9.5.3" [tool.isort] profile = "black"