Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Moved the Documentation into a new folder to centrally manage the Documentation and it's up keep. #97

Closed
wants to merge 22 commits into from

Conversation

CSDUMMI
Copy link

@CSDUMMI CSDUMMI commented Apr 19, 2021

In this #96 issue I raised, I have specified, how the spread out documentation
is a problem for developers, trying to find a specific feature of OrbitDB.

I thus started here to compile the Documentation into a single Folder with only very few files,
such that people can easily search them and later convert this into a cook book for OrbitDB.

@CSDUMMI
Copy link
Author

CSDUMMI commented Apr 30, 2021

@aphelionz would you merge this or do you need anything more?

The Project isn't finished yet, but if we wait too long, the documentations will get out of sync.

@tabcat
Copy link
Contributor

tabcat commented May 6, 2021

I dont like that this copies all the stores README files into this repos docs/ folder. First it just makes more documents needed to be maintained and updated.
If your plan is to move, instead of copy, just the API documentation it makes more sense but im still not a fan because the API documentation IMO should be a part the repo it belongs to.
Generating API documents with JSDoc would be more appealing in the long run and would be easy to automate inside the main repo and/or generate a website from it.

@aphelionz
Copy link
Contributor

Big fan of a nice slick website with everything on it

@CSDUMMI
Copy link
Author

CSDUMMI commented May 15, 2021

Generating API documents with JSDoc would be more appealing in the long run and would be easy to automate inside the main repo and/or generate a website from it.
@tabcat I would surely support using JSDoc instead.

How do you plan to go about this?

@aphelionz
Copy link
Contributor

side note: JSDoc is great but it feels so outdated. I spent days looking for something similar but I couldnt find anything. I'd love to have an alternative if anybody has a good one. Something like rustdoc would be amazing if we could run functional tests on the code snippets in the docs / examples

@CSDUMMI
Copy link
Author

CSDUMMI commented May 16, 2021

What do you think of sphinx-js. It appears to be based on JSDoc and extend it.

@aphelionz
Copy link
Contributor

yeah sphinx looks compelling

@CSDUMMI
Copy link
Author

CSDUMMI commented May 18, 2021

I'll try to get some info on it. But if we use it, we'll need Documentation in the source code.
I would start with the orbit-db-store package.

@aphelionz
Copy link
Contributor

I love this idea @CSDUMMI, do you want to make orbit-db-store the examplar then, and we can look into publishing options?

@CSDUMMI
Copy link
Author

CSDUMMI commented May 18, 2021

Yes. I would like to do that. But perhaps it is better to start with the orbit-db repository, since that is the one, that'll be most easily documented for examplar purposes.

@CSDUMMI
Copy link
Author

CSDUMMI commented May 18, 2021

I already started doing using sphinx-js on my orbit-db repository fork and I will try to create PR within the next weeks. https://github.com/CSDUMMI/orbit-db/tree/master

@CSDUMMI
Copy link
Author

CSDUMMI commented May 18, 2021

I raised an issue on the repository.
I would like to move the discussion there.

@aphelionz
Copy link
Contributor

orbit-db repository, since that is the one, that'll be most easily documented for examplar purposes.

I would say that's the most difficult since it contains every single concept in OrbitDB (keystore, cache, heads exchange, pubsub, IPFS dag, etc etc), but if you feel differently, go for it!

@CSDUMMI CSDUMMI closed this May 18, 2021
@CSDUMMI
Copy link
Author

CSDUMMI commented May 18, 2021

orbit-db repository, since that is the one, that'll be most easily documented for examplar purposes.

I would say that's the most difficult since it contains every single concept in OrbitDB (keystore, cache, heads exchange, pubsub, IPFS dag, etc etc), but if you feel differently, go for it!

I don't need to document everything, just enough to get an example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants