From fcbee019a89e303af65023d44377497caf2a7073 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 15 Dec 2018 14:17:35 +0100 Subject: [PATCH] visjs local (#972) * visjs local * Update reference/commands/consumer/info.rst Co-Authored-By: memsharded * Update reference/commands/consumer/info.rst Co-Authored-By: memsharded * clarifying html paths automatic --- reference/commands/consumer/info.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/reference/commands/consumer/info.rst b/reference/commands/consumer/info.rst index bfa7dfb6e5ca..82fbd9605031 100644 --- a/reference/commands/consumer/info.rst +++ b/reference/commands/consumer/info.rst @@ -183,3 +183,15 @@ You can generate a graph of your dependencies, in dot or html formats: :height: 250 px :width: 300 px :align: center + + +The generated html output contains links to third party resources, the *vis.js* library (2 files: *vis.min.js*, *vis.min.css*). +By default they are retrieved from cloudfare. However, for environments without internet connection, these files +could be also used from the local cache and installed with :command:`conan config install` by putting those +files in the root of the configuration folder: + +- *vis.min.js*: Default link to "https://cdnjs.cloudflare.com/ajax/libs/vis/4.18.1/vis.min.js" +- *vis.min.css*: Default link to "https://cdnjs.cloudflare.com/ajax/libs/vis/4.18.1/vis.min.css" + +It is not necessary to modify the generated html file. Conan will automatically use the local paths to the cache files if +present, or the internet ones if not.