diff --git a/.github/workflows/deploy_docs.yaml b/.github/workflows/deploy_docs.yaml new file mode 100644 index 0000000..14dd6da --- /dev/null +++ b/.github/workflows/deploy_docs.yaml @@ -0,0 +1,32 @@ +name: Deploy documentation + +on: + push: + branches: + - main + +jobs: + docs-publish: + name: publish documentation + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + + - name: Set up Python 3.12 + uses: actions/setup-python@v5 + with: + python-version-file: pyproject.toml + + - name: Install Hatch + uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc + + - name: Build documentation + run: hatch run docs:deploy diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8eb18e8..403862b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,28 +30,3 @@ jobs: - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - docs-publish: - name: publish documentation - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - - name: Set up Python 3.12 - uses: actions/setup-python@v5 - with: - python-version-file: pyproject.toml - - - name: Install Hatch - uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc - - - name: Build documentation - run: hatch run docs:deploy diff --git a/docs/assets/logo_black.svg b/docs/assets/logo_black.svg new file mode 100644 index 0000000..afc5269 --- /dev/null +++ b/docs/assets/logo_black.svg @@ -0,0 +1,10 @@ + diff --git a/docs/assets/logo_white.svg b/docs/assets/logo_white.svg new file mode 100644 index 0000000..1891b7c --- /dev/null +++ b/docs/assets/logo_white.svg @@ -0,0 +1,10 @@ + diff --git a/docs/assets/logo_white_small.svg b/docs/assets/logo_white_small.svg new file mode 100644 index 0000000..fd8da2c --- /dev/null +++ b/docs/assets/logo_white_small.svg @@ -0,0 +1,41 @@ + + diff --git a/docs/assets/mirumee.png b/docs/assets/mirumee.png new file mode 100644 index 0000000..d3375f8 Binary files /dev/null and b/docs/assets/mirumee.png differ diff --git a/docs/index.md b/docs/index.md index 3ac05b9..19203e5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,15 @@ +
+
+ # Introduction Lynara is a tool that allows running Python ASGI applications in an AWS Lambda runtime. @@ -22,7 +34,7 @@ Install Lynara: Use Lynara with your ASGI application: -```python title="app.py" linenums="1" +```python title="app.py" linenums="1" import asyncio from lynara import Lynara, APIGatewayProxyEventV2Interface from fastapi import FastAPI diff --git a/docs/overrides/partials/copyright.html b/docs/overrides/partials/copyright.html index 59ab83c..2668e4b 100644 --- a/docs/overrides/partials/copyright.html +++ b/docs/overrides/partials/copyright.html @@ -1,16 +1,22 @@