Comments (11)
I recently fixed the pages for biouno.org. I believe I can find some time this week to go through the commits to that repo, build the site locally with jekyll and send a pull request to fix it.
from reproducibility-guide.
Cool! Yeah, please do if you find some time. Thanks @kinow.
from reproducibility-guide.
Tried building it locally, here's the error I got:
kinow@ranma:~/Development/java/workspace/reproducibility-guide$ jekyll serve
Configuration file: /home/kinow/Development/java/workspace/reproducibility-guide/_config.yml
Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
Source: /home/kinow/Development/java/workspace/reproducibility-guide
Destination: /home/kinow/Development/java/workspace/reproducibility-guide/_site
Incremental build: disabled. Enable with --incremental
Generating...
Dependency Error: Yikes! It looks like you don't have redcarpet or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- redcarpet' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2014-03-02-Useful-Workflows.md':
redcarpet
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
redcarpet
Comparing commits in the biouno repository and picking the ones I think will fix it. Pull request coming in a few minutes.
from reproducibility-guide.
Fixed the error by sudo gem install redcarpet
from reproducibility-guide.
Site built successfully, and running. Now creating pull request with changes, which will include replacing redcarpet by kramdown.
from reproducibility-guide.
Here's the reason for using kramdown, from the post https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0:
Starting May 1st, 2016, GitHub Pages will only support kramdown, Jekyll's default Markdown engine. If you are currently using Rdiscount or Redcarpet we've enabled kramdown's GitHub-flavored Markdown support by default, meaning kramdown should have all the features of the two deprecated Markdown engines, so the transition should be as simple as updating the Markdown setting to kramdown in your site's configuration (or removing it entirely) over the course of the next three months.
However there are pages that will need to be updated. For example, the check list, where
are used to break line. That does not work with kramdown. See gettalong/kramdown#137 for more, specifically the last comment there from gettalong.
Line breaks in Markdown/kramdown are not treated as hard line breaks but as line continuations. If you need to separate two paragraphs, use a blank line.
If you want to insert a
tag, use two spaces at the end of a line. See http://kramdown.gettalong.org/syntax.html for more information.
from reproducibility-guide.
Looks like that page is the only one with
tags. So fixing it with:
grep -r -i --include \*.md -E "(.*)(</br>)\s*$" * | awk -F: '{ print $1 }' | uniq | xargs -I {} sed -i -e 's/\(.*\)\(<\/br>\)\s*$/\1 /' {}
from reproducibility-guide.
@jhollist reported an issue against biouno website, and looks like we'd have the same problem here. So re-using the same solution to fix missing space between the last # in the Markdown header and the first char.
grep -r -i --include \*.md --include \*.html -E "^#+[a-zA-Z0-9].*" * | awk -F: '{ print $1 }' | uniq | xargs -I {} sed -i -e 's/^\(#\)\([a-zA-Z0-9]\)/\1 \2/' -e 's/^\(##\)\([a-zA-Z0-9]\)/\1 \2/' -e 's/^\(###\)\([a-zA-Z0-9]\)/\1 \2/' -e 's/^\(####\)\([a-zA-Z0-9]\)/\1 \2/' {}
from reproducibility-guide.
Done @iamciera. See pull request #91. @jhollist wonder if you could review it, maybe?
Thanks!
from reproducibility-guide.
@kinow and @iamciera happy to review it. Will look at it today.
And thanks for sharing the one liner to do the replacements! That would have taken me years to figure out!
from reproducibility-guide.
@iamciera this should be fixed now. I just accepted PR #91.
If you can confirm that there are no more build errors, then we can close this issue.
from reproducibility-guide.
Related Issues (20)
- References page links HOT 1
- Add Karl's reproducibility stuff HOT 5
- Readability of Text HOT 1
- Change Meta Data to Metadata HOT 1
- Change Meta Data to Metadata
- Possible framework for rendering to html HOT 10
- Collaborators Section HOT 2
- References Highlight HOT 1
- improving readability HOT 7
- suggestion for collaborationGuide
- Sections Buttons : Response Behavior
- Workflow Contribution
- About text: suggested edits HOT 1
- Reproducibility Guide Future? HOT 3
- Broken link in Writing code section HOT 2
- _site/ redundant?
- Grammar error in fourth section’s title
- Spelling error in fourth section, first paragraph
- Scheduled archival
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reproducibility-guide.