Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Following up on #2860138: Improve instructions for installing D3.js, I found that following the current instructions results in the d3 and highlightjs libraries being downloaded using git, including the .git directory for each library. I ran into a git-related issue with this (unfortunately I can't remember the details) and, given that the git repos themselves are unnecessary for using the Web Profiler module, I propose adjusting the (Composer) instructions to add this to one's composer.json's repositories section:
"d3": {
"type": "package",
"package": {
"name": "d3/d3",
"version": "v3.5.17",
"type": "drupal-library",
"dist": {
"url": "https://github.com/d3/d3/archive/v3.5.17.zip",
"type": "zip"
}
}
},
"highlightjs": {
"type": "package",
"package": {
"name": "components/highlightjs",
"version": "9.7.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/components/highlightjs/archive/9.7.0.zip",
"type": "zip"
}
}
}
Comment | File | Size | Author |
---|---|---|---|
#4 | devel-webprofiler-readme-2864828-4.patch | 4.93 KB | jdleonard |
|
Comments
Comment #2
jdleonardComment #3
lussolucaHi jdleonard,
seems a good idea, could you please provide a patch for this issue?
Thank you
Comment #4
jdleonardSure thing. I may have gone a little overboard touching up the Readme... Feel free to reject any changes!
Comment #6
lussolucaCommitted and pushed to 8.x-1.x
Thanks!