Skip to content

Commit

Permalink
DOC: improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
saullocastro committed Mar 9, 2024
1 parent 3171d00 commit f2c9cfe
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
10 changes: 5 additions & 5 deletions composites/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
r"""
===================================================================
Methods to calculate composite plate properties (:mod:`composites`)
===================================================================
=====================================
API documentation (:mod:`composites`)
=====================================
.. currentmodule::composites
The ``composites`` module includes functions used to calculate plate properties
for laminated composites and isotropic plates.
The ``composites`` module includes functions used to calculate properties and
perform analysis on laminated composites and isotropic plates.
Classical and first-order shear deformation theories are supported. For
classical plate theories or classical laminated plate theories (CLPT), the
Expand Down
9 changes: 6 additions & 3 deletions composites/kassapoglou.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
r"""
===========================================================================
Implementations based on Kassapoglou's book (:mod:`composites.kassapoglou`)
===========================================================================
=====================================================
Kassapoglou's methods (:mod:`composites.kassapoglou`)
=====================================================
.. currentmodule::composites.kassapoglou
Methods based on Kassapoglou's book.
Reference:
Kassapoglou. Design and Analysis of Composite Structures. 2nd Edition. John Wiley & Sons Ltd, 2013.
Expand Down
2 changes: 2 additions & 0 deletions doc/source/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. automodule:: composites
:members:
18 changes: 11 additions & 7 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
Documentation for the ``composites`` module
===========================================

High-performance module to calculate properties of laminated composite
materials, and constraints such as buckling. Usually, this module is used to
calculate:
High-performance module to calculate properties and perform analysis on
composites. With the ``composites`` module, you are able to calculate:

* A, B, D, E plane-stress stiffness matrices for plates
- A, B, D, for classical plate theory (CLT, or CLPT)
Expand All @@ -15,6 +14,9 @@ calculate:

* Stiffness matrices (ABDE) based on lamination parameters

* Based on Kassapoglou's book, local buckling under compression, shear, and
post-buckling


Code repository
---------------
Expand All @@ -37,11 +39,13 @@ Bibtex :
}


Classes and functions
---------------------
API Documentation
-----------------

.. toctree::
:maxdepth: 1

.. automodule:: composites
:members:
api.rst


License
Expand Down
2 changes: 0 additions & 2 deletions doc/source/kassapoglou.rst

This file was deleted.

0 comments on commit f2c9cfe

Please sign in to comment.