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

CS2 Discussion: Project: Redesign coffeescript.org? #4947

Closed
coffeescriptbot opened this issue Feb 19, 2018 · 9 comments
Closed

CS2 Discussion: Project: Redesign coffeescript.org? #4947

coffeescriptbot opened this issue Feb 19, 2018 · 9 comments

Comments

@coffeescriptbot
Copy link
Collaborator

From @GeoffreyBooth on 2016-11-18 06:12

I’ve been talking with @jashkenas about how to manage the hosting for the documentation for CoffeeScript 2, and per #4360 we figured out how to host both the 1.x and 2 docs from the same repo. Anyway in the middle of this discussion, Jeremy suggested that coffeescript.org was overdue for a design refresh. Any designers out there who would like to redesign coffeescript.org for v2?

@coffeescriptbot
Copy link
Collaborator Author

From @YamiOdymel on 2016-11-18 06:43

I just drew a layout for suggestion, I think that we should have a landing page instead of a documentation homepage.

artboard

@coffeescriptbot
Copy link
Collaborator Author

From @GeoffreyBooth on 2016-11-19 02:01

@YamiOdymel What would be on this landing page?

The current documentation has the following sections:

  • introduction
  • language reference
  • compiler reference (i.e. the coffee command)
  • general reference (related projects etc.)
  • “Try CoffeeScript”
  • annotated source

Currently the first four are on one page, and the latter two are pages of their own. But that can change; I think the compiler reference could get its own page, along with info about how to use CoffeeScript with Browserify and the like. The general reference could likewise be buried a bit.

One idea I had was to make every code block a “try” block; all the examples could become interactive.

@coffeescriptbot
Copy link
Collaborator Author

From @YamiOdymel on 2016-11-19 09:03

@GeoffreyBooth

The sections on the landing page are:

  • Slogan + call to action
  • Syntax overview
  • Features
  • Links or core members

and sorry, what do you mean by the "current documentation"? The old CoffeeScript page? I think the references can be separate from the homepage so we won't put too many things in a single page.

Since I'm not a native English speak, I might missed some of your point, I'm sorry :(

Landing page

Slogan, Call to action, Syntax Overview

2016-11-19 4 27 05

Features

2016-11-19 4 27 14

Links

2016-11-19 4 27 23

Or can be core members :D

2016-11-19 4 27 42

Compiler reference page

compiler

Tutorial, Documentation page

It's a little bit like Laravel Docs but with the interactive example blocks.

and the left sidebar is the index of the documentations.

documentation


Icon source: Document by useiconic.com from the Noun Project
Icon source: code by Curve from the Noun Project

@coffeescriptbot
Copy link
Collaborator Author

From @GeoffreyBooth on 2016-11-19 19:09

@YamiOdymel This looks pretty good. The content we have is the content currently on coffeescript.org; so there’s no tutorial, for example. Maybe we should add one, but let’s design for the content we currently have, and worry about future content after it’s written. We also don’t need a section for core members.

Can you make an HTML mockup for this?

@coffeescriptbot
Copy link
Collaborator Author

From @YamiOdymel on 2016-11-20 16:59

@GeoffreyBooth Sure.

Landing page

screencapture-file-users-yamiodymel-workspace-coffee2-frontend-index-html-1479660825715

Docs

The code block can only be vertically (because the screen is not wide enough), or maybe we should remove the left sidebar (the indexes), but I have no idea where should the indexes go.

screencapture-file-users-yamiodymel-workspace-coffee2-frontend-documentation-html-1479661024255

References

screencapture-file-users-yamiodymel-workspace-coffee2-frontend-reference-html-1479660477673

@coffeescriptbot
Copy link
Collaborator Author

From @GeoffreyBooth on 2016-11-20 19:11

I think we need the code examples to be side-by-side. It’s hard to follow the equivalence if they’re stacked. Let’s just use responsive design and stack only when necessary.

As for the sidebar, what about something like what Bootstrap uses for their sidebar nav?

I think the homepage of the future site is the current coffeescript.org intro text and “Overview” section, including the long side-by-side code block. Basically from the top through (but excluding) “Installation”.

Here’s how I would break up the current content into pages:

  • Home
    • Intro
    • Overview example
    • links/CTAs to other key pages like Try CoffeeScript, Installation, etc.
  • Try CoffeeScript
  • Download and Use
    • Installation
    • Usage
    • Source Maps
  • Language Reference
    • Functions
    • Objects and Arrays
    • etc.
    • Literate CoffeeScript
    • Cake, and Cakefiles
    • “text/coffeescript” Script Tags
  • Learn More
    • Books
    • Screencasts
    • Examples (first link should be to the annotated source)
    • Resources
    • Web Chat (IRC)
    • Change Log

@coffeescriptbot
Copy link
Collaborator Author

From @jashkenas on 2016-11-21 16:56

Apologies in advance — but to throw my two cents in the ring:

  • This ticket should be over on the coffeescript repo — where all of the watchers can see it and chime in.

  • Let's not turn CoffeeScript.org into a generic "Yet Another JavaScript Open Source Project" page. A little freshening up of the style would be great — making it look like every other project out there doesn't seem wise.

  • Keeping all of the docs on a single page is a feature, not a bug. It means you can quickly go to coffeescript.org and CMD-F search for literally anything you might need.

  • What would really be lovely is a nice responsive-ization of the homepage, a style cleanup (CoffeeScript.org dates from the bad old days of brushed metal), and perhaps an exciting new near-top section explaining the vision for V2. A lot less work than trying to redo the whole enchilada in the style of everything else...

@coffeescriptbot
Copy link
Collaborator Author

From @YamiOdymel on 2016-11-21 19:22

A little freshening up of the style would be great — making it look like eve..

Sure.

2016-04-01 2 19 57

@coffeescriptbot
Copy link
Collaborator Author

From @GeoffreyBooth on 2016-11-21 21:26

Closing in favor of #4370

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

No branches or pull requests

1 participant