linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.23k stars 95 forks source link

Convert doc links to symbols. #548

Closed xStrom closed 1 year ago

xStrom commented 1 year ago

Some links were broken while others were not. I converted all of them to symbol based links to fix the broken ones and hopefully keep all of them functioning for longer.

The only exceptions were StrokeStyle#structfield.dash_offset and StrokeStyle#structfield.dash_pattern which keep the URL fragment part. Apparently rustdoc has no way to disambiguate struct fields. There are ways to disambiguate other stuff like methods, but not fields. Fields were mentioned as a potential future extension in the RFC, but that work hasn't happened as far as I can tell.