Skip to content
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

build mochajs.org with Jekyll; closes #1640 #1657

Closed
wants to merge 1 commit into from

Conversation

boneskull
Copy link
Contributor

Lots of stuff here, but the main things:

  • use Jekyll
  • convert index.md to actual GFM Markdown
  • a lot of edits of the documentation, including, but not limited to:
    • reorganization
    • grammar fixes
    • code style fixes
    • rewording confusing sentences
    • add a couple more examples
    • dynamically generate TOC
    • use CDNs for JS, though there's basically none

I've taken every effort to make the site look as close to the current version as it does now, and keep it compatible with old browsers. However, I was not able to reuse the syntax highlighting scheme, as highlighting is now done by Pygments.

screenshot 1

screenshot 2

Note: Currently this uses my fork of the github-pages gem, because the production one has a couple problems, including a significant security hole.

Lots of stuff here, but the main things:

- use Jekyll
- convert `index.md` to *actual GFM Markdown*
- a lot of edits of the documentation, including, but not limited to:
  - reorganization
  - grammar fixes
  - code style fixes
  - rewording confusing sentences
  - add a couple more examples
  - dynamically generate TOC
  - use CDNs for JS, though there's basically none

I've taken every effort to make the site look as close to the current version as it does now, and keep it compatible with old browsers.  However, I was not able to reuse the syntax highlighting scheme, as highlighting is now done by Pygments.

![screenshot 1](http://content.screencast.com/users/chiller/folders/Jing/media/32a9e9d6-b927-465a-a027-39d8bbfe0407/00000153.png)

![screenshot 2](http://content.screencast.com/users/chiller/folders/Jing/media/890e0481-65a4-4729-bc69-37098c48940f/00000154.png)
@boneskull
Copy link
Contributor Author

🙇

@danielstjules
Copy link
Contributor

👏

@boneskull
Copy link
Contributor Author

OK, this is building fine locally, but not on gh-pages, so not sure why

@boneskull
Copy link
Contributor Author

I'm going to close this for now until I can figure it out

@boneskull boneskull closed this Apr 17, 2015
@dasilvacontin
Copy link
Contributor

We don't have Travis executing gh-pages PRs? hmm

@boneskull
Copy link
Contributor Author

I did see a failure

On Fri, Apr 17, 2015 at 9:26 AM, David da Silva Contín <
notifications@github.com> wrote:

We don't have Travis executing gh-pages PRs? hmm


Reply to this email directly or view it on GitHub
#1657 (comment).

Christopher Hiller
http://boneskull.com

jbnicolai pushed a commit to jbnicolai/mocha that referenced this pull request Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants