-
Notifications
You must be signed in to change notification settings - Fork 473
Bring compilation down to ~4s #1477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with the caveat that I don't know any ruby.
_plugins/template_cache.rb
Outdated
@@ -0,0 +1,16 @@ | |||
module TemplateWithCaching |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment to explain the purpose of this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up just nuking that module; causing more problems than it solved.
Haven't look through all pages, but so far, I've found these issues. Happy to help fix these.
|
Railroad diagrams are broken (example) |
1 similar comment
Ok, I think I've fixed all the bugs you guys found! PTAL. |
cf4191e
to
d369515
Compare
0d438e2
to
8b4fe1c
Compare
This is finally green! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @benesch! Thanks for getting this to work. If @sploiselle also good with this, go ahead and merge.
Sidenote: On other PRs, Team City is failing on missing gems and a bundle file. Is that related to this PR. Will we just have to rebase those PRs once this is merged?
Eek, yep, my fault. Let me see if I can appease TeamCity so it works with and without this PR. |
Ok! Ready when you are, @sploiselle. |
Redcarpet's breaking on nested code blocks, e.g., Cluster Setup Troubleshooting. Can we resolve this with changes to the markdown, or is it a Redcarpet issue? |
@benesch, Sean found another page where the indentation needs to be fixed up. Would you handle that real quick before merging? Otherwise, yeah, would be great if you'd follow up with a fix after merge, @sploiselle. |
Markdown is a very loosely-specified format, so there are understandibly some differences in how parsers render the same Markdown file. Our new Markdown parser, redcarpet, is picker than our old parser, Kramdown, and insists on things like four spaces of indentation for paragraphs/code blocks in lists. This commit fixes several places where we were relying on Kramdown's heuristics to instead adhere to the Markdown standard.
Kramdown and Redcarpet generate href hashes slightly differently; adjust accordingly.
Now that we have four gem dependencies (jekyll, redcarpet, html-proofer, and rake), it's annoying to install each by hand. Re-add a Gemfile that lists our dependencies and versions. (The original Gemfile was removed to fix build issues in TeamCity; I'll just fix those.)
Oh, good catch! Should be fixed now. |
You are such a champ, @benesch |
🍻 |
I broke this in cockroachdb#1477. Guess it wasn't "dead code."
I broke this in cockroachdb#1477. Guess it wasn't "dead code."
See individual commits for details!
This change is