-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP][Merge main into release] #148
Closed
Closed
Changes from 42 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
3a09bd0
update the banner, adjust the size according to screen
Alleria1809 67de092
remove downloads from readme
liyin2015 b50fc56
Merge remote-tracking branch 'origin/main' into xiaoyi
Alleria1809 e3bea0e
adjust css for smaller screen
Alleria1809 fbb8422
adjust css for smaller screen
Alleria1809 196fb49
remove unused lines
Alleria1809 5b84d24
fix bug https://github.com/SylphAI-Inc/LightRAG/issues/134
liyin2015 2e85f66
add support of data class and Enum
liyin2015 55d76e4
clean up test
liyin2015 a3d6de3
Merge pull request #135 from SylphAI-Inc/li
Sylph-AI af4476e
list models, retrievers, and agents supported on the home page
liyin2015 c4493a5
Merge pull request #136 from SylphAI-Inc/li
Sylph-AI 87527dd
format css
Alleria1809 93126c2
Added additional documentation to ollama_client.py
PhiBrandon dec0292
formatted ollama_client documentation
PhiBrandon 01fe96a
remove copy
Alleria1809 369185d
rename LightRAG to LightFlow at Readme first
liyin2015 661a4ad
rename LightRAG to LightFlow at Readme first
liyin2015 ef941a2
first lightflow logo
liyin2015 61c17c5
Merge pull request #139 from SylphAI-Inc/li
Sylph-AI 915ac5a
rename lightrag to adalflow
liyin2015 6d5438d
Merge pull request #140 from SylphAI-Inc/li
Sylph-AI 83711c5
add padding for better layout
Alleria1809 290fb89
add flexible banner
Alleria1809 b7769e6
Merge pull request #137 from SylphAI-Inc/xiaoyi
Alleria1809 50170ea
Merge pull request #138 from PhiBrandon/ollama_documentation
liyin2015 34bd02f
update the workflow to fix the package dependency problem, fix the mi…
Alleria1809 83ee041
Merge pull request #145 from SylphAI-Inc/xiaoyi
Alleria1809 b2082dd
Merge remote-tracking branch 'origin/release' into release
Alleria1809 c24c428
update the progress statement
Alleria1809 43c4e21
Merge pull request #147 from SylphAI-Inc/merge-main-into-release
Alleria1809 3e1a51d
test the deployment
Alleria1809 5a2b4e2
test the deployment
Alleria1809 63acaa7
test the deployment
Alleria1809 b5dca70
test the deployment
Alleria1809 4ad31c4
test the deployment
Alleria1809 e15681a
test the deployment
Alleria1809 413b2eb
test the deployment
Alleria1809 0d881fa
test the deployment
Alleria1809 aa342bf
test the deployment
Alleria1809 87358e9
test the deployment
Alleria1809 b5993a5
test the deployment
Alleria1809 99ed1e6
test the deployment
Alleria1809 fe67252
test the deployment
Alleria1809 f3592f6
test the deployment
Alleria1809 36d8d0b
test the deployment
Alleria1809 11453d8
test the deployment
Alleria1809 09a93d8
test the deployment
Alleria1809 017019f
test the deployment
Alleria1809 8e9c896
test the deployment
Alleria1809 50a922f
test the deployment
Alleria1809 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- merge-main-into-release # Trigger the workflow when changes are pushed to the release branch | ||
|
||
permissions: | ||
contents: write | ||
actions: read | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' # Ensure the Python version is correct | ||
|
||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
echo "$HOME/.local/bin" >> $GITHUB_PATH # Ensure Poetry's bin directory is in PATH | ||
|
||
- name: Install package dependencies using Poetry | ||
run: | | ||
cd lightrag | ||
poetry config virtualenvs.create false # Avoid creating a virtual environment | ||
poetry install --all-extras --verbose # Install all optional dependencies | ||
pip install transformers | ||
cd .. # Change back to the root directory | ||
|
||
- name: Install documentation dependencies using Poetry | ||
run: | | ||
poetry config virtualenvs.create false # Avoid creating a virtual environment | ||
poetry install --only doc # Install only the doc dependencies as specified in pyproject.toml | ||
|
||
- name: Build documentation using Makefile | ||
run: | | ||
echo "Building documentation from: $(pwd)" | ||
ls -l # Debug: List current directory contents | ||
poetry run make html # Run Makefile in docs directory to build HTML docs | ||
working-directory: ${{ github.workspace }}/docs | ||
|
||
- name: List built documentation | ||
run: | | ||
find ./docs/build/ -type f # List all files in the build directory | ||
working-directory: ${{ github.workspace }} | ||
|
||
- name: Create .nojekyll file | ||
run: | | ||
touch .nojekyll # Prevent GitHub Pages from ignoring files that start with an underscore | ||
working-directory: ${{ github.workspace }}/docs/build | ||
|
||
- name: Copy CNAME file | ||
run: | | ||
cp ${{ github.workspace }}/CNAME ${{ github.workspace }}/docs/build/CNAME || true | ||
working-directory: ${{ github.workspace }} | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} # GitHub token for authentication | ||
publish_branch: gh-pages # Target branch for GitHub Pages deployment | ||
publish_dir: ./docs/build/ # Directory containing the built documentation | ||
user_name: github-actions[bot] # Username for the commit | ||
user_email: github-actions[bot]@users.noreply.github.com # Email for the commit | ||
|
||
# Uncomment below for debugging purposes | ||
# - name: Debug Output | ||
# run: | | ||
# pwd # Print the current working directory | ||
# ls -l ./build/ # List files in the build directory | ||
# cat ./source/conf.py # Display the Sphinx configuration file | ||
# working-directory: ${{ github.workspace }}/docs/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think this is correct at all.
you need to