Skip to content

Commit 06eef66

Browse files
committed
better inheritance diagrams
1 parent ab42291 commit 06eef66

File tree

5 files changed

+3
-21
lines changed

5 files changed

+3
-21
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797

9898
# graph options
9999

100-
inheritance_graph_attrs = dict(rankdir="TB", size='"16.0, 16.0"', ratio="auto")
101-
inheritance_node_attrs = dict(fontsize=12)
100+
inheritance_graph_attrs = dict(rankdir="TB", size='"16.0, 10.0"', ratio="auto", resolution=150)
101+
inheritance_node_attrs = dict(fontsize=10)
102102

103103
# napoleon options
104104

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ m2r
1313
nbsphinx
1414
pydocstyle
1515
pytest >=3.2
16-
sphinx_compas_theme >=0.11.5
16+
sphinx_compas_theme >=0.11.6
1717
sphinx >=1.6, <2.4.4
1818
twine
1919
-e .

src/compas/datastructures/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
66
.. currentmodule:: compas.datastructures
77
8-
.. rst-class:: figure
9-
108
.. inheritance-diagram:: Network Mesh VolMesh
119
:parts: 1
1210

src/compas/geometry/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
Primitives
1010
==========
1111
12-
.. rst-class:: figure
13-
1412
.. inheritance-diagram:: Circle Ellipse Frame Line Plane Point Polygon Polyline Quaternion Vector
1513
:parts: 1
1614
@@ -46,8 +44,6 @@
4644
Shapes
4745
======
4846
49-
.. rst-class:: figure
50-
5147
.. inheritance-diagram:: Box Capsule Cone Cylinder Polyhedron Torus
5248
:parts: 1
5349
@@ -80,8 +76,6 @@
8076
Transformations
8177
===============
8278
83-
.. rst-class:: figure
84-
8579
.. inheritance-diagram:: Projection Reflection Rotation Scale Shear Transformation Translation
8680
:parts: 1
8781

src/compas/robots/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
Model
1010
=====
1111
12-
.. rst-class:: figure
13-
1412
.. inheritance-diagram:: RobotModel Joint Link ToolModel
1513
:parts: 1
1614
@@ -31,8 +29,6 @@
3129
Geometric description
3230
=====================
3331
34-
.. rst-class:: figure
35-
3632
.. inheritance-diagram:: Origin Geometry Box Cylinder Sphere Capsule MeshDescriptor Material Texture Color
3733
:parts: 1
3834
@@ -58,8 +54,6 @@
5854
Link
5955
====
6056
61-
.. rst-class:: figure
62-
6357
.. inheritance-diagram:: Visual Collision Inertial Mass Inertia
6458
:parts: 1
6559
@@ -79,8 +73,6 @@
7973
Joint
8074
=====
8175
82-
.. rst-class:: figure
83-
8476
.. inheritance-diagram:: ParentLink ChildLink Calibration Dynamics Limit Axis Mimic SafetyController
8577
:parts: 1
8678
@@ -103,8 +95,6 @@
10395
Resources
10496
=========
10597
106-
.. rst-class:: figure
107-
10898
.. inheritance-diagram:: AbstractMeshLoader DefaultMeshLoader GithubPackageMeshLoader LocalPackageMeshLoader
10999
:parts: 1
110100

0 commit comments

Comments
 (0)