For purposes of benchmarking, it would be nice if the time it takes to request data from the GitHub API did not contribute to the build time. Could an option be added to explicitly set @internet_connected to False?
|
def internet_connected? |
|
return @internet_connected if defined?(@internet_connected) |
Could there be a way to build the site once with networking, retrieve the requested data, and then use only cached data for subsequent builds?
For purposes of benchmarking, it would be nice if the time it takes to request data from the GitHub API did not contribute to the build time. Could an option be added to explicitly set
@internet_connectedtoFalse?github-metadata/lib/jekyll-github-metadata/client.rb
Lines 96 to 97 in 47855c3
Could there be a way to build the site once with networking, retrieve the requested data, and then use only cached data for subsequent builds?