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

Color page 404s from examples, Color pages not seen in API #70

Open
nodebotanist opened this issue Nov 19, 2015 · 2 comments
Open

Color page 404s from examples, Color pages not seen in API #70

nodebotanist opened this issue Nov 19, 2015 · 2 comments

Comments

@nodebotanist
Copy link
Contributor

Hey,

I found out there are color sensors because I was rooting around in the source. When I checked out the color examples (such as http://johnny-five.io/examples/color-ISL29125/), the link to the color API page 404s. I see some color-* files in the docs folder.

I can tackle this if you like, I'd just like to know which path you'd want me to take:

  1. combine the 3 docs pages in docs/color-_.md into one color.md
  2. create a color.md that indexes the three docs pages /docs/color-_.md
  3. some other path I haven't thought of.
@rwaldron
Copy link
Contributor

This only happens because all of that content is generated from two different sources. I haven't gotten around to creating an actual API entry for Color, which is why the 404 exists. The example generator automatically matches known class names found in a featured example's source and makes a list that is then output as links at the bottom of the example. There's no check to see if that wiki API page exists because that really shouldn't be necessary, because they should exist. I haven't documented Color, Light or Keypad because the examples are self explanatory and there hasn't been any real urgency to document.

@rwaldron
Copy link
Contributor

So the only correct action to take is make the pages in the wiki.

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

2 participants