Skip to content

Commit 318fcf4

Browse files
committed
.
1 parent 2e34aed commit 318fcf4

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.github/workflows/sphinx.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,26 @@ jobs:
2727
- name: Install PIP
2828
run: pip install --root-user-action=ignore --upgrade pip
2929

30-
- name: Install project dependencies for docs using pip # Use uv and dev dependencies
31-
run: pip install sphinx furo
30+
- name: Install project and dependencies
31+
run: |
32+
pip install -e .
33+
pip install sphinx furo snowballstemmer
3234
33-
- name: Build Docs # Use your makefile to build docs
34-
run: make docs # This will execute 'make docs' in your root directory
35+
- name: Build Docs
36+
run: make docs
3537

3638
- name: Prepare Deployment Directory
3739
run: |
38-
mkdir -p deploy_output/docs # Create deploy_output and docs subdirectory in one go
39-
cp docs/index.html deploy_output/index.html # Copy index.html to staging root
40-
cp -r docs/build/html/* deploy_output/docs # Copy ALL Sphinx output to staging/docs
40+
mkdir -p deploy_output/docs
41+
cp docs/index.html deploy_output/index.html
42+
cp -r docs/logo.png deploy_output/
43+
cp -r docs/build/html/* deploy_output/docs
44+
touch deploy_output/.nojekyll
4145
42-
- name: Deploy to GitHub Pages # Using peaceiris/actions-gh-pages - a popular action
46+
- name: Deploy to GitHub Pages
4347
uses: peaceiris/actions-gh-pages@v3
4448
if: github.ref == 'refs/heads/master'
4549
with:
4650
github_token: ${{ secrets.GITHUB_TOKEN }}
47-
publish_dir: ./deploy_output # Publish the staging directory
51+
publish_dir: ./deploy_output
52+
enable_jekyll: false

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

docs/404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
</head>
3333
<body class="bg-dark-900 text-white font-sans flex items-center justify-center min-h-screen">
3434
<div class="max-w-md mx-auto text-center px-4">
35-
<img src="./logo.png" alt="Agentle Logo" class="h-24 mx-auto mb-6">
35+
<img src="/agentle/logo.png" alt="Agentle Logo" class="h-24 mx-auto mb-6">
3636
<h1 class="text-4xl font-bold mb-4">404 - Page Not Found</h1>
3737
<p class="text-gray-300 mb-8">The page you're looking for doesn't exist or has been moved.</p>
3838
<div class="space-y-4">
39-
<a href="./index.html" class="block w-full py-3 px-4 bg-primary-500 text-dark-900 font-bold rounded-md hover:bg-opacity-90 transition">
39+
<a href="/agentle/" class="block w-full py-3 px-4 bg-primary-500 text-dark-900 font-bold rounded-md hover:bg-opacity-90 transition">
4040
Go to Homepage
4141
</a>
42-
<a href="./build/html/index.html" class="block w-full py-3 px-4 border border-primary-500 text-primary-500 font-medium rounded-md hover:bg-dark-800 transition">
42+
<a href="/agentle/docs/" class="block w-full py-3 px-4 border border-primary-500 text-primary-500 font-medium rounded-md hover:bg-dark-800 transition">
4343
Go to Documentation
4444
</a>
4545
<a href="https://github.com/arthurbrenno/agentle" class="block w-full py-3 px-4 border border-gray-600 text-gray-300 font-medium rounded-md hover:bg-dark-800 transition">

0 commit comments

Comments
 (0)