p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Redundant "Getting Started" tutorials in several reference files

Open GaurangTandon opened this issue 6 years ago • 5 comments

The same process to Getting Started with the repo has been described in

Moreover, the file structure contained in the i18n file is pretty much a duplicate of the one in README. I would suggest:

  1. moving the "Getting Started" parts in i18n file to its own separate file, and linking to it from all the three other files.
  2. Deleting the section on file structure from i18n, and linking to the one in README in it.

Thoughts? I am happy to work on this if approved.

GaurangTandon avatar Mar 18 '19 15:03 GaurangTandon

@GaurangTandon Sure go ahead.

abhinavsagar avatar Mar 18 '19 19:03 abhinavsagar

@GaurangTandon since the steps are just a few, I think it might be easier for beginners if we just replicate these across files consistently so they don't have to click through multiple links to get started.

lmccart avatar Mar 18 '19 21:03 lmccart

@lmccart I understand, but, it adds redundancy which makes maintainability harder. Also, since these steps are only taken once for the repo, if the person has already forked and cloned the repo for i18n work, they would still have the repo ready adding examples or any other work :) So, they won't need to click multiple links anyway.

GaurangTandon avatar Mar 19 '19 01:03 GaurangTandon

@GaurangTandon ok I see your point. 👍 I would say please go ahead and make the change. @limzykenneth do you have thoughts here?

lmccart avatar Mar 19 '19 05:03 lmccart

I think it's good to consolidate initial setup stuff in one place but for "initial setup" I'm thinking more just mentioning cloning the repo, npm install then grunt server to build the site and run it (which will be in README.md).

Any additional steps, even if they are required once only, for creating examples or i18n work etc should be isolated into their own file, that includes explaining file structures, as i18n and examples uses different file structures and different build steps (assemble vs just copying) so there's not need to know both to do one of them.

In principle I would like to see that the initial barrier to entry be as minimal as possible so to keep the information in README.md sparse but enough to build the website, then if someone wants to work on a specific task just read the guide for that type of task.

limzykenneth avatar Mar 19 '19 11:03 limzykenneth