Closed (fixed)
Project:
Slick Carousel
Version:
8.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2022 at 11:01 UTC
Updated:
30 Oct 2022 at 02:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
damienmckennaThe fix is to change composer.json so that it has this section:
This will install Slick to /libraries/slick as is required.
Comment #3
gausarts commentedThank you.
Both locations are supported via a hook_alter, and the hook_install will adjust it based on it.
I don't understand the problem, please clarify.
Comment #4
damienmckennaI did not test the module with the path "slick-carousel", I just reviewed the libraries.yml file and saw what happened when I used composer to download the library.
If the module supports both paths, it might be worth documenting this somewhere?
Comment #5
gausarts commentedI think I got the point :)
Currently the README.md file was indeed hidden at /docs as seen at https://git.drupalcode.org/project/slick home, but accessible via /admin/help/slick_ui.
Thalles already asked to move the file into the top level, but I refused it due to there are many doc files and easy edits at one location. I was inspired by Drush docs to declutter top level folder.
The required lines you mentioned are here:
https://git.drupalcode.org/project/slick/-/blob/8.x-2.x/docs/README.md#r...
It was also directed to Blazy for more details to DRY at all Blazy ecosystem.
https://git.drupalcode.org/project/slick/-/blob/8.x-2.x/docs/README.md#i...
https://git.drupalcode.org/project/slick/8.x-2.x/admin/help/blazy_ui#com...
If however they are not clear, poorly worded, or need more prominent placements, etc., I am happy to include your suggestions or patches on the next rewriting of the docs.
Thanks.
Comment #6
damienmckennaAh. Yes, the wording was not clear to me.
Would this work?
Comment #7
gausarts commentedYes, more prominent.
Greggles and some other users here also suggested some improvements on the docs. I will incorporate yours along theirs on the next round.
Please allow me some delay to get back to it.
Thanks again.
Comment #8
damienmckennaNo problem, thank you!
Comment #10
gausarts commentedCommitted. Thank you for contribution and patience.