Skip to content

Commit 835fdc7

Browse files
committed
WIP
1 parent 7bd41f0 commit 835fdc7

File tree

5 files changed

+59
-3
lines changed

5 files changed

+59
-3
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Build job
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5
33+
- name: Build with Jekyll
34+
uses: actions/jekyll-build-pages@v1
35+
with:
36+
source: ./docs
37+
destination: ./_site
38+
- name: Upload artifact
39+
uses: actions/upload-pages-artifact@v3
40+
41+
# Deployment job
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
Python package `llms_wrapper`
44

5-
* [Documentation wiki](https://github.com/OFAI/python-llms-wrapper/wiki)
6-
* [Python API Documentation](https://ofai.github.io/python-llms-wrapper/llms_wrapper/)
5+
Documentation:
6+
7+
**IMPORTANT:** This is still under development, API may change and the documentation is still work in progress!

docs/_notes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ Github help:
1111
* Customize theme: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll
1212

1313

14+
Install:
15+
* See https://jekyllrb.com/docs/installation/ubuntu/
1416
Test locally: see theme readme, https://github.com/pages-themes/cayman
1517
Then run: bundle exec jekyll serve

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# python-llms-wrapper
22

3+
**IMPORTANT** This is still work in progress! API may change and documentation is still work in progress!
4+
35
The `llms_wrapper` Python package is an opnionated library based on the excellen
46
[`litelmm`](https://github.com/BerriAI/litellm) package to simplify using diverse
57
LLMs from many different providers.

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The full API documentation is available here: https://ofai.github.io/python-llms-wrapper/llms_wrapper/
1+
TBD!

0 commit comments

Comments
 (0)