Skip to content

Commit

Permalink
enh: add quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpsilva07 committed Jan 21, 2024
1 parent 8fbf63f commit dedfb11
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 16 deletions.
4 changes: 3 additions & 1 deletion composipy/optimize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

from ._maximize_buckling import maximize_buckling_load
from ._minimize_panel_weight import minimize_panel_weight
from ._calculate_lp_proportions import calc_lp_proportions


__all__ = ['maximize_buckling_load', 'minimize_panel_weight']
2 changes: 1 addition & 1 deletion composipy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.1'
__version__ = '1.2.1'
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

#html_theme = 'alabaster'
html_theme = 'pydata_sphinx_theme'
#html_theme = 'renku'
#html_theme_path = [pydata_sphinx_theme.get_html_theme_path()]
#html_theme = 'yummy_sphinx_theme'
#html_theme = 'sphinx-readable-theme'
Expand Down
10 changes: 6 additions & 4 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
This page provides documentation for composipy project.
Composipy has functions to calculate classical laminate theory, buckling, lamination parameters and optimization.

.. mdinclude :: ../README.md

Contents
========

.. toctree::
:maxdepth: 2
:maxdepth: 3
:caption: Contents:

Examples <notebooks/index>
Code References <reference/index>
Quick Start <quickstart>
Code References <reference/index>
Examples <notebooks/index>
1 change: 1 addition & 0 deletions doc/quickstart.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. mdinclude :: ../README.md
3 changes: 3 additions & 0 deletions doc/reference/NastranAPI.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Nastran API functions
=====================
This page contains functions to be used with NASTRAN solver.


Generator of NASTRAN PCOMP property
-----------------------------------
.. automodule:: composipy.nastranapi.pcomp_generator
:members:

Expand Down
16 changes: 9 additions & 7 deletions doc/reference/classes.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
OrthotropicMaterial
===================
Composipy Classes
=================
This page contains Composipy classes, used to build the main instances of the package.


OrthotropicMaterial
-------------------
.. autoclass:: composipy.OrthotropicMaterial
:members:


LaminateProperty
================


----------------
.. autoclass:: composipy.LaminateProperty
:members:


PlateStructure
==============
--------------
.. autoclass:: composipy.PlateStructure
:members:
:members:

6 changes: 3 additions & 3 deletions doc/reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Code references
===============

Code classes, methods, attributes, functions and APIs are listed below.
This page contains Composipy classes, methods, attributes, functions and APIs.


.. toctree::
:maxdepth: 1
:maxdepth: 2
:caption: Contents:

Composipy classes <classes>
Composipy functions <optimization_functions>
Composipy APIs <NastranAPI>

0 comments on commit dedfb11

Please sign in to comment.