diff --git a/docs/book/src/animation/use_interval.md b/docs/book/src/animation/use_interval.md index 7c6b277..fc7d209 100644 --- a/docs/book/src/animation/use_interval.md +++ b/docs/book/src/animation/use_interval.md @@ -1,3 +1,3 @@ # use_interval - + diff --git a/docs/book/src/animation/use_interval_fn.md b/docs/book/src/animation/use_interval_fn.md index abe3791..392a0fa 100644 --- a/docs/book/src/animation/use_interval_fn.md +++ b/docs/book/src/animation/use_interval_fn.md @@ -1,3 +1,3 @@ # use_interval_fn - + diff --git a/docs/book/src/animation/use_raf_fn.md b/docs/book/src/animation/use_raf_fn.md index 5bc4ff4..0d65286 100644 --- a/docs/book/src/animation/use_raf_fn.md +++ b/docs/book/src/animation/use_raf_fn.md @@ -1,3 +1,3 @@ # use_raf_fn - + diff --git a/docs/book/src/animation/use_timeout_fn.md b/docs/book/src/animation/use_timeout_fn.md index 30f9740..6fa66ad 100644 --- a/docs/book/src/animation/use_timeout_fn.md +++ b/docs/book/src/animation/use_timeout_fn.md @@ -1,3 +1,3 @@ # use_timeout_fn - + diff --git a/docs/book/src/animation/use_timestamp.md b/docs/book/src/animation/use_timestamp.md index e080cdb..f3eec16 100644 --- a/docs/book/src/animation/use_timestamp.md +++ b/docs/book/src/animation/use_timestamp.md @@ -1,3 +1,3 @@ # use_timestamp - + diff --git a/docs/book/src/browser/use_breakpoints.md b/docs/book/src/browser/use_breakpoints.md index df342b8..cb1d4b9 100644 --- a/docs/book/src/browser/use_breakpoints.md +++ b/docs/book/src/browser/use_breakpoints.md @@ -1,3 +1,3 @@ # use_breakpoints - + diff --git a/docs/book/src/browser/use_broadcast_channel.md b/docs/book/src/browser/use_broadcast_channel.md index 8a2393a..9865f1b 100644 --- a/docs/book/src/browser/use_broadcast_channel.md +++ b/docs/book/src/browser/use_broadcast_channel.md @@ -1,3 +1,3 @@ # use_broadcast_channel - + diff --git a/docs/book/src/browser/use_clipboard.md b/docs/book/src/browser/use_clipboard.md index f3df1c8..4766ce2 100644 --- a/docs/book/src/browser/use_clipboard.md +++ b/docs/book/src/browser/use_clipboard.md @@ -1,3 +1,3 @@ # use_clipboard - + diff --git a/docs/book/src/browser/use_color_mode.md b/docs/book/src/browser/use_color_mode.md index 7d2775d..2fb9166 100644 --- a/docs/book/src/browser/use_color_mode.md +++ b/docs/book/src/browser/use_color_mode.md @@ -1,3 +1,3 @@ # use_color_mode - + diff --git a/docs/book/src/browser/use_cookie.md b/docs/book/src/browser/use_cookie.md index b125e32..ef410d8 100644 --- a/docs/book/src/browser/use_cookie.md +++ b/docs/book/src/browser/use_cookie.md @@ -1,3 +1,3 @@ # use_cookie - + diff --git a/docs/book/src/browser/use_css_var.md b/docs/book/src/browser/use_css_var.md index e977dcd..283eff0 100644 --- a/docs/book/src/browser/use_css_var.md +++ b/docs/book/src/browser/use_css_var.md @@ -1,3 +1,3 @@ # use_css_var - + diff --git a/docs/book/src/browser/use_display_media.md b/docs/book/src/browser/use_display_media.md index 6a2d3ed..b4dc837 100644 --- a/docs/book/src/browser/use_display_media.md +++ b/docs/book/src/browser/use_display_media.md @@ -1,3 +1,3 @@ # use_display_media - + diff --git a/docs/book/src/browser/use_event_listener.md b/docs/book/src/browser/use_event_listener.md index 783bca1..071551f 100644 --- a/docs/book/src/browser/use_event_listener.md +++ b/docs/book/src/browser/use_event_listener.md @@ -1,3 +1,3 @@ # use_event_listener - + diff --git a/docs/book/src/browser/use_favicon.md b/docs/book/src/browser/use_favicon.md index 079edc3..b5f0a8a 100644 --- a/docs/book/src/browser/use_favicon.md +++ b/docs/book/src/browser/use_favicon.md @@ -1,3 +1,3 @@ # use_favicon - + diff --git a/docs/book/src/browser/use_media_query.md b/docs/book/src/browser/use_media_query.md index d986055..bff3478 100644 --- a/docs/book/src/browser/use_media_query.md +++ b/docs/book/src/browser/use_media_query.md @@ -1,3 +1,3 @@ # use_media_query - + diff --git a/docs/book/src/browser/use_permission.md b/docs/book/src/browser/use_permission.md index ec8c074..3273b12 100644 --- a/docs/book/src/browser/use_permission.md +++ b/docs/book/src/browser/use_permission.md @@ -1,3 +1,3 @@ # use_permission - + diff --git a/docs/book/src/browser/use_preferred_contrast.md b/docs/book/src/browser/use_preferred_contrast.md index 8570548..e73997b 100644 --- a/docs/book/src/browser/use_preferred_contrast.md +++ b/docs/book/src/browser/use_preferred_contrast.md @@ -1,3 +1,3 @@ # use_preferred_contrast - + diff --git a/docs/book/src/browser/use_preferred_dark.md b/docs/book/src/browser/use_preferred_dark.md index 9883ba1..250f824 100644 --- a/docs/book/src/browser/use_preferred_dark.md +++ b/docs/book/src/browser/use_preferred_dark.md @@ -1,3 +1,3 @@ # use_preferred_dark - + diff --git a/docs/book/src/browser/use_prefers_reduced_motion.md b/docs/book/src/browser/use_prefers_reduced_motion.md index d6aa3ae..89b9030 100644 --- a/docs/book/src/browser/use_prefers_reduced_motion.md +++ b/docs/book/src/browser/use_prefers_reduced_motion.md @@ -1,3 +1,3 @@ # use_prefers_reduced_motion - + diff --git a/docs/book/src/browser/use_service_worker.md b/docs/book/src/browser/use_service_worker.md index 93f8a0a..a931604 100644 --- a/docs/book/src/browser/use_service_worker.md +++ b/docs/book/src/browser/use_service_worker.md @@ -1,3 +1,3 @@ # use_service_worker - + diff --git a/docs/book/src/browser/use_user_media.md b/docs/book/src/browser/use_user_media.md index 3e39cca..d11f42f 100644 --- a/docs/book/src/browser/use_user_media.md +++ b/docs/book/src/browser/use_user_media.md @@ -1,3 +1,3 @@ # use_user_media - + diff --git a/docs/book/src/browser/use_web_notification.md b/docs/book/src/browser/use_web_notification.md index ceef60c..20ee97e 100644 --- a/docs/book/src/browser/use_web_notification.md +++ b/docs/book/src/browser/use_web_notification.md @@ -1,3 +1,3 @@ # use_web_notification - + diff --git a/docs/book/src/elements/use_active_element.md b/docs/book/src/elements/use_active_element.md index c14fb19..7b3b2c7 100644 --- a/docs/book/src/elements/use_active_element.md +++ b/docs/book/src/elements/use_active_element.md @@ -1,3 +1,3 @@ # use_active_element - + diff --git a/docs/book/src/elements/use_document.md b/docs/book/src/elements/use_document.md index 838ae90..f86aab0 100644 --- a/docs/book/src/elements/use_document.md +++ b/docs/book/src/elements/use_document.md @@ -1,3 +1,3 @@ # use_document - + diff --git a/docs/book/src/elements/use_document_visibility.md b/docs/book/src/elements/use_document_visibility.md index 9bba161..162606d 100644 --- a/docs/book/src/elements/use_document_visibility.md +++ b/docs/book/src/elements/use_document_visibility.md @@ -1,3 +1,3 @@ # use_document_visibility - + diff --git a/docs/book/src/elements/use_draggable.md b/docs/book/src/elements/use_draggable.md index 124d9c6..08db592 100644 --- a/docs/book/src/elements/use_draggable.md +++ b/docs/book/src/elements/use_draggable.md @@ -1,3 +1,3 @@ # use_draggable - + diff --git a/docs/book/src/elements/use_drop_zone.md b/docs/book/src/elements/use_drop_zone.md index c2b037b..1916316 100644 --- a/docs/book/src/elements/use_drop_zone.md +++ b/docs/book/src/elements/use_drop_zone.md @@ -1,3 +1,3 @@ # use_drop_zone - + diff --git a/docs/book/src/elements/use_element_bounding.md b/docs/book/src/elements/use_element_bounding.md index ca3c015..12ae862 100644 --- a/docs/book/src/elements/use_element_bounding.md +++ b/docs/book/src/elements/use_element_bounding.md @@ -1,3 +1,3 @@ # use_element_bounding - + diff --git a/docs/book/src/elements/use_element_size.md b/docs/book/src/elements/use_element_size.md index b59e781..5c212e4 100644 --- a/docs/book/src/elements/use_element_size.md +++ b/docs/book/src/elements/use_element_size.md @@ -1,3 +1,3 @@ # use_element_size - + diff --git a/docs/book/src/elements/use_element_visibility.md b/docs/book/src/elements/use_element_visibility.md index 1e58d8d..1428bda 100644 --- a/docs/book/src/elements/use_element_visibility.md +++ b/docs/book/src/elements/use_element_visibility.md @@ -1,3 +1,3 @@ # use_element_visibility - + diff --git a/docs/book/src/elements/use_intersection_observer.md b/docs/book/src/elements/use_intersection_observer.md index cee0fcb..fc8551e 100644 --- a/docs/book/src/elements/use_intersection_observer.md +++ b/docs/book/src/elements/use_intersection_observer.md @@ -1,3 +1,3 @@ # use_intersection_observer - + diff --git a/docs/book/src/elements/use_mouse_in_element.md b/docs/book/src/elements/use_mouse_in_element.md index 0be1884..3db5236 100644 --- a/docs/book/src/elements/use_mouse_in_element.md +++ b/docs/book/src/elements/use_mouse_in_element.md @@ -1,3 +1,3 @@ # use_mouse_in_element - + diff --git a/docs/book/src/elements/use_mutation_observer.md b/docs/book/src/elements/use_mutation_observer.md index 65a585b..7c603c4 100644 --- a/docs/book/src/elements/use_mutation_observer.md +++ b/docs/book/src/elements/use_mutation_observer.md @@ -1,3 +1,3 @@ # use_mutation_observer - + diff --git a/docs/book/src/elements/use_resize_observer.md b/docs/book/src/elements/use_resize_observer.md index 1fc17bc..922c42f 100644 --- a/docs/book/src/elements/use_resize_observer.md +++ b/docs/book/src/elements/use_resize_observer.md @@ -1,3 +1,3 @@ # use_resize_observer - + diff --git a/docs/book/src/elements/use_window.md b/docs/book/src/elements/use_window.md index ee5e14a..708bd06 100644 --- a/docs/book/src/elements/use_window.md +++ b/docs/book/src/elements/use_window.md @@ -1,3 +1,3 @@ # use_window - + diff --git a/docs/book/src/elements/use_window_focus.md b/docs/book/src/elements/use_window_focus.md index 3aa9063..3c38bb5 100644 --- a/docs/book/src/elements/use_window_focus.md +++ b/docs/book/src/elements/use_window_focus.md @@ -1,3 +1,3 @@ # use_window_focus - + diff --git a/docs/book/src/elements/use_window_scroll.md b/docs/book/src/elements/use_window_scroll.md index 84ff90d..a25a456 100644 --- a/docs/book/src/elements/use_window_scroll.md +++ b/docs/book/src/elements/use_window_scroll.md @@ -1,3 +1,3 @@ # use_window_scroll - + diff --git a/docs/book/src/intl/use_intl_number_format.md b/docs/book/src/intl/use_intl_number_format.md index 3a87258..8aaa5c0 100644 --- a/docs/book/src/intl/use_intl_number_format.md +++ b/docs/book/src/intl/use_intl_number_format.md @@ -1,3 +1,3 @@ # use_intl_number_format - + diff --git a/docs/book/src/intl/use_locale.md b/docs/book/src/intl/use_locale.md index 56b32d7..a0e04d2 100644 --- a/docs/book/src/intl/use_locale.md +++ b/docs/book/src/intl/use_locale.md @@ -1,3 +1,3 @@ # use_locale - + diff --git a/docs/book/src/intl/use_locales.md b/docs/book/src/intl/use_locales.md index 084b0fd..5cd8525 100644 --- a/docs/book/src/intl/use_locales.md +++ b/docs/book/src/intl/use_locales.md @@ -1,3 +1,3 @@ # use_locales - + diff --git a/docs/book/src/iterable/use_sorted.md b/docs/book/src/iterable/use_sorted.md index ad6b740..b436259 100644 --- a/docs/book/src/iterable/use_sorted.md +++ b/docs/book/src/iterable/use_sorted.md @@ -1,3 +1,3 @@ # use_sorted - + diff --git a/docs/book/src/network/use_event_source.md b/docs/book/src/network/use_event_source.md index 8ab75c8..84596e9 100644 --- a/docs/book/src/network/use_event_source.md +++ b/docs/book/src/network/use_event_source.md @@ -1,3 +1,3 @@ # use_event_source - + diff --git a/docs/book/src/network/use_websocket.md b/docs/book/src/network/use_websocket.md index 1dac32f..148a673 100644 --- a/docs/book/src/network/use_websocket.md +++ b/docs/book/src/network/use_websocket.md @@ -1,3 +1,3 @@ # use_websocket - + diff --git a/docs/book/src/reactivity/signal_debounced.md b/docs/book/src/reactivity/signal_debounced.md index 007a914..fbc9b4a 100644 --- a/docs/book/src/reactivity/signal_debounced.md +++ b/docs/book/src/reactivity/signal_debounced.md @@ -1,3 +1,3 @@ # signal_debounced - + diff --git a/docs/book/src/reactivity/signal_throttled.md b/docs/book/src/reactivity/signal_throttled.md index 44e84ef..7ee837b 100644 --- a/docs/book/src/reactivity/signal_throttled.md +++ b/docs/book/src/reactivity/signal_throttled.md @@ -1,3 +1,3 @@ # signal_throttled - + diff --git a/docs/book/src/reactivity/sync_signal.md b/docs/book/src/reactivity/sync_signal.md index 0a3f77b..dc9cb1c 100644 --- a/docs/book/src/reactivity/sync_signal.md +++ b/docs/book/src/reactivity/sync_signal.md @@ -1,3 +1,3 @@ # sync_signal - + diff --git a/docs/book/src/sensors/on_click_outside.md b/docs/book/src/sensors/on_click_outside.md index 37bf082..adaea81 100644 --- a/docs/book/src/sensors/on_click_outside.md +++ b/docs/book/src/sensors/on_click_outside.md @@ -1,3 +1,3 @@ # on_click_outside - + diff --git a/docs/book/src/sensors/use_device_orientation.md b/docs/book/src/sensors/use_device_orientation.md index 7f6f7dc..ba2cf1d 100644 --- a/docs/book/src/sensors/use_device_orientation.md +++ b/docs/book/src/sensors/use_device_orientation.md @@ -1,3 +1,3 @@ # use_device_orientation - + diff --git a/docs/book/src/sensors/use_device_pixel_ratio.md b/docs/book/src/sensors/use_device_pixel_ratio.md index e032e92..468919b 100644 --- a/docs/book/src/sensors/use_device_pixel_ratio.md +++ b/docs/book/src/sensors/use_device_pixel_ratio.md @@ -1,3 +1,3 @@ # use_device_pixel_ratio - + diff --git a/docs/book/src/sensors/use_element_hover.md b/docs/book/src/sensors/use_element_hover.md index 07ba3d7..9d8e5b4 100644 --- a/docs/book/src/sensors/use_element_hover.md +++ b/docs/book/src/sensors/use_element_hover.md @@ -1,3 +1,3 @@ # use_element_hover - + diff --git a/docs/book/src/sensors/use_geolocation.md b/docs/book/src/sensors/use_geolocation.md index f27d246..7749100 100644 --- a/docs/book/src/sensors/use_geolocation.md +++ b/docs/book/src/sensors/use_geolocation.md @@ -1,3 +1,3 @@ # use_geolocation - + diff --git a/docs/book/src/sensors/use_idle.md b/docs/book/src/sensors/use_idle.md index 1088373..c79b748 100644 --- a/docs/book/src/sensors/use_idle.md +++ b/docs/book/src/sensors/use_idle.md @@ -1,3 +1,3 @@ # use_idle - + diff --git a/docs/book/src/sensors/use_infinite_scroll.md b/docs/book/src/sensors/use_infinite_scroll.md index 1810384..7b73179 100644 --- a/docs/book/src/sensors/use_infinite_scroll.md +++ b/docs/book/src/sensors/use_infinite_scroll.md @@ -1,3 +1,3 @@ # use_infinite_scroll - + diff --git a/docs/book/src/sensors/use_mouse.md b/docs/book/src/sensors/use_mouse.md index e5646a0..84370bd 100644 --- a/docs/book/src/sensors/use_mouse.md +++ b/docs/book/src/sensors/use_mouse.md @@ -1,3 +1,3 @@ # use_mouse - + diff --git a/docs/book/src/sensors/use_scroll.md b/docs/book/src/sensors/use_scroll.md index 1e27f2a..d6df5d0 100644 --- a/docs/book/src/sensors/use_scroll.md +++ b/docs/book/src/sensors/use_scroll.md @@ -1,3 +1,3 @@ # use_scroll - + diff --git a/docs/book/src/storage/use_local_storage.md b/docs/book/src/storage/use_local_storage.md index 3256f85..d39b415 100644 --- a/docs/book/src/storage/use_local_storage.md +++ b/docs/book/src/storage/use_local_storage.md @@ -1,3 +1,3 @@ # use_local_storage - + diff --git a/docs/book/src/storage/use_session_storage.md b/docs/book/src/storage/use_session_storage.md index 03ddbab..f04e6e5 100644 --- a/docs/book/src/storage/use_session_storage.md +++ b/docs/book/src/storage/use_session_storage.md @@ -1,3 +1,3 @@ # use_session_storage - + diff --git a/docs/book/src/storage/use_storage.md b/docs/book/src/storage/use_storage.md index 316df04..f937ee4 100644 --- a/docs/book/src/storage/use_storage.md +++ b/docs/book/src/storage/use_storage.md @@ -1,3 +1,3 @@ # use_storage - + diff --git a/docs/book/src/utilities/header.md b/docs/book/src/utilities/header.md index 2bd2d1f..440d4fb 100644 --- a/docs/book/src/utilities/header.md +++ b/docs/book/src/utilities/header.md @@ -1,3 +1,3 @@ # header - + diff --git a/docs/book/src/utilities/is_err.md b/docs/book/src/utilities/is_err.md index bdf2ae7..a74a034 100644 --- a/docs/book/src/utilities/is_err.md +++ b/docs/book/src/utilities/is_err.md @@ -1,3 +1,3 @@ # is_err - + diff --git a/docs/book/src/utilities/is_none.md b/docs/book/src/utilities/is_none.md index 9dc8c84..113b257 100644 --- a/docs/book/src/utilities/is_none.md +++ b/docs/book/src/utilities/is_none.md @@ -1,3 +1,3 @@ # is_none - + diff --git a/docs/book/src/utilities/is_ok.md b/docs/book/src/utilities/is_ok.md index 6897289..100573f 100644 --- a/docs/book/src/utilities/is_ok.md +++ b/docs/book/src/utilities/is_ok.md @@ -1,3 +1,3 @@ # is_ok - + diff --git a/docs/book/src/utilities/is_some.md b/docs/book/src/utilities/is_some.md index 0258188..2ec6b08 100644 --- a/docs/book/src/utilities/is_some.md +++ b/docs/book/src/utilities/is_some.md @@ -1,3 +1,3 @@ # is_some - + diff --git a/docs/book/src/utilities/use_cycle_list.md b/docs/book/src/utilities/use_cycle_list.md index 005c361..643b3ed 100644 --- a/docs/book/src/utilities/use_cycle_list.md +++ b/docs/book/src/utilities/use_cycle_list.md @@ -1,3 +1,3 @@ # use_cycle_list - + diff --git a/docs/book/src/utilities/use_debounce_fn.md b/docs/book/src/utilities/use_debounce_fn.md index bcd5ec8..5d7ee1d 100644 --- a/docs/book/src/utilities/use_debounce_fn.md +++ b/docs/book/src/utilities/use_debounce_fn.md @@ -1,3 +1,3 @@ # use_debounce_fn - + diff --git a/docs/book/src/utilities/use_supported.md b/docs/book/src/utilities/use_supported.md index 581e8bd..15c9d2b 100644 --- a/docs/book/src/utilities/use_supported.md +++ b/docs/book/src/utilities/use_supported.md @@ -1,3 +1,3 @@ # use_supported - + diff --git a/docs/book/src/utilities/use_throttle_fn.md b/docs/book/src/utilities/use_throttle_fn.md index faf261f..f6a5748 100644 --- a/docs/book/src/utilities/use_throttle_fn.md +++ b/docs/book/src/utilities/use_throttle_fn.md @@ -1,3 +1,3 @@ # use_throttle_fn - + diff --git a/docs/book/src/utilities/use_to_string.md b/docs/book/src/utilities/use_to_string.md index 18e2a28..91238f9 100644 --- a/docs/book/src/utilities/use_to_string.md +++ b/docs/book/src/utilities/use_to_string.md @@ -1,3 +1,3 @@ # use_to_string - + diff --git a/docs/book/src/watch/watch_debounced.md b/docs/book/src/watch/watch_debounced.md index cb2b45f..5e06b5f 100644 --- a/docs/book/src/watch/watch_debounced.md +++ b/docs/book/src/watch/watch_debounced.md @@ -1,3 +1,3 @@ # watch_debounced - + diff --git a/docs/book/src/watch/watch_pausable.md b/docs/book/src/watch/watch_pausable.md index 7cc5419..aeca106 100644 --- a/docs/book/src/watch/watch_pausable.md +++ b/docs/book/src/watch/watch_pausable.md @@ -1,3 +1,3 @@ # watch_pausable - + diff --git a/docs/book/src/watch/watch_throttled.md b/docs/book/src/watch/watch_throttled.md index 062d941..e6aa8fb 100644 --- a/docs/book/src/watch/watch_throttled.md +++ b/docs/book/src/watch/watch_throttled.md @@ -1,3 +1,3 @@ # watch_throttled - + diff --git a/docs/book/src/watch/watch_with_options.md b/docs/book/src/watch/watch_with_options.md index b45a7d3..045f3c4 100644 --- a/docs/book/src/watch/watch_with_options.md +++ b/docs/book/src/watch/watch_with_options.md @@ -1,3 +1,3 @@ # watch_with_options - + diff --git a/docs/book/src/watch/whenever.md b/docs/book/src/watch/whenever.md index af39dd3..681a193 100644 --- a/docs/book/src/watch/whenever.md +++ b/docs/book/src/watch/whenever.md @@ -1,3 +1,3 @@ # whenever - + diff --git a/template/.ffizer.yaml b/template/.ffizer.yaml index cafee3e..ed9de45 100644 --- a/template/.ffizer.yaml +++ b/template/.ffizer.yaml @@ -11,12 +11,12 @@ variables: default_value: "" ask: Module [optional] - name: feature - default_value: "" - ask: cfg feature [optional] + default_value: "{{ function_name }}" + ask: cfg feature ignores: - modify_files.py - createfn.sh scripts: - - cmd: python3 template/modify_files.py {{ function_name }} {{ category }}{{#if module}} --module {{ module }}{{/if}}{{#if feature}} --feature {{ feature }}{{/if}} + - cmd: python3 template/modify_files.py {{ function_name }} {{ category }}{{#if module}} --module {{ module }}{{/if}} --feature {{ feature }} diff --git a/template/examples/{{ function_name }}/Cargo.ffizer.hbs.toml b/template/examples/{{ function_name }}/Cargo.ffizer.hbs.toml index 5ebdd19..7cb0d41 100644 --- a/template/examples/{{ function_name }}/Cargo.ffizer.hbs.toml +++ b/template/examples/{{ function_name }}/Cargo.ffizer.hbs.toml @@ -8,7 +8,7 @@ leptos = { version = "0.6", features = ["nightly", "csr"] } console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs"{{#if feature}}, "{{ feature }}"{{/if}}] } +leptos-use = { path = "../..", features = ["{{ feature }}", "docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/template/src/{{ module }}/{{ function_name }}.ffizer.hbs.rs b/template/src/{{ module }}/{{ function_name }}.ffizer.hbs.rs index ef81b03..24216a5 100644 --- a/template/src/{{ module }}/{{ function_name }}.ffizer.hbs.rs +++ b/template/src/{{ module }}/{{ function_name }}.ffizer.hbs.rs @@ -25,8 +25,8 @@ use leptos::*; /// ``` /// /// ## Server-Side Rendering -/// {{#if feature}} -// #[doc(cfg(feature = "{{feature}}"))]{{/if}} +/// +// #[doc(cfg(feature = "{{feature}}"))] pub fn {{ function_name }}() -> {{ to_pascal_case function_name }}Return { {{ function_name }}_with_options({{ to_pascal_case function_name }}Options::default())