Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralized all development documentation #7670

Open
9 of 26 tasks
matklad opened this issue Sep 22, 2022 · 1 comment
Open
9 of 26 tasks

Centralized all development documentation #7670

matklad opened this issue Sep 22, 2022 · 1 comment
Assignees
Labels
C-tracking-issue Category: a tracking issue

Comments

@matklad
Copy link
Contributor

matklad commented Sep 22, 2022

TL;DR: https://near.github.io/nearcore/

At the moment, the docs targeting developers of nearcore are spread out across many different locations:

We want to centralize all that into a single place, such that it's easier to find docs, as well as to add them (you don't need to deliberate where to put stuff).

We discussed that a bit on zulip and on the all-hands.

We figured out we want the following features from our doc system:

  • publicly accessible, everyone can read the docs
  • publicly editable, everyone can edit docs
  • comments, so that it's easy to engage with the docs without necessary editing them
  • stored in the repo, so that we can give public attribution to folks contributing to docs
  • stored in markdown, so that it's easy to edit in Emacs
  • stored in wyswyg, so that it's easy to edit outside of Emacs
  • drag'n'drop experience for media like images, videos, etc
  • has table of contents and in general easy way to organize large volume of loosely connected stuff
  • reasonable eye-candy in terms of CSS

We considered a bunch of options, and ended up choosing https://rust-lang.github.io/mdBook/, the same thing that rust ecosystem itself is using, eg here https://rustc-dev-guide.rust-lang.org.

It doesn't have wyswyg, but the edit button which opens GitHub editor is pretty slick. It also doesn't support drag'n'drop for images, but an OK workflow is to drag images into a special GitHub issue, and essentially use that as an image hosting platform. It doesn't have comments, which is unfortunate. On all other accounts, it is pretty great.

Here's the partial laundry list of things to do to finish transition:

Potential future work:

@matklad matklad added the C-tracking-issue Category: a tracking issue label Sep 22, 2022
@matklad matklad self-assigned this Sep 22, 2022
@akhi3030
Copy link
Collaborator

@matklad : I would like to volunteer to help out here. Please assign tasks to me that you think I can help with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: a tracking issue
Projects
None yet
Development

No branches or pull requests

2 participants