-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Use cake to generate doc:site #3198
Conversation
maybe we should extract the doc generation to another file? |
@Nami-Doc The first thing I want to do is making the generator work without spending time configuring the evironment. So I haven't thought about that, and what do you mean by extracting to another file? |
Awesome contribution, @jiyinyiyong 👍 I think @Nami-Doc means to extract the |
Yeah, that's basically what I meant :). |
I don't think it's good idea to create a new file or folder a project root. |
@@ -41,6 +43,27 @@ run = (args, cb) -> | |||
log = (message, color, explanation) -> | |||
console.log color + message + reset + ' ' + (explanation or '') | |||
|
|||
# Render code into site | |||
code_for = (file, executable=false, show_load=true) -> |
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.
spaces around =
rename files; update theme
Awesome. Thanks so much for this, @jiyinyiyong. This will help us finally create release tasks. Merging. |
Use cake to generate doc:site
Good job ! |
So @xixixao 's PR #3333 for Personally I'm still confusing why these merged code is removed. coffee-js/coffee-script was based on that code (already migrated now). |
Preview here: http://s.jiyinyiyong.info/coffee-script/index.html
Use
highlight.js
andeco
to replaceuv
anderb
which were previously used.For the theme, I forked
hightlight.js
'stomorrow.css
, make it look like current one as much as possible.And I have checked, the obvious links on the page are working now.
Rakefile
is removed ingh-pages
branch.Related issue: #2193 (comment)