-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
612 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Format | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
check-formatting: | ||
name: Check formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
make install dev=true | ||
- name: Check formatting | ||
run: | | ||
make format check=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
run-tests: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
make install dev=true | ||
- name: Run tests | ||
run: | | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# cq-extrusions | ||
A CadQuery library of extrusions | ||
# bd-extrusions | ||
A build123d library of extrusions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,12 @@ | ||
# Configuration file for the Sphinx documentation builder. | ||
from datetime import date | ||
|
||
# -- Project information | ||
|
||
project = 'cq-extrusions' | ||
copyright = '2024, James Keal' | ||
author = 'James Keal' | ||
release = '0.0.1' | ||
|
||
# -- General configuration | ||
project = "bd-extrusions" | ||
release = "0.0.1" | ||
author = "James Keal" | ||
copyright = f"{date.today().year}, {author}" | ||
|
||
extensions = [ | ||
"autodoc2", | ||
"myst_parser", | ||
"sphinx.ext.autodoc", | ||
] | ||
autodoc2_packages = [ | ||
"../src/cq_extrusions", | ||
] | ||
|
||
# -- Options for HTML output | ||
|
||
html_theme = 'sphinx_rtd_theme' | ||
html_theme = "sphinx_rtd_theme" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Welcome to bd-extrusions's documentation! | ||
========================================= | ||
|
||
.. toctree:: | ||
|
||
vslot | ||
apidocs/index |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
V-Slot | ||
====== | ||
|
||
.. autodoc2-object:: bd_extrusions.vslot | ||
|
||
render_plugin = "rst" | ||
no_index = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,31 +3,31 @@ requires = ["setuptools"] | |
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "cq-extrusions" | ||
name = "bd-extrusions" | ||
version = "0.0.1" | ||
authors = [ | ||
{ name="James Keal", email="[email protected]" }, | ||
] | ||
description = "A CadQuery library of extrusions" | ||
description = "A build123d library of extrusions" | ||
readme = "README.md" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"cadquery>=2.4.0", | ||
"build123d>=0.5.0", | ||
] | ||
optional-dependencies.dev = [ | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black", | ||
"isort", | ||
"mypy", | ||
"myst-parser", | ||
"pytest", | ||
"sphinx-autodoc2", | ||
"sphinx-rtd-theme", | ||
"sphinx", | ||
] | ||
|
||
[project.urls] | ||
Github = "https://github.com/keeeal/cq-extrusions" | ||
Github = "https://github.com/keeeal/bd-extrusions" |
Oops, something went wrong.