<div dir="ltr">Hi Ben,<div><br></div><div>Yes perfectly said! There are two issues:</div><div><br></div><div>1) the baseurl being "" vs. "/" to work on circle vs. locally. This could be addressed with simply changing it programatically for circle testing.</div><div><br></div><div>2) the second problem is in the case of subpages. A url like /blog/pagename needs to be smart enough to look at itself, realize it's one level down from the base, and adjust paths appropriately. This is also important so we can have our pages like "contribute" have urls like <a href="http://nipy.github.io/contribute">nipy.github.io/contribute</a> instead of <a href="http://nipy.github.io/contribute.html">nipy.github.io/contribute.html</a>. The first is achieved via having a folder called "contribute" with index.html inside.</div><div><br></div><div>Best,</div><div><br></div><div>Vanessa</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 22, 2015 at 10:59 AM, Ben Cipollini <span dir="ltr"><<a href="mailto:bcipolli@ucsd.edu" target="_blank">bcipolli@ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK, I see the problem.<div><br></div><div>Our static files are served relative to the base directory, which is a _config.yaml setting (overridable from the command-line).</div><div><br></div><div>If we set baseurl = "", then static files are referenced as relative URLs. This works for pages served from the base directory (css/bootstrap.css served from home.html will work), but needs a relative path change (../css/bootstrap.css served for somedir/somefile.html).</div><div><br></div><div>If we set base_directory to "/", then everything works locally, because the root url (/) points to the home directory of the webpage. It doesn't work on <a href="http://circle.ci" target="_blank">circle.ci</a>, because the root url does NOT point to the home directory of the webpage (of course not; it points to <a href="http://circle.ci" target="_blank">circle.ci</a>).</div><div><br></div><div>Now that I understand the problem, I'll look at the best way to do this. Could simply be overriding baseurl to the proper thing in <a href="http://circle.ci" target="_blank">circle.ci</a> (not blank, but some deep path on the website), or embedding the proper relative paths in the html when generating the pages.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ben</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 22, 2015 at 10:32 AM, Ben Cipollini <span dir="ltr"><<a href="mailto:bcipolli@ucsd.edu" target="_blank">bcipolli@ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to install Jekyll now, and will see if I can reproduce the problem. If so, I may have a few mins today to think about a solution.<div><br></div><div>Vanessa, do you have a sense of why this is happening? Is the problem finding a solution to a problem you understand well, or is the problem investigating why this is happening to start with?</div><div><br></div><div>Thanks!<span><font color="#888888"><br>Ben</font></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 10:01 AM, vanessa sochat <span dir="ltr"><<a href="mailto:vsochat@stanford.edu" target="_blank">vsochat@stanford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Matthew,<div><br></div><div>I'm on board with Stefan's suggestion, I just stick to Poldracklab work during the week and haven't done any new nipy site work. As I mentioned earlier, I was hoping for some help with a more elegant solution to resolve the current base url issue (please see my previous messages).  If there aren't any ideas, I will likely implement a very un-elegant / harder to change solution, just to get something working, and only after that does it make sense to give a go at github pages deployment.</div><div><br></div><div>Best,</div><div><br></div><div>Vanessa</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 9:55 AM, Matthew Brett <span dir="ltr"><<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vanessa,<br>
<br>
Thanks again for doing this.<br>
<br>
Have you got a github-pages build of this somewhere?  Sorry if I<br>
missed it.  I tried building locally, but I'm not confident that I'm<br>
getting what you expect to see.<br>
<br>
It would be good to have the mission statement somewhere, if y'all agree.<br>
<br>
Do you have any thoughts on Stefan's suggestion?<br>
<br>
Cheers,<br>
<br>
Matthew<br>
<div><div>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span>-- <br><div>Vanessa Villamia Sochat<br>Stanford University<br><div><div><div><a href="tel:%28603%29%20321-0676" value="+16033210676" target="_blank">(603) 321-0676</a></div></div></div></div>
</span></div>
<br>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Vanessa Villamia Sochat<br>Stanford University<br><div><div><div>(603) 321-0676</div></div></div></div>
</div>