<div dir="ltr">Hi everyone,<div><br></div><div>A quick update. I have never used github pages before, but was able to work through the bugs of the freeze, and deploy the site to pages:</div><div><br></div><div><a href="https://vsoch.github.io/nipy">https://vsoch.github.io/nipy</a><br></div><div><br></div><div>A few other updates / notes:</div><div><br></div><div><ul><li>All content / links must be https. This means it's best to serve most of our own css/js files, and embedded content that is not https will not render (for example, click on the <a href="https://vsoch.github.io/nipy/pages/7-28-2015-embed-ipython/">embedded nbviewer post</a>, and then inspect the browser to see the error)</li><li>The above would be an issue for any github pages. To address this, I figured out how to get <a href="https://vsoch.github.io/nipy/pages/7-28-2015-embed-code/">syntax highlighting</a> so we can code right in the markdown.</li><li>I styled the blog roll. I'm sure with more posts we would want some kind of pagination.</li><li>I added a few posts showing how to embed other content type.</li><li>The freezing process didn't grab the custom pages for some reason, and it worked <a href="https://github.com/vsoch/nipy/blob/master/code/views.py#L46">when I did this</a>. This would mean that adding a project, it would be required to have a template for it. That comes down to copying a file and renaming it to the project name.</li></ul><div>The process to update the pages is to basically:</div></div><div><br></div><div><ol><li>Add a new .md file in the code/pages folder<br></li><li>python freeze.py<br></li><li>Push to the gh-pages branch</li></ol></div><div><br></div><div>Best,</div><div><br></div><div>Vanessa</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 10:36 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 Bob,<div><br></div><div>I think we are moving toward a solution that will make it very easy to contribute content. Regardless of if we use jekyll, flask, or something else, right now contributing a new package just means adding a row to a tab separated file, and adding a new blog entry means adding a new file to a folder (with very minimal formatting). I think regardless of the solution that we will choose, we are optimizing with this goal in mind, so you should not worry.</div><div><br></div><div>Best,</div><div><br></div><div>Vanessa</div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jul 28, 2015 at 9:55 AM, Bob Dougherty <span dir="ltr"><<a href="mailto:bobd@stanford.edu" target="_blank">bobd@stanford.edu</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">I have to agree with Ariel on this. I think that any additional barrier (no matter how small) will deter contributors. Like Ariel, I'm not a web designer. For my limited forays into web design I use docpad, because when I'm in web-design mode I like to think in javascript, so a js-based tool seemed to make sense. I don't have any desire to learn (no matter how trivial) yet another tool. If all I want to do is contribute content, I just want to edit some markdown and be done with it. Ariel has laid out some very good reasons to use jekyll. I haven't seen any similarly compelling reasons not to use it. Is there any practical advantage to the alternatives?</span><div><div><br>
<br>
<br>
_______________________________________________<br>
Neuroimaging mailing list<span class=""><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>
</span></div></div></blockquote></div><br><br clear="all"><span class=""><div><br></div>-- <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>
</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>