Skip to content

Commit

Permalink
Add api docs for the PhaseTransition model (#181)
Browse files Browse the repository at this point in the history
* add PhaseTransition to model.__all__

* add ScatteringFactor api docs

* add Group to models.__all__ and sort alphabetically

* add allotrope arg

* update module docstring

* update module doc

* module doc

* add module doc

* add module doc

* add module doc

* add module doc

* update docs

* update vis docs

* fix reference
  • Loading branch information
lmmentel authored Sep 29, 2024
1 parent 5a48579 commit d3ba5f2
Show file tree
Hide file tree
Showing 22 changed files with 126 additions and 277 deletions.
29 changes: 23 additions & 6 deletions docs/source/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,40 @@
API Reference
*************

Here you'll find API documentation of the mendeleev's modules.
Here you'll find API documentation of the mendeleev's modules. For most users it'll be enough to use the high-level API provided by the classes below.
For more advances use cases you can use the lower-level functions and classes across the modules.

.. toctree::
:maxdepth: 2

Models <models>


Modules
=======

.. autosummary::
:toctree:

mendeleev.db
mendeleev.cli
mendeleev.db
mendeleev.econf
mendeleev.electronegativity
mendeleev.fetch
mendeleev.mendeleev
mendeleev.models
mendeleev.ion
mendeleev.utils


Visualization
=============

The main entry point for visualizing periodic tables with different
properties is the :func:`mendeleev.vis.periodictable.periodic_table` function.

.. toctree::

mendeleev.vis.periodictable
mendeleev.vis.bokeh
mendeleev.vis.plotly
mendeleev.vis.seaborn
mendeleev.vis.utils
mendeleev.utils
mendeleev.vis.utils
7 changes: 0 additions & 7 deletions docs/source/api/electronegativity.rst

This file was deleted.

27 changes: 25 additions & 2 deletions docs/source/api/mendeleev.cli.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
mendeleev.cli
=============

.. currentmodule:: mendeleev
.. automodule:: mendeleev.cli







.. rubric:: Functions

.. autosummary::

clielement













.. autodata:: cli
6 changes: 0 additions & 6 deletions docs/source/api/mendeleev.ion.rst

This file was deleted.

48 changes: 0 additions & 48 deletions docs/source/api/mendeleev.models.rst

This file was deleted.

2 changes: 2 additions & 0 deletions docs/source/api/mendeleev.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@

.. autosummary::

apply_rst_format
coeffs
n_effective
render_rst_table



Expand Down
20 changes: 1 addition & 19 deletions docs/source/api/mendeleev.vis.bokeh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,9 @@ mendeleev.vis.bokeh

.. automodule:: mendeleev.vis.bokeh







.. rubric:: Functions

.. autosummary::

periodic_table_bokeh



.. autofunction:: periodic_table_bokeh










23 changes: 2 additions & 21 deletions docs/source/api/mendeleev.vis.periodictable.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
mendeleev.vis.periodictable
mendeleev.vis.periodictable
===========================

.. automodule:: mendeleev.vis.periodictable







.. rubric:: Functions

.. autosummary::

periodic_table







.. autofunction:: periodic_table






24 changes: 3 additions & 21 deletions docs/source/api/mendeleev.vis.plotly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,11 @@ mendeleev.vis.plotly

.. automodule:: mendeleev.vis.plotly







.. rubric:: Functions

.. autosummary::

create_annotation
create_tile
periodic_table_plotly



.. autofunction:: periodic_table_plotly

.. autofunction:: create_annotation









.. autofunction:: create_tile
35 changes: 0 additions & 35 deletions docs/source/api/mendeleev.vis.rst

This file was deleted.

20 changes: 1 addition & 19 deletions docs/source/api/mendeleev.vis.seaborn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,9 @@ mendeleev.vis.seaborn

.. automodule:: mendeleev.vis.seaborn







.. rubric:: Functions

.. autosummary::

heatmap











.. autofunction:: heatmap


24 changes: 3 additions & 21 deletions docs/source/api/mendeleev.vis.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,11 @@ mendeleev.vis.utils

.. automodule:: mendeleev.vis.utils







.. rubric:: Functions

.. autosummary::

add_tile_coordinates
colormap_column
create_vis_dataframe











.. autofunction:: add_tile_coordinates

.. autofunction:: colormap_column

.. autofunction:: create_vis_dataframe
Loading

0 comments on commit d3ba5f2

Please sign in to comment.