design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Come up with an initial strategy for documentation

Open arunjeetsingh opened this issue 10 years ago • 7 comments

Also @chriscorwin

arunjeetsingh avatar Feb 22 '16 19:02 arunjeetsingh

Should we stub out a new private repo for this documentation site as we discussed? And this site would contain documentation for:

  • Aura
  • React
  • jQuery

mbeard avatar Feb 22 '16 20:02 mbeard

If we make one repo/site for everything, would we also have to include iOS, Android, and all future frameworks we support? If so, it might become a bit unwieldy.

donnieberg avatar Feb 22 '16 20:02 donnieberg

We don't want a separate site for all of these do we? Maybe we could start with one site for Aura, React, jQuery...and when we get to native mobile, we could determine whether that should be a separate site or part of the existing.

mbeard avatar Feb 22 '16 21:02 mbeard

What do you think about sending everyone to the main lightningdesignsystem website and then having links from there to the different SLDS implementations? I think it might make sense for them to all be separate sites because they have different audiences. I also think each framework might have different dependencies and folks writing/maintaining the docs (especially for Aura).

donnieberg avatar Feb 22 '16 21:02 donnieberg

I'm happy with whatever makes sense from a maintainability perspective. I agree that linking to multiple different sites could be best - especially when it comes to variants that are quite different from each other (mobile vs javascript vs aura). However, even if the sites are technically separate, we need to think of them as One™ and make sure that they match in design, depth of content, voice, etc. Perhaps some of the build tools or templates related to the site could be in a central repo that each language-specific repo pulls in? Or perhaps there is one demo site app that pulls in content from each language-specific repo and creates at of pages for each on Heroku but doesn't actually link them together - they are each independently linked from the main website? Alternatively there could be nothing shared between any of them, but I'd be worried about keeping them in sync via copy-and-paste or manual edits.

I'll leave this up to you and @chriscorwin to hash out.

tweettypography avatar Feb 24 '16 17:02 tweettypography

In parting, here's an oldie for you: "If it isn't documented, it doesn't exist."

tweettypography avatar Feb 24 '16 17:02 tweettypography

Closing and pivoting to using Facades documentation and bringing controls from this repo into that repo.

https://github.com/salesforce-ux/design-system-facades

interactivellama avatar Feb 29 '16 19:02 interactivellama