Skip to content

Commit 24fbb01

Browse files
authored
Merge pull request #198 from polywrap/dev
prep 0.1.0a30 | /workflows/cd
2 parents 42a4b1e + 2cb745b commit 24fbb01

430 files changed

Lines changed: 9692 additions & 4840 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CD
22
on:
33
pull_request:
44
types: [closed]
5+
branches: [main]
56

67
jobs:
78
Pre-Check:

.github/workflows/post-cd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
# When Pull Request is merged
44
pull_request_target:
55
types: [closed]
6+
branches: [main]
67

78
jobs:
89
Dev-PR:
910
runs-on: ubuntu-latest
1011
if: |
1112
github.event.pull_request.user.login == 'github-actions[bot]' &&
13+
startsWith(github.event.pull_request.title, '[CD]')
1214
github.event.pull_request.merged == true
1315
steps:
1416
- name: Checkout

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ celerybeat.pid
104104
# Environments
105105
.env
106106
.venv
107-
env/
108107
venv/
109-
ENV/
110108
env.bak/
111109
venv.bak/
112110

.readthedocs.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.10"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
jobs:
18+
post_create_environment:
19+
# Install poetry
20+
# https://python-poetry.org/docs/#installing-manually
21+
- pip install poetry
22+
# Tell poetry to not use a virtual environment
23+
- poetry config virtualenvs.create false
24+
post_install:
25+
# Install dependencies with 'docs' dependency group
26+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
27+
- cd docs && poetry install && cd ..
28+
29+
# Build documentation in the "docs/" directory with Sphinx
30+
sphinx:
31+
configuration: docs/source/conf.py
32+
33+
# Optionally build your docs in additional formats such as PDF and ePub
34+
# formats:
35+
# - pdf
36+
# - epub
37+
38+
# Optional but recommended, declare the Python requirements required
39+
# to build your documentation
40+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
41+
# python:
42+
# install:
43+
# - requirements: docs/requirements.txt

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0a29
1+
0.1.0a30

docs/build.sh

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

docs/clean.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rm -Rf ./source/**/*.rst

docs/docgen.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sphinx-apidoc ../packages/polywrap-msgpack/polywrap_msgpack -o ./source/polywrap-msgpack -e
2+
sphinx-apidoc ../packages/polywrap-manifest/polywrap_manifest -o ./source/polywrap-manifest -e
3+
sphinx-apidoc ../packages/polywrap-core/polywrap_core -o ./source/polywrap-core -e
4+
sphinx-apidoc ../packages/polywrap-wasm/polywrap_wasm -o ./source/polywrap-wasm -e
5+
sphinx-apidoc ../packages/polywrap-plugin/polywrap_plugin -o ./source/polywrap-plugin -e
6+
sphinx-apidoc ../packages/polywrap-uri-resolvers/polywrap_uri_resolvers -o ./source/polywrap-uri-resolvers -e
7+
sphinx-apidoc ../packages/polywrap-client/polywrap_client -o ./source/polywrap-client -e
8+
sphinx-apidoc ../packages/polywrap-client-config-builder/polywrap_client_config_builder -o ./source/polywrap-client-config-builder -e

docs/poetry.lock

Lines changed: 136 additions & 361 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ name = "docs"
77
version = "0.1.0"
88
description = ""
99
authors = ["Niraj <niraj@polywrap.io>"]
10-
readme = "README.md"
1110

1211
[tool.poetry.dependencies]
1312
python = "^3.10"
@@ -22,5 +21,4 @@ polywrap-client-config-builder = { path = "../packages/polywrap-client-config-bu
2221

2322
[tool.poetry.group.dev.dependencies]
2423
sphinx = "^6.1.3"
25-
sphinx-rtd-theme = "^1.2.0"
26-
24+
sphinx-rtd-theme = "^1.2.0"

0 commit comments

Comments
 (0)