Skip to content

Commit

Permalink
Renamed common API to Specific API
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Oct 27, 2022
1 parent cf3d431 commit 9eecc1f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/api/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Base API
.. currentmodule:: pint


These are the classes, exceptions and functions that you will most likely use.


Most important classes
----------------------

Expand Down
6 changes: 6 additions & 0 deletions docs/api/facets.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
API facets reference
====================

Registry functionality is divided into facet. Each provides classes and functions
specific to a particular purpose. They expose at least a Registry, and in certain
cases also a Quantity, Unit and other objects.

The default UnitRegistry inherits from all of them.


.. automodule:: pint.facets.plain
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ API reference
:hidden:

base
common
specific
facets
8 changes: 6 additions & 2 deletions docs/api/common.rst → docs/api/specific.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Common API
==========
Specific API
============

These are the classes, exceptions and functions that you will use if you need
to dig deeper into Pint or develop Pint.


.. automodule:: pint.babel_names
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/getting/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Pint will complain if you try to use a unit which is not in the registry:
You can add your own units to the existing registry, or build your own list.
See the page on :ref:`defining` for more information on that.

See `String parsing`_ and :doc:`defining-quantities` for more ways of defining
See `String parsing`_ and :ref:`Defining Quantities`_ for more ways of defining
a ``Quantity()`` object.

``Quantity()`` objects also work well with NumPy arrays, which you can
Expand Down

0 comments on commit 9eecc1f

Please sign in to comment.