Compare commits

...

105 Commits

Author SHA1 Message Date
3ce38b0b26 Delete .DS_Store 2023-08-17 13:36:24 -07:00
d8a3120db3 Delete .DS_Store 2023-08-17 13:35:43 -07:00
968e8bbefd fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-08-17 13:34:47 -07:00
9921f5a9f3 Update api spec (#124)
* YOYO NEW API SPEC!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* tuples

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-17 12:48:13 -07:00
3cde65018e I HAVE GENERATED YOUR NEW DOCS! 2023-08-16 23:39:29 +00:00
8ba29a105d Update api spec (#119)
* YOYO NEW API SPEC!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-16 16:31:50 -07:00
690e7686fd Update ruff requirement from ^0.0.280 to ^0.0.284 (#123)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.280...v0.0.284)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 13:34:37 -07:00
6a23831e8f Update sphinx requirement from ^6.2.1 to ^7.1.2 (#121)
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.2.1...v7.1.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 13:02:22 -07:00
1eafc5225d I HAVE GENERATED YOUR NEW DOCS! 2023-08-01 01:11:18 +00:00
1a978b79f0 add websockets lib, bump version (#116)
* add websockets lib, bump version

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* use template

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 18:05:13 -07:00
20b2a188dc I HAVE GENERATED YOUR NEW DOCS! 2023-07-31 19:56:37 +00:00
4c3f497d73 Fixes (#115)
* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 12:50:30 -07:00
d678182dcf Update api spec (#113)
YOYO NEW API SPEC!

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 11:33:50 -07:00
6998fc0865 Update openapi-spec-validator requirement from ^0.5.6 to ^0.6.0 (#109)
Updates the requirements on [openapi-spec-validator](https://github.com/python-openapi/openapi-spec-validator) to permit the latest version.
- [Release notes](https://github.com/python-openapi/openapi-spec-validator/releases)
- [Commits](https://github.com/python-openapi/openapi-spec-validator/compare/0.5.6...0.6.0)

---
updated-dependencies:
- dependency-name: openapi-spec-validator
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 11:33:34 -07:00
e2209b2ebd Update black requirement from ^22.0.0 to ^23.7.0 (#110)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.1.0...23.7.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 11:33:23 -07:00
6c8fc70413 Update ruff requirement from ^0.0.277 to ^0.0.280 (#114)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.277...v0.0.280)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 11:33:13 -07:00
021595ed07 I HAVE GENERATED YOUR NEW DOCS! 2023-07-08 02:27:32 +00:00
f5da088b67 Update api spec (#107)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-07 19:22:51 -07:00
fd52b906c4 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-07-07 19:02:28 -07:00
405e78dc67 I HAVE GENERATED YOUR NEW DOCS! 2023-07-08 01:08:27 +00:00
d0a345acd0 Update api spec (#98)
* YOYO NEW API SPEC!

* fixups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-07 18:03:18 -07:00
c6af833ec5 Update prance requirement from ^0.22.11 to ^23.6.21 (#102)
Updates the requirements on [prance](https://github.com/RonnyPfannschmidt/prance) to permit the latest version.
- [Release notes](https://github.com/RonnyPfannschmidt/prance/releases)
- [Changelog](https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst)
- [Commits](https://github.com/RonnyPfannschmidt/prance/compare/v0.22.11.04.0...v23.06.21.0)

---
updated-dependencies:
- dependency-name: prance
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 17:57:44 -07:00
da9376ece5 Update ruff requirement from ^0.0.270 to ^0.0.277 (#105)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.270...v0.0.277)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 17:07:22 -07:00
e083b6e0e6 I HAVE GENERATED YOUR NEW DOCS! 2023-05-26 19:36:11 +00:00
74f5be43fa Update api spec (#97)
* YOYO NEW API SPEC!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* attempt fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-26 12:31:24 -07:00
65137564cf Update ruff requirement from ^0.0.269 to ^0.0.270 (#96)
Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 11:40:35 -07:00
9c726ee5da I HAVE GENERATED YOUR NEW DOCS! 2023-05-23 21:30:43 +00:00
c111c3813f Update api spec (#93)
* YOYO NEW API SPEC!

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23 14:24:13 -07:00
42f173783f Update ruff requirement from ^0.0.265 to ^0.0.269 (#95)
Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.269)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 12:28:20 -07:00
d8aeffc780 I HAVE GENERATED YOUR NEW DOCS! 2023-05-08 21:37:53 +00:00
55b35a322e fix example name
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-05-08 14:28:51 -07:00
fa2b411b78 I HAVE GENERATED YOUR NEW DOCS! 2023-05-08 20:06:56 +00:00
f933b716f4 fix;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-05-08 13:01:14 -07:00
8cf515b39f better and clean;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-05-08 12:59:24 -07:00
c209414459 more fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-05-08 12:59:11 -07:00
a6638fb08a updates
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-05-08 12:59:02 -07:00
dee61d7b08 Update api spec (#92)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-08 12:58:08 -07:00
91dbd8bc07 Update ruff requirement from ^0.0.264 to ^0.0.265 (#91)
Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.264...v0.0.265)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 12:01:45 -07:00
b80be3ab47 Update api spec (#90)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 15:44:53 -07:00
e23c09d4dd Update sphinx requirement from ^4.3.1 to ^6.2.1 (#88)
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.3.1...v6.2.1)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 15:39:58 -07:00
3734729d22 Update sphinxext-opengraph requirement from ^0.4.0 to ^0.8.2 (#89)
Updates the requirements on [sphinxext-opengraph](https://github.com/wpilibsuite/sphinxext-opengraph) to permit the latest version.
- [Release notes](https://github.com/wpilibsuite/sphinxext-opengraph/releases)
- [Commits](https://github.com/wpilibsuite/sphinxext-opengraph/compare/v0.4.0...v0.8.2)

---
updated-dependencies:
- dependency-name: sphinxext-opengraph
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 15:34:37 -07:00
0b99828bb6 Update openapi-spec-validator requirement from ^0.4.0 to ^0.5.6 (#87)
Updates the requirements on [openapi-spec-validator](https://github.com/python-openapi/openapi-spec-validator) to permit the latest version.
- [Release notes](https://github.com/python-openapi/openapi-spec-validator/releases)
- [Commits](https://github.com/python-openapi/openapi-spec-validator/compare/0.4.0...0.5.6)

---
updated-dependencies:
- dependency-name: openapi-spec-validator
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 15:34:20 -07:00
7c13493e90 Update sphinx-autoapi requirement from ^0.5.0 to ^2.0.1 (#86)
Updates the requirements on [sphinx-autoapi](https://github.com/readthedocs/sphinx-autoapi) to permit the latest version.
- [Release notes](https://github.com/readthedocs/sphinx-autoapi/releases)
- [Changelog](https://github.com/readthedocs/sphinx-autoapi/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/sphinx-autoapi/compare/v0.5.0...v2.0.1)

---
updated-dependencies:
- dependency-name: sphinx-autoapi
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 15:34:10 -07:00
2ba2a2a771 I HAVE GENERATED YOUR NEW DOCS! 2023-05-04 08:27:52 +00:00
77cd2c0956 bump (#84)
* bump

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 01:23:25 -07:00
4bb01c8473 I HAVE GENERATED YOUR NEW DOCS! 2023-05-04 08:11:43 +00:00
cb1bc5f3cd Update update-spec-for-docs.yml 2023-05-04 01:08:44 -07:00
fcd317aae4 bump (#80)
* bump

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* some fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* YOYO NEW API SPEC!

* reformat

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* for now force true

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* run the tests on generations

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add tests

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix some types

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* float to top

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix mypy

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* more noqa

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* ruff pass

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add docs

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* even less mypy errors

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add test

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* new path

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes for mypy

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* skip tests

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 00:58:06 -07:00
8877a3c146 Update api spec (#79)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-27 13:59:37 -07:00
b8d1f92872 version (#78)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-04-17 14:10:46 -07:00
e7009146e4 Update api spec (#77)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-17 14:06:46 -07:00
a03bc56651 bump version (#76)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-04-17 10:15:34 -07:00
2833086f13 Update httpx requirement from >=0.15.4,<0.24.0 to >=0.15.4,<0.25.0 (#74)
Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.15.4...0.24.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 10:12:25 -07:00
67da0afff9 Update attrs requirement from >=20.1.0,<23.0.0 to >=20.1.0,<24.0.0 (#75)
Updates the requirements on [attrs](https://github.com/python-attrs/attrs) to permit the latest version.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python-attrs/attrs/compare/20.1.0...23.1.0)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 10:07:29 -07:00
573f4a8bc8 Update api spec (#73)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-17 10:07:16 -07:00
11a1948ebc fix dockerfile / makefile (#72)
* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix ci

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-06 16:09:33 -07:00
137b1600a8 bump version (#71)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-04-06 15:36:16 -07:00
6ef6e60467 Update api spec (#70)
* YOYO NEW API SPEC!

* generate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-06 15:34:57 -07:00
374a57746e Update autopep8 requirement from ^1.6.0 to ^2.0.0 (#59)
Updates the requirements on [autopep8](https://github.com/hhatto/autopep8) to permit the latest version.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v1.6.0...v2.0.0)

---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 15:26:22 -07:00
20a61d19d1 Update pytest-asyncio requirement from ^0.20.3 to ^0.21.0 (#69)
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.3...v0.21.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 15:20:39 -07:00
782dc863d4 Update sphinx-automodapi requirement from ^0.14 to ^0.15 (#68)
Updates the requirements on [sphinx-automodapi](https://github.com/astropy/sphinx-automodapi) to permit the latest version.
- [Release notes](https://github.com/astropy/sphinx-automodapi/releases)
- [Changelog](https://github.com/astropy/sphinx-automodapi/blob/main/CHANGES.rst)
- [Commits](https://github.com/astropy/sphinx-automodapi/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: sphinx-automodapi
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 15:20:32 -07:00
daab399185 Update sphinxcontrib-spelling requirement from ^7.3.0 to ^8.0.0 (#67)
Updates the requirements on [sphinxcontrib-spelling](https://github.com/sphinx-contrib/spelling) to permit the latest version.
- [Release notes](https://github.com/sphinx-contrib/spelling/releases)
- [Commits](https://github.com/sphinx-contrib/spelling/compare/7.3.0...8.0.0)

---
updated-dependencies:
- dependency-name: sphinxcontrib-spelling
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 15:20:24 -07:00
e4370b6108 Update api spec (#65)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-31 14:27:22 -05:00
0403eddfd7 Fixes (#64)
* fix hyphens

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix hyphens

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add a test as well

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-27 16:22:14 -08:00
95f22c849d Update api spec (#52)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-27 14:50:50 -08:00
9fe98c9185 Update prance requirement from ^0.21.8 to ^0.22.11 (#60)
Updates the requirements on [prance](https://github.com/RonnyPfannschmidt/prance) to permit the latest version.
- [Release notes](https://github.com/RonnyPfannschmidt/prance/releases)
- [Changelog](https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst)
- [Commits](https://github.com/RonnyPfannschmidt/prance/compare/v0.21.8.0...v0.22.11.04.0)

---
updated-dependencies:
- dependency-name: prance
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 14:50:36 -08:00
d90bc06ff4 Update pytest-asyncio requirement from ^0.19.0 to ^0.20.3 (#63)
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.19.0...v0.20.3)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 14:50:28 -08:00
e63cda47eb add-issues-to-project-action-is-redundant (#61)
Made redundant by https://github.com/KittyCAD/internal-github-app

Related to https://github.com/KittyCAD/cio/issues/37
2022-11-11 13:26:58 +11:00
44e8b10185 Create add-issues-to-project.yml
Related to KittyCAD/Clowder#76
2022-10-13 05:15:21 +11:00
533c43952c I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 19:08:52 +00:00
19ebe81f5b bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:05:49 -07:00
ff34befdd3 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:05:30 -07:00
8b1c2fbc04 I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 19:03:20 +00:00
ae62d18ff3 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:00:18 -07:00
22ee8f364a I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 18:48:09 +00:00
9948d645a4 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 11:45:16 -07:00
23e631ea94 Merge pull request #49 from KittyCAD/update-spec
Update api spec
2022-10-03 11:44:56 -07:00
977396c615 Merge pull request #50 from KittyCAD/dependabot/pip/pytest-cov-tw-4.0.0
Update pytest-cov requirement from ^3.0.0 to ^4.0.0
2022-10-03 11:44:49 -07:00
34f46d5022 I have generated the latest API! 2022-09-29 21:52:21 +00:00
936e4adbf1 YOYO NEW API SPEC! 2022-09-29 21:48:13 +00:00
c19114f3d2 Update pytest-cov requirement from ^3.0.0 to ^4.0.0
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 11:46:05 +00:00
ab1740e2a5 I HAVE GENERATED YOUR NEW DOCS! 2022-08-15 20:01:02 +00:00
667ef08235 update kittycad.py
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-08-15 12:58:30 -07:00
dec4b2a6e3 Merge pull request #48 from KittyCAD/update-spec
Update api spec
2022-08-15 10:48:22 -07:00
4c12ac0506 YOYO NEW API SPEC! 2022-08-12 22:59:01 +00:00
d8b33f880f I HAVE GENERATED YOUR NEW DOCS! 2022-08-10 19:46:20 +00:00
fec30b6abc bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-08-10 12:44:00 -07:00
3117c86ea4 Merge pull request #47 from KittyCAD/update-spec
Update api spec
2022-08-10 12:43:30 -07:00
8bb54b8382 I have generated the latest API! 2022-08-10 19:41:56 +00:00
08ac3093a8 YOYO NEW API SPEC! 2022-08-10 19:38:23 +00:00
152e2ccc0c Add banner 2022-08-09 11:27:14 +10:00
ef6b1d9ca1 Merge pull request #43 from KittyCAD/dependabot/pip/attrs-gte-20.1.0-and-lt-23.0.0
Update attrs requirement from >=20.1.0,<22.0.0 to >=20.1.0,<23.0.0
2022-08-08 09:30:49 -07:00
284a911a38 Merge pull request #46 from KittyCAD/dependabot/pip/flake8-tw-5.0.4
Update flake8 requirement from ^4.0.1 to ^5.0.4
2022-08-08 09:30:41 -07:00
5c2d11d814 Update flake8 requirement from ^4.0.1 to ^5.0.4
Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 11:33:00 +00:00
a26c922360 Update attrs requirement from >=20.1.0,<22.0.0 to >=20.1.0,<23.0.0
Updates the requirements on [attrs](https://github.com/python-attrs/attrs) to permit the latest version.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-attrs/attrs/compare/20.1.0...22.1.0)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 11:30:06 +00:00
0ba1480511 I HAVE GENERATED YOUR NEW DOCS! 2022-07-28 15:43:45 +00:00
ddb5f19a29 Merge pull request #42 from KittyCAD/update-spec
Update api spec
2022-07-28 08:41:22 -07:00
3c70a17d78 I have generated the latest API! 2022-07-28 15:18:50 +00:00
994b2de5c3 YOYO NEW API SPEC! 2022-07-28 15:15:24 +00:00
29d1308d0e I HAVE GENERATED YOUR NEW DOCS! 2022-07-26 00:51:56 +00:00
4e0a5c1b44 bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-25 17:50:01 -07:00
f01cb3c62d Merge pull request #41 from KittyCAD/update-spec
Update api spec
2022-07-25 17:49:23 -07:00
908c7efe12 I have generated the latest API! 2022-07-26 00:49:02 +00:00
df3f38ba7d YOYO NEW API SPEC! 2022-07-26 00:45:36 +00:00
e5b9c1020c I HAVE GENERATED YOUR NEW DOCS! 2022-07-26 00:15:59 +00:00
3808 changed files with 460952 additions and 98550 deletions

38
.github/workflows/black.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: black
on:
push:
branches: main
paths:
- '**.py'
- .github/workflows/black.yml
- 'pyproject.toml'
pull_request:
paths:
- '**.py'
- .github/workflows/black.yml
- 'pyproject.toml'
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install dependencies
shell: bash
run: |
pip install \
poetry
- name: Build
shell: bash
run: |
poetry install
poetry build
- name: Run black
shell: bash
run: |
poetry run black --check --diff . generate/generate.py docs/conf.py kittycad/client_test.py kittycad/examples_test.py

View File

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v3
@ -41,14 +41,6 @@ jobs:
poetry install
poetry build
- name: Lint with flake8
shell: bash
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
#poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run pytest
shell: bash
run: |

View File

@ -23,6 +23,8 @@ jobs:
shell: bash
run: |
make generate
env:
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}}
- name: Check for modified files
id: git-check

38
.github/workflows/mypy.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: mypy
on:
push:
branches: main
paths:
- '**.py'
- .github/workflows/mypy.yml
- 'pyproject.toml'
pull_request:
paths:
- '**.py'
- .github/workflows/mypy.yml
- 'pyproject.toml'
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install dependencies
shell: bash
run: |
pip install \
poetry
- name: Build
shell: bash
run: |
poetry install
poetry build
- name: Run mypy
shell: bash
run: |
poetry run mypy .

38
.github/workflows/ruff.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: ruff
on:
push:
branches: main
paths:
- '**.py'
- .github/workflows/ruff.yml
- 'pyproject.toml'
pull_request:
paths:
- '**.py'
- .github/workflows/ruff.yml
- 'pyproject.toml'
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install dependencies
shell: bash
run: |
pip install \
poetry
- name: Build
shell: bash
run: |
poetry install
poetry build
- name: Run ruff
shell: bash
run: |
poetry run ruff check --format=github .

View File

@ -20,6 +20,8 @@ jobs:
shell: bash
run: |
make generate
env:
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}}
# Ensure no files changed.
- name: Ensure no files changed
shell: bash

5
.gitignore vendored
View File

@ -24,3 +24,8 @@ dmypy.json
poetry.lock
testing
# Sphinx documentation
docs/_build/
docs/_autosummary/
docs/html/_sources/

View File

@ -3,9 +3,9 @@ FROM python:3.9
RUN pip install \
poetry
WORKDIR /usr/src/
WORKDIR /home/user/src/
COPY . /usr/src/
COPY . /home/user/src/
RUN poetry update && poetry install

View File

@ -13,9 +13,10 @@ VERSION := $(shell toml get $(CURDIR)/pyproject.toml tool.poetry.version | jq -r
generate: docker-image ## Generate the api client.
docker run --rm -i $(DOCKER_FLAGS) \
--name python-generator \
-e KITTYCAD_API_TOKEN \
--disable-content-trust \
-v $(CURDIR):/usr/src \
--workdir /usr/src \
-v $(CURDIR):/home/user/src \
--workdir /home/user/src \
$(DOCKER_IMAGE_NAME) ./generate/run.sh
.PHONY: shell
@ -24,8 +25,8 @@ shell: docker-image ## Pop into a shell in the docker image.
--name python-generator-shell \
-e KITTYCAD_API_TOKEN \
--disable-content-trust \
-v $(CURDIR):/usr/src \
--workdir /usr/src \
-v $(CURDIR):/home/user/src \
--workdir /home/user/src \
$(DOCKER_IMAGE_NAME) /bin/bash

View File

@ -1,3 +1,5 @@
![image](https://user-images.githubusercontent.com/19377312/165883233-3bdbc9fb-ddf9-4173-8cf2-d1b70ab7127d.png)
# kittycad.py
The Python API client for KittyCAD.

View File

@ -0,0 +1,33 @@
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
:members:
:show-inheritance:
:inherited-members:
{% block methods %}
.. automethod:: __init__
{% if methods %}
.. rubric:: {{ _('Methods') }}
.. autosummary::
{% for item in methods %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
.. autosummary::
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}

View File

@ -0,0 +1,67 @@
{{ fullname | escape | underline}}
.. automodule:: {{ fullname }}
{% block attributes %}
{% if attributes %}
.. rubric:: Module Attributes
.. autosummary::
:toctree:
{% for item in attributes %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block functions %}
{% if functions %}
.. rubric:: {{ _('Functions') }}
.. autosummary::
:toctree:
{% for item in functions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block classes %}
{% if classes %}
.. rubric:: {{ _('Classes') }}
.. autosummary::
:toctree:
:template: custom-class-template.rst
{% for item in classes %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block exceptions %}
{% if exceptions %}
.. rubric:: {{ _('Exceptions') }}
.. autosummary::
:toctree:
{% for item in exceptions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block modules %}
{% if modules %}
.. rubric:: Modules
.. autosummary::
:toctree:
:template: custom-module-template.rst
:recursive:
{% for item in modules %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}

View File

@ -1,27 +0,0 @@
Client
======
.. currentmodule:: kittycad
.. autoclass:: Client
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~Client.get_cookies
~Client.get_headers
~Client.get_timeout
~Client.with_cookies
~Client.with_headers
~Client.with_timeout
.. rubric:: Methods Documentation
.. automethod:: get_cookies
.. automethod:: get_headers
.. automethod:: get_timeout
.. automethod:: with_cookies
.. automethod:: with_headers
.. automethod:: with_timeout

View File

@ -1,17 +0,0 @@
ClientFromEnv
=============
.. currentmodule:: kittycad
.. autoclass:: ClientFromEnv
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~ClientFromEnv.get_headers
.. rubric:: Methods Documentation
.. automethod:: get_headers

View File

@ -4,36 +4,39 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import datetime
import os
import pathlib
import sys
from typing import List
import toml
# The full version, including alpha/beta/rc tags
# Get the version from the pyproject file.
ROOT = pathlib.Path(__file__).parent.parent
PACKAGE_SRC = ROOT / "kittycad"
sys.path.insert(1, os.path.dirname(os.path.abspath(__file__)))
sys.path.append(os.path.abspath('../kittycad'))
sys.path.append(os.path.abspath("../kittycad"))
# -- Project information -----------------------------------------------------
project = 'kittycad'
author = 'KittyCAD Team Members'
copyright = author
project = "kittycad"
author = "KittyCAD Team Members"
year = datetime.date.today().year
copyright = str(year) + ", " + author
# The full version, including alpha/beta/rc tags
# Get the version from the poetry file.
import toml
with open(os.path.abspath('../pyproject.toml'), 'r') as f:
with open(os.path.abspath("../pyproject.toml"), "r") as f:
parsed_toml = toml.load(f)
version = parsed_toml['tool']['poetry']['version']
version = 'v'+version
version = parsed_toml["tool"]["poetry"]["version"]
version = "v" + version
release = version
language = "en"
default_role = "any"
# -- General configuration ---------------------------------------------------
@ -42,25 +45,34 @@ release = version
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx_autodoc_typehints',
'sphinx.ext.intersphinx',
'sphinx.ext.linkcode',
'sphinx_automodapi.automodapi',
'sphinx_rtd_theme'
"autoclasstoc",
"sphinx.ext.autodoc",
"sphinx.ext.autosectionlabel",
"sphinx.ext.autosummary",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
"sphinx.ext.graphviz",
"sphinx.ext.imgconverter",
"sphinx.ext.intersphinx",
"sphinx.ext.linkcode",
"sphinx.ext.mathjax",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
"sphinx_rtd_theme",
"sphinx_copybutton",
"sphinxext.opengraph",
]
numpydoc_show_class_members = False
automodapi_inheritance_diagram = False
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------
@ -68,35 +80,62 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [
]
html_theme_path: List[str] = []
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path: List[str] = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'trac'
pygments_style = "trac"
# Intersphinx configuration.
# FROM: https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#module-sphinx.ext.intersphinx
intersphinx_mapping = {
'python': ('https://python.readthedocs.io/en/latest/', None),
# pygments_style = "lovelace"
# pygments_dark_style = "one-dark"
# -- autodoc --
autodoc_default_options = {
"members": True,
"special-members": True,
"private-members": True,
"inherited-members": True,
"undoc-members": True,
"exclude-members": "__weakref__",
}
autodoc_inherit_docstrings = True
# -- autosummary --
autosummary_generate = True
autoclass_content = "both"
html_show_sourcelink = False
set_type_checking_flag = True
# -- autosectionlabel --
autosectionlabel_prefix_document = True
# -- intersphinx --
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
}
# This is a function linkcode_resolve(domain, info), which should return the URL
# to source code corresponding to the object in given domain with given information.
# FROM: https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html
def linkcode_resolve(domain, info):
if domain != 'py':
if domain != "py":
return None
if not info['module']:
if not info["module"]:
return None
filename = info['module'].replace('.', '/')
filename = info["module"].replace(".", "/")
return "https://github.com/kittycad/kittycad.py/%s.py" % filename
@ -104,10 +143,10 @@ def linkcode_resolve(domain, info):
try:
import enchant # noqa # pylint: disable=unused-import
except ImportError as ex:
print("enchant module import failed:\n"
"{0}\n"
"Spell checking disabled.".format(ex),
file=sys.stderr)
print(
"enchant module import failed:\n" "{0}\n" "Spell checking disabled.".format(ex),
file=sys.stderr,
)
else:
extensions.append('sphinxcontrib.spelling')
extensions.append("sphinxcontrib.spelling")
spelling_show_suggestions = True

View File

@ -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: bbdc7059b0750934434cf054762ff65f
config: c495e8d8690101e5ddd92e67eb0d0059
tags: 645f666f9bcd5a90fca523b33c5a78b7

Some files were not shown because too many files have changed in this diff Show More