opendp / opendp

The core library of differential privacy algorithms powering the OpenDP Project.
https://opendp.org
MIT License
284 stars 46 forks source link

Extra spaces in local rendered documentation #1549

Open mccalluc opened 2 weeks ago

mccalluc commented 2 weeks ago

For some reason, when I run make html locally I see some extra spaces:

a bsolute_distance(QI)

and

v ector_domain(atom_domain(T))
Screenshot 2024-04-26 at 11 36 13 AM

The generated python source looks good:

    r"""Make a Measurement that adds noise from the Gaussian(`scale`) distribution to the input.

    Valid inputs for `input_domain` and `input_metric` are:

    | `input_domain`                  | input type   | `input_metric`          |
    | ------------------------------- | ------------ | ----------------------- |
    | `atom_domain(T)`                | `T`          | `absolute_distance(QI)` |
    | `vector_domain(atom_domain(T))` | `Vec<T>`     | `l2_distance(QI)`       |

This doesn't show up on https://docs.opendp.org/en/nightly/api/python/opendp.measurements.html#opendp.measurements.make_gaussian, so it's not a high priority, but it's very weird.