Skip to content

Commit

Permalink
First attempt to fix gif animation rendering on GitHub pages
Browse files Browse the repository at this point in the history
In the README file, I can insert the gif with the usual markdown command and relative local path. This will be rendered on the GitHub repo. But this fails for the markdown files used to generate the pages on the static web site. While locally it works, once pushed online, it fails. I tried then to use the raw URL of the gif from the repo.
  • Loading branch information
valentinitnelav committed Dec 11, 2019
1 parent a38a701 commit 454d62a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/explain-sampling-method.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h2>Explain</h2>
<div id="animation" class="section level2">
<h2>Animation</h2>
<p>Below is an animation of the sampling method (one iteration):</p>
<p><img src="man/cache/sample-nestedness-1-boot.gif" /></p>
<p><img src="https://github.com/valentinitnelav/bootstrapnet/raw/master/man/cache/sample-nestedness-1-boot.gif" /></p>
</div>
</div>
<div id="multiple-iterations" class="section level1">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ <h1>Overview</h1>
data(Safariland)</code></pre>
<p>One can sample interactions without replacement from the network until all interactions have been used. The sampling procedure starts with a small sample size to which interactions are added until all are consumed. Every time we sample interactions, a smaller version of the entire network can be built and a network index/metric can be computed. The sampling procedure can be repeated as many times as needed, giving the possibility to compute mean values with quantile-based confidence intervals. The mean values across sample sizes can be plotted and indices of different networks can be visually compared. See examples below.</p>
<p>Below is an animation of the sampling method (one iteration). A detailed explanation of the method can be found <a href="https://valentinitnelav.github.io/bootstrapnet/explain-sampling-method.html">here</a>.</p>
<p><img src="man/cache/sample-nestedness-1-boot.gif" /></p>
<p><img src="https://github.com/valentinitnelav/bootstrapnet/raw/master/man/cache/sample-nestedness-1-boot.gif" /></p>
</div>
<div id="installation" class="section level1">
<h1>Installation</h1>
Expand Down
2 changes: 1 addition & 1 deletion explain-sampling-method.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ file.move(files = "./sample-nestedness-1-boot.gif",
overwrite = TRUE)
```

![](man/cache/sample-nestedness-1-boot.gif)
![](https://github.com/valentinitnelav/bootstrapnet/raw/master/man/cache/sample-nestedness-1-boot.gif)


# Multiple iterations
Expand Down
2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ One can sample interactions without replacement from the network until all inter

Below is an animation of the sampling method (one iteration). A detailed explanation of the method can be found [here](https://valentinitnelav.github.io/bootstrapnet/explain-sampling-method.html).

![](man/cache/sample-nestedness-1-boot.gif)
![](https://github.com/valentinitnelav/bootstrapnet/raw/master/man/cache/sample-nestedness-1-boot.gif)

# Installation

Expand Down

0 comments on commit 454d62a

Please sign in to comment.