From 551ea99d05166b0be50792f767ddd38b996e32fa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 May 2023 14:41:46 +0200 Subject: Show default values in documentation Fixes #169 Fixes #1102 --- library/src/visualize/path.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'library/src/visualize/path.rs') diff --git a/library/src/visualize/path.rs b/library/src/visualize/path.rs index 9b3fd876..c9b596c7 100644 --- a/library/src/visualize/path.rs +++ b/library/src/visualize/path.rs @@ -27,8 +27,11 @@ pub struct PathElem { /// [non-zero winding rule](https://en.wikipedia.org/wiki/Nonzero-rule). pub fill: Option, - /// How to stroke the path. See the - /// [polygon's documentation]($func/polygon.stroke) for more details. + /// How to stroke the path. This can be: + /// + /// See the [line's documentation]($func/line.stroke) for more details. Can + /// be set to `{none}` to disable the stroke or to `{auto}` for a stroke of + /// `{1pt}` black if and if only if no fill is given. #[resolve] #[fold] pub stroke: Smart>, -- cgit v1.2.3