diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml new file mode 100644 index 0000000..ed13162 --- /dev/null +++ b/.github/workflows/deploy-docs.yml @@ -0,0 +1,24 @@ +name: Deploy Documentation + +on: + push: + branches: + - feat/docs # Or your default branch + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + pip install mkdocs mkdocs-material mkdocs-awesome-pages-plugin pymdown-extensions mkdocs-static-i18n + - name: Deploy to GitHub Pages + run: | + mkdocs gh-deploy --force --clean \ No newline at end of file diff --git a/.gitignore b/.gitignore index aced8cd..08e1245 100644 --- a/.gitignore +++ b/.gitignore @@ -72,4 +72,5 @@ pylintrc .ruff_cache -test.py \ No newline at end of file +test.py +site \ No newline at end of file diff --git a/README.md b/README.md index 34ca3ed..fc41547 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,11 @@ A powerful automation agent for macOS that enables natural language control of v ## Installation & Usage -Please refer to the [Installation Guide](docs/index.md) for detailed instructions on how to install and configure the MacOS Agent. +Please refer to the [Installation Guide](https://computer-use-agents.github.io/MacOS-Agent/#installation) for detailed instructions on how to install and configure the MacOS Agent. ## Contributing -We welcome contributions! Please follow these steps: - -1. Fork the repository -2. Create a feature branch -3. Commit your changes -4. Push to the branch -5. Create a Pull Request +Follow the instructions for [development guidelines](https://computer-use-agents.github.io/MacOS-Agent/#development-setup). ## Troubleshooting diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index 5e480f6..0000000 --- a/docs/_config.yml +++ /dev/null @@ -1,4 +0,0 @@ -theme: jekyll-theme-minimal -title: MacOS Agent Documentation -description: Documentation for the MacOS Agent project -show_downloads: true \ No newline at end of file diff --git a/docs/assets/acc_tree1.png b/docs/assets/acc_tree1.png new file mode 100644 index 0000000..fa53b99 Binary files /dev/null and b/docs/assets/acc_tree1.png differ diff --git a/docs/assets/acc_tree2.png b/docs/assets/acc_tree2.png new file mode 100644 index 0000000..a502817 Binary files /dev/null and b/docs/assets/acc_tree2.png differ diff --git a/docs/assets/acc_tree3.png b/docs/assets/acc_tree3.png new file mode 100644 index 0000000..a6d35b9 Binary files /dev/null and b/docs/assets/acc_tree3.png differ diff --git a/docs/assets/elon.mp4 b/docs/assets/elon.mp4 new file mode 100644 index 0000000..c9e88c9 Binary files /dev/null and b/docs/assets/elon.mp4 differ diff --git a/docs/assets/main_page1.png b/docs/assets/main_page1.png new file mode 100644 index 0000000..c73f02b Binary files /dev/null and b/docs/assets/main_page1.png differ diff --git a/docs/assets/trump.png b/docs/assets/trump.png new file mode 100644 index 0000000..1815a02 Binary files /dev/null and b/docs/assets/trump.png differ diff --git a/docs/index.md b/docs/index.en.md similarity index 86% rename from docs/index.md rename to docs/index.en.md index 3f97b88..640a483 100644 --- a/docs/index.md +++ b/docs/index.en.md @@ -33,9 +33,9 @@ To enable system automation, you need to grant accessibility permissions: 4. Enable the permission by checking the box