website icon indicating copy to clipboard operation
website copied to clipboard

Consider reworking "Demos" page into "Tutorials"

Open nate-double-u opened this issue 4 years ago • 7 comments

As per https://github.com/etcd-io/website/issues/267#issuecomment-841706384

  • Consider reworking the demos into tutorials

The Demo page has a lot of good information on it. It could be broken up into several pages, and a new Tutorials page made to house them.

nate-double-u avatar Jun 26 '21 19:06 nate-double-u

@nate-double-u I would like to work on this issue. Please assign me.

rgrupesh avatar Aug 17 '21 04:08 rgrupesh

FYI, from https://github.com/etcd-io/website/pull/490#pullrequestreview-761287141:

... > The Demo page has a collection of little "how-to's", including one for authentication.

Maybe what we need to do is to convert the Demo page into a "How to" page (or collection of pages). Cf. #402.

Possibly as a first step (before such a conversion), you (@Somoshree) would move the text that you added here into a new section of the Demo page? I'll let @nate-double-u and @spzala comment first.

chalin avatar Sep 22 '21 18:09 chalin

To be clear, I think that some of the entries don't qualify (have enough material) to warrant being referred to as a tutorial, though some might. On the other hand they might make sense as a quick/short "how to" (of course we can find another term if y'all prefer).

chalin avatar Sep 23 '21 14:09 chalin

I too agree with @chalin . What I felt after going through the Demo page is that there isn't enough material to rework each of these sections into separate tutorial pages. Also sections like "Get by prefix", "Delete key" etc. such sections have already been referenced in "Interacting with etcd" page and doing tutorials for these would be a duplication.

Somoshree avatar Sep 23 '21 14:09 Somoshree

Duplication is OK. What we're talking about is having a section of solution-oriented docs, as opposed to the reference-oriented main docs. That often results in duplication of material. Not having enough content is something else, though.

I'd suggest calling it "HowTo" instead of "Tutorial", though. Per comments above, Tutorial implies a complete end-to-end example, rather than "how do I do X?" which could be just a snippet -- and better matches the content we have.

jberkus avatar Sep 23 '21 16:09 jberkus

So, looking over the Demo, here's my thinking by section:

  • Set Up A Cluster --> should be part of install docs
  • Access etcd --> should be part of "Interacting with Etcd"
  • Get by Prefix --> stub for "How To Get Keys by Prefix"
  • Delete --> stub for "How to Delete Keys"
  • Transactional Write --> stub for "How To Make Multiple Writes in a Transaction"
  • Watch --> stub for "How to Watch Keys"
  • Lease --> stub for "How to Create a Lease"
  • Distributed locks --> stub for "How To Create Locks"
  • Elections --> stub for "How To Do a Leader Election"
  • Cluster Status --> stub for "How To Check Cluster Status"
  • Snapshot --> stub for "How to Save The Database"
  • Migrate --> stub for "How to Migrate from Etcd2 to Etcd3"
  • Member --> stub for "How to Add and Remove Members"
  • Auth --> should become part of new Authentication documentation (#505)

jberkus avatar Sep 30 '21 23:09 jberkus

Do we want to put these stubs into a section? Or just have them in the v3.5 folder?

nate-double-u avatar Oct 06 '21 20:10 nate-double-u