Results 111 comments of Jules Chéron

You can use for example: `ureg.define("liter = decimeter ** 3 = l = L = litre")` Or aliasing, see #860 & #868

You can use either string or UnitDefinition. https://github.com/hgrecco/pint/blob/c854b9bd49dd506c4e34a53889b350f66c806a93/pint/definitions.py#L224-L254

For the use case of using Decimal converter. You can use the `non_int_type` that was introduced by @hgrecco. We will need to improve documentation for unit definition which is lacking.

I'll reopen this to track change on this matter

I'll see what I can do. We're gonna have to work on the new documentation.

@hgrecco you can build it and tell me what you think. i've changed some directive to ipython to have better syntax hightlighting & restructured a bit. You can change the...

> I'd also recommend using `autosummary` to API: it creates overview pages that are much easier to read than the output of `autodoc` directives Thanks for the tip

@hgrecco , I'll try to finish & merge new docs next week. After that I think we can release a new version. Then code reorganization will follow. What do you...

Yeah saw that, just wanted to know how you would like to proceed since it will have an impact on API reference mostly.

Gonna push this next week for the next release at least the new trees & theme & start from there with new contents.