-
Notifications
You must be signed in to change notification settings - Fork 378
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
[docs] docs.gno.land
overhaul
#2615
Comments
I really like the overall approach and the structure. It offers both handholding for new people looking for tutorials, and reference type help for experienced community members looking for specific info. Minor nitpicks:
|
Thank you for putting into question the organization of the docs. I've long thought it was misguided but I didn't want to catch up to the discussions of why the current "framework" was chosen.
Yes please, and drop the front matter with the ID. The file name should be enough. Documentation on the repository should be renderer-agnostic. (I'm OK with "callout" syntax; these can be implemented elsewhere, but let's not add other docusaurus-specific things). Things I dislike about the structure:
Here's an alternative idea on the structure
Things to note:
We need talks on the homepage. I'd say three, off the top of my head this could be a good set: |
@thehowl
Do you envision the tool docs to live in the monorepo, alongside the tools? I feel like this is what the docs are for, and we should use the already present docs indexing feature that serves up this documentation, since all of these listed are official tools we have and use daily
This section was merely a suggestion to get thoughts -- I think at some point we should actually have info for GoR / Boutines on the official documentation, at least as guidelines. cc @michelleellen
I like this, instead of having a separate page with categories, we distribute the FAQs out into different sections ✅
Do you propose we rename GnoVM -> Gno? I like this proposal, but I would also like to have documentation on the VM in this section. I think this is the part of the docs that we lack the most
Where do you suggest we shove them, since they are reference documentation?
The idea is to integrate gnodev as the number 1 intro tool for newcomers, and ease them in into local node development later, this is why it's the focus for the Getting Started section. It's gonna have its own tooling documentation for advanced use-cases
This is already mentioned in the references, We can put the talk / workshop links on the "homepage" (main overview page) of the docs 👍 |
We can have links from the docs; ie. a "community tools" page. (Maybe this should be awesome-gno; but anyway). The question here is what is the "notability" required for being in the documentation. For me, it should be the critical components of Gno + Gno.land, and Having "low" notability requirements means that:
I believe we should strive to make a high-quality documentation with a narrow set of pages which are well-curated and filled with good information, and see how we can manage to keep them that way with time. Then, if we can find ways to add more external tools, to the same level of quality of the rest of the documentation and in a way that doesn't "distract" or "overwhelm" readers we should go for it. But I think we should work on a small, high-quality documentation now rather than a lot of pages which show no more useful information than what you can get with As for search, as long as we communicate the scope of what we cover in the documentation and the tools cover their documentation all on the README (I don't think any of tx-indexer, tx-archive, supernova, gnobro needs more than that documentation-wise) I think it's OK. I may be wrong; but by my own experience, the only documentation where I do use the built-in search functionality is the mdn; often because I know what I'm looking for (like the HTML tag or CSS rule), I just forgot its syntax. Everything else, I just use normal search engines simply because they're better at "understanding" queries and ranking results than a built-in search like Algolia or MeiliSearch anyway. So I don't see it as a big loss; but I may be biased by my experience.
Note: I still think we should have most FAQs (anything regarding gnokey, gnodev, common errors, etc.) on a single page; just spreading out the ones that concern a specific usecase.
Yes, same as you have the Go documentation, not the gc documentation :) And of course it should have VM information; but communicating how the language is different and how to use it is more important than the underlying details
#522 - basically, they should be generated the same way as pkg.go.dev. If they're not generated, they will fall out of date within a week. How to do this for p/ packages is a no-brainer; https://gno.land/p/demo/avl should just give you the docs for avl. I think for stdlibs, it's likely to be https://gno.land/pkg/std or /doc/std. |
Hi both,
|
Just for context on closing this - based on the result of this discussion, here and off-line, we'll circle back to this with a new proposal on how to reorganize the documentation. |
Up-to-date issue: #2953 |
EDIT Nov '24: See up-to-date issue #2953
Description
This issue outlines a proposal to improve the existing state of the gno.land documentation which:
High level choices
docs
having only the tape filestm2-js-client
andgno-js-client
) into their own respective documentations (not on the gno official docs). We utilizeJSDOC
for the source code anyways, so the docs generation should be straightforwardsidebars.js
in Docusaurus, make sure it's autogenerated based on the docs file directoryHigh level structure
The high level structure for the documentation should be divided in 5 sections. All of these are discussed below in detail on their initial structure:
Gno.land (section)
The high-level overview of the Gno.land section can be represented through the following directory tree:
. └── gno.land/ ├── overview.md ├── getting-started/ │ ├── gnodev.md │ └── gno-playground.md ├── how-to-guides/ │ ├── how-to-write-a-simple-app.md │ ├── grcs/ │ │ ├── how-to-write-a-grc20.md │ │ └── how-to-write-a-grc721.md │ └── infrastructure/ │ ├── how-to-setup-local-chain.md │ └── how-to-connect-to-existing-chain.md ├── concepts/ │ ├── realms.md │ ├── packages.md │ ├── effective-gno.md │ └── proof-of-contribution.md └── reference/ ├── RPC.md ├── testnets.md ├── node-config.md └── stdlibs/ ├── address.md ├── banker.md ├── coins.md ├── realm.md ├── events.md └── chain-related.md
The individual subdirectories and files contain previously present and new documents, making it easier to discover the gno.land blockchain.
Key changes:
GnoVM (section)
The high-level overview of the GnoVM section can be represented through the following directory tree:
This structure is just an example of the GnoVM section, but the highlight is that we want to separate out the Gno / GnoVM documentation from the blockchain aspect of the project.
The purpose of this separation is to have clear docs if someone wants to focus more on the VM rather than the blockchain.
Tools (section)
The high-level overview of the Tools section can be represented through the following directory tree:
Each tool will get its dedicated subfolder, with 3 main components:
Having the tooling documentation separate eliminates the need of having tool docs in the How-to section of the main Gno.land docs.
Ecosystem (section)
The high-level overview of the Tools section can be represented through the following directory tree:
The highlight of the Ecosystem section is the different contributor-facing initiatives we have with the Gno community, as well as showcasing the top contribution partners.
FAQ (section)
The high-level overview of the FAQ section can be represented through the following directory tree:
The idea behind the FAQ section is to have curated commonly asked questions for different categories, such as validator running, GOR, the grant program, and others.
Implementing this proposal
sidebars.js
, reorganize thedocs
folder according to this structureRPC
reference pagetm2-js-client
andgno-js-client
The text was updated successfully, but these errors were encountered: