Compare commits
80 Commits
Author | SHA1 | Date | |
---|---|---|---|
533c43952c | |||
19ebe81f5b | |||
ff34befdd3 | |||
8b1c2fbc04 | |||
ae62d18ff3 | |||
22ee8f364a | |||
9948d645a4 | |||
23e631ea94 | |||
977396c615 | |||
34f46d5022 | |||
936e4adbf1 | |||
c19114f3d2 | |||
ab1740e2a5 | |||
667ef08235 | |||
dec4b2a6e3 | |||
4c12ac0506 | |||
d8b33f880f | |||
fec30b6abc | |||
3117c86ea4 | |||
8bb54b8382 | |||
08ac3093a8 | |||
152e2ccc0c | |||
ef6b1d9ca1 | |||
284a911a38 | |||
5c2d11d814 | |||
a26c922360 | |||
0ba1480511 | |||
ddb5f19a29 | |||
3c70a17d78 | |||
994b2de5c3 | |||
29d1308d0e | |||
4e0a5c1b44 | |||
f01cb3c62d | |||
908c7efe12 | |||
df3f38ba7d | |||
e5b9c1020c | |||
4a5411d0ca | |||
0422a9a4fd | |||
f622646127 | |||
b8f4106107 | |||
b32d37fc48 | |||
650a99936b | |||
b4d43b584b | |||
0d39b80547 | |||
d86f2560ac | |||
c5db75b131 | |||
0b33d376c2 | |||
95faa77326 | |||
39b183c731 | |||
f408eae3d2 | |||
2134a8e5de | |||
8d0ab1a2b8 | |||
efabead34c | |||
4d2468541c | |||
e7f966bea8 | |||
147dea9927 | |||
6f2330aa85 | |||
8e7d73973d | |||
8c9d476771 | |||
96a23c4672 | |||
4f88e5f0a7 | |||
a49aa621ed | |||
eb0380ef2d | |||
9414ebcc0b | |||
0c6b538605 | |||
905e2094de | |||
4623f854af | |||
3802dd36fc | |||
a046a9a82b | |||
c795346cd0 | |||
3bd4326f2c | |||
b08726834a | |||
26954ba9f8 | |||
20496480f7 | |||
2c8e9f90d7 | |||
197aa2fc55 | |||
4beba625ed | |||
67a03bdd03 | |||
30db5097ff | |||
b80b69b023 |
17
.github/workflows/update-spec-for-docs.yml
vendored
17
.github/workflows/update-spec-for-docs.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Ensure no files changed
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
if [[ `git status --porcelain kittycad/` ]]; then
|
||||
echo "Files changed, exiting";
|
||||
exit 1;
|
||||
else
|
||||
@ -34,30 +34,29 @@ jobs:
|
||||
# Checkout the docs repo since we will want to update the files there.
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'kittycad/docs'
|
||||
repository: 'kittycad/website'
|
||||
path: 'docs'
|
||||
token: ${{secrets.PAT_GITHUB}}
|
||||
- name: move spec to docs
|
||||
shell: bash
|
||||
run: |
|
||||
rm docs/spec.json || true
|
||||
cp spec.json docs/spec.json
|
||||
rm docs/kittycad.py.patch.json || true
|
||||
cp kittycad.py.patch.json docs/kittycad.py.patch.json
|
||||
- name: commit the changes in the docs repo
|
||||
shell: bash
|
||||
run: |
|
||||
export VERSION=$(cat VERSION.txt);
|
||||
cd docs
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git add .
|
||||
git commit -am "YOYO NEW SPEC DOCS ${VERSION}!" || exit 0
|
||||
git commit -am "YOYO NEW SPEC PYTHON DOCS!" || exit 0
|
||||
git fetch origin
|
||||
git rebase origin/main || exit 0
|
||||
export NEW_BRANCH="update-spec-${VERSION}"
|
||||
export NEW_BRANCH="update-spec-python"
|
||||
git checkout -b "$NEW_BRANCH"
|
||||
git push -f origin "$NEW_BRANCH"
|
||||
gh pr create --title "Update lang spec docs for ${VERSION}" \
|
||||
--body "Updating the generated docs for go lang" \
|
||||
gh pr create --title "Update lang spec docs for python" \
|
||||
--body "Updating the generated docs for python" \
|
||||
--head "$NEW_BRANCH" \
|
||||
--base main || true
|
||||
env:
|
||||
|
1
Makefile
1
Makefile
@ -22,6 +22,7 @@ generate: docker-image ## Generate the api client.
|
||||
shell: docker-image ## Pop into a shell in the docker image.
|
||||
docker run --rm -i $(DOCKER_FLAGS) \
|
||||
--name python-generator-shell \
|
||||
-e KITTYCAD_API_TOKEN \
|
||||
--disable-content-trust \
|
||||
-v $(CURDIR):/usr/src \
|
||||
--workdir /usr/src \
|
||||
|
@ -1,3 +1,5 @@
|
||||

|
||||
|
||||
# kittycad.py
|
||||
|
||||
The Python API client for KittyCAD.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Sphinx build info version 1
|
||||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
||||
config: 801b3277a7f682f8d93df02ea3878661
|
||||
config: 4b9674dd05f426997ea93164c4dd9b06
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.apps.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.apps.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.constant.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.constant.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.logout.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.logout.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.oauth2.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.oauth2.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.unit.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.unit.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.base64_data.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.base64_data.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.commit.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.commit.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.empty.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.empty.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.index_info.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.index_info.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.ip_addr.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.ip_addr.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.new_address.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.new_address.doctree
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user