ipfs-inactive / docs

[ARCHIVED] 🤖 📚 IPFS documentation working group, plus IPFS docs site code
https://docs.ipfs.io/
Other
87 stars 62 forks source link

Refactor/expand docs on ipfs.io #36

Closed magik6k closed 6 years ago

magik6k commented 7 years ago

Currently the https://ipfs.io/docs/ page only gives some basic guide on IPFS plus some 'random' info in examples. It's not easy to get more in-depth info on IPFS without digging deeper into the github repos, something that requires more effort than many people new to the project are willing to put into it.

While there are many valuable docs, what is missing is a good place for them to live.

We need something:


I found few documentation engines that may work:

MkDocs is really simple to get going and uses markdown which is familiar, though it's seems to be very limited when compared to Sphinx. Using Sphinx would mean that we'd have to port at least a considerable chunk of MD docs to reST (there are tools to help with this) but it's probably a better choice for large docs.


What could be in there:

* Getting started
    * Overview
        * Content Addressing
            * DAG
        * Multiformats
            * Multihash
            * Multicodec
            * Multibase
        * CID
        * UnixFS / IPLD
    * Installation
        * go-ipfs
            * dists / sources
        * js-ipfs
            * npm / ??
    * Setup
        * Repo init
            * Profiles
        * Running daemon
            * Linux: systemd / init
            * OSX / Windows: like Linux
    * Basic usage:
        * CLI
            * Single file
                - Say where it lands / what happens, touch on the DHT
                - Get from gateway
            * Directory
                - Create some structure, 1-2 dirs, 2-3 files
                - View with ls/cat
                    - ls by hash/path, hash of path
            * IPNS / ipfs name
                * Publish some file/directory
                * Resolve with `name resolve`
                * Resolve on gateway
        * Web-UI
            * Say it exists..
* HTTP/CLI API
    - Mention that http used by CLI when daemon is running
    - Autogenerated structure like https://ipfs.io/docs/api/, but with some more structure..
    - Possibly a way to add some more docs to cammands
* JS API
    - Possibly generated
* IPFS Stack
    * Big fancy graph/image
    * Multiformats in detail
        * Multihash
        * Multicodec
        * Multibase
        * Multiaddr
    * IPLD/CID concepts
        * IPLD Paths
        * IPLD Resolvers
        * IPLD ???
    * Libp2p
        * Transports
        * Streams
        * Swarm
            * PeerIDs
            * Bootstrap
        * DHT
        * ???
    * Bitswap
* Using IPFS
    * Websites
        * IPNS
        * DNSLINK
    * Archives
        * Handling large data volumes
        * CRDTs?
    * Data Delivery
        * Large data valumes, optimizations
        * Deduplication
    * Some fuse use-case
* go-side
    * Config
    * Plugins
* js-side
    * Config
    * In-Browser use
    * API

Roadmap:

Notes:

It will be a lot of work to do this well, good news is that a big chunk of this is already wirtten, so bulk of the work would be to get the information linked together in one place.

To keep things form becoming outdated we should have some way to track the docs, One way of doing this would be to put a footer in each file saying last reviewed 01/01/2018, then have some tool to tell which docs may need rewieving.

This issue is mostly to bring back some life to the documentation, I'd like to get some comments on this before doing anything more in this direction.

ghost commented 7 years ago

cc @kyledrake

We want to work on it this quarter. Ideally the result would:

Once there's decent tooling in place, the barrier to working on docs will be much lower, and people will be encouraged to write docs because the way to results is much shorter :)

ghost commented 7 years ago

cc @magik6k

State of The Docs, 6-Nov-2017

Let's start adding content!

(I believe @kyledrake has some unfinished hugo/html business to push to master)

ghost commented 7 years ago

Whoops -- it's http://docsdev.ipfs.team. Fixing the typo above too.

ghost commented 7 years ago

A few notes about docsdev.ipfs.team:

dignifiedquire commented 7 years ago

Just a note and you might know this, but it is verrrry slow to load (8 seconds for the full page without cache)

magik6k commented 7 years ago

I'll try to get some rough structure going soon so people can jump onto here.

kyledrake commented 7 years ago

Just pushed it. Go nuts!

magik6k commented 7 years ago

Added some structure in https://github.com/ipfs/docs/pull/41

Mr0grog commented 6 years ago

I’m closing this since we now have a rethought, shipped, working information architecture and site as of #68 and #80. There’s certainly room for improvements to the design or to the underlying static site framework (see #71), but I think those can now be handled in more specific issues with a smaller scope.

Feel free to comment if we should re-open it!