electrodb icon indicating copy to clipboard operation
electrodb copied to clipboard

Need a simple and accessible documentation site

Open anselm94 opened this issue 2 years ago • 2 comments

Hello 👋🏼! This is going to be more of a feature request. I tried electrodb for a pet project and really loved this library to achieve 'Single Table Design'. Thank you so much!

However, as a new comer, though I could get started with electrodb without much hassle, I had trouble navigating the long README page especially during reference lookup during implementation. A simple documentation site (eg - Docusaurus, Vuepress, Mkdocs etc.) hosted in GitHub Pages would help onboard lot of new & experienced developers fairly quickly and easily.

A quick high-level structure would look like

|- Docs
   |- Introduction - Project Goals
   |- Features
   |- Installation
   |- Key Concepts
   |- Typescript Support
   ...
|- Tutorials
   |- A basic tutorial (entities, attributes, queries, filters)
   |- Advanced tutorial (collections, services, joins)
|- Community
   |- GitHub Discussions
   |- Issues
   |- Contribution Guidelines

The README has lot of content in a single file. Having this broken down into multiple pages - accessible via a sidebar would greatly help! :)

anselm94 avatar Aug 03 '22 16:08 anselm94

@anselm94 Thank you for taking the time to write out this feedback! I'd love to expand the documentation and see something just like this as well. I love the rough structure you laid out and over the next few months I hope to chip away at something like this 👍 Do you find any of the examples (Docusaurus, Vuepress, Mkdocs) you provided to be better than the others?

tywalch avatar Aug 11 '22 01:08 tywalch

I found Mkdocs Material to be powerful and very easy to work with.

In terms of examples, I can offer up my own attempt at developer docs made for my previous company (sadly already abandoned by the looks of it!)

I ended up including:

  • an overview
  • explanations of concepts
  • tutorials walking through example code
  • reference docs for each API feature
  • an API reference

I can't speak to how useful my previous company's clients actually found this, though.

asquithea avatar Aug 12 '22 19:08 asquithea

Last night I merged initial pass of a docs site which is currently deployed to https://electrodb.dev. I still have a few more passes before I want to "announce" this (or closes this ticket), but rest assured this is happening 👍

tywalch avatar Dec 09 '22 19:12 tywalch

Thank you @tywalch. This is already really helpful!

I missed your previous comment. Thanks, @asquithea for filling in.

anselm94 avatar Dec 10 '22 03:12 anselm94