Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
keeeal committed Apr 19, 2024
1 parent 835c7fb commit 84ef5f9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 23 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ instance/

# Sphinx documentation
docs/_build/
docs/apidocs/

# PyBuilder
.pybuilder/
Expand Down
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@

pip-compile-options = --quiet --upgrade --no-emit-index-url

# Install package. Usage: make install [dev=true]
# Usage: make install [dev=true]
install:
pip install --upgrade pip pip-tools
pip install -r requirements$(if $(dev),-dev,).txt
pip install -e .

# Format code. Usage: make format [check=true]
# Format code
format:
isort $(if $(check),--check,) .
black $(if $(check),--check,) .
isort .
black .

# Lint code
lint:
isort --check .
black --check .
mypy .

# Run unit tests
test:
Expand Down
14 changes: 11 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
Welcome to bd-extrusions's documentation!
=========================================
bd-extrusions
=============

A collection of extrusions modelled using the `Build123d`_ CAD library.

#################
Table of Contents
#################

.. toctree::
:maxdepth: 2

vslot
apidocs/index

.. _Build123d: https://build123d.readthedocs.io/
8 changes: 4 additions & 4 deletions docs/vslot.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
V-Slot
======

.. autodoc2-object:: bd_extrusions.vslot

render_plugin = "rst"
no_index = true
.. automodule:: bd_extrusions.vslot
:members:
:undoc-members:
:show-inheritance:
11 changes: 0 additions & 11 deletions test.py

This file was deleted.

0 comments on commit 84ef5f9

Please sign in to comment.