Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hdadhich01 committed Dec 14, 2023
1 parent 711dbdf commit bb7b66d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ from round_nutrition import * # or specific functions
All subnutrient functions take in an `int` or `str` argument for `quantity`

```js
General Vitamin Mineral Other
General Vitamin Mineral Other
added_sugars* biotin calcium choline
calories folate chromium
cholesterol* niacin copper
Expand Down
6 changes: 3 additions & 3 deletions round_nutrition/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def soluble_fiber(quantity: "int|str", minimal: bool = False) -> str:


def insoluble_fiber(quantity: "int|str", minimal: bool = False) -> str:
"""Round a insoluble fiber quantity.
"""Round an insoluble fiber quantity.
Args:
quantity (int|str): The quantity to be rounded.
Expand Down Expand Up @@ -205,7 +205,7 @@ def total_sugars(quantity: "int|str", minimal: bool = False) -> str:


def added_sugars(quantity: "int|str", minimal: bool = False) -> str:
"""Round a added sugars quantity.
"""Round an added sugars quantity.
Args:
quantity (int|str): The quantity to be rounded.
Expand Down Expand Up @@ -237,7 +237,7 @@ def sugar_alcohol(quantity: "int|str", minimal: bool = False) -> str:


def other_carb(quantity: "int|str", minimal: bool = False) -> str:
"""Round a other carbohydrate quantity.
"""Round an other carbohydrate quantity.
Args:
quantity (int|str): The quantity to be rounded.
Expand Down
2 changes: 1 addition & 1 deletion round_nutrition/mineral.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def magnesium(quantity: "int|str") -> str:


def iron(quantity: "int|str") -> str:
"""Round a iron quantity.
"""Round an iron quantity.
Args:
quantity (int|str): The quantity to be rounded.
Expand Down

0 comments on commit bb7b66d

Please sign in to comment.