-
Notifications
You must be signed in to change notification settings - Fork 487
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
Create a clear space in docs hierarchy for the task-based docs #5949
Comments
@clayton-cornell and @ptodev, I would very much like to hear your opinion on this proposal and what alternative do you think we should consider. |
Would this create a more nested hierarchy? |
Another thought... split off or at least separate the River-specific concepts from how to use Rive in Agent. Iv'e been tinkering with this already (but no concrete results). There's lot of overlap and "mushing together" of River and Agent in the current Concepts and Configuration language sections. |
@mattdurham not really, because we mostly move things around on the same level where they are. I think maybe the "Monitoring" section would become Task-based topics instead.
@clayton-cornell that would make sense, I agree - we could start by just splitting it into separate pages and making sure we talk about River more generally and then have a page on how Agent uses River. I think that maybe that change can be done separately from this issue. |
I've been thinking of adding a "When to use Flow" section, which compares the Agent to similar products. For now I'm planning on adding subpages to "When to use Flow" for Collector and for Prometheus Pushgateway. Where should this sort of content go, according to the proposed structure? The proposal states that "Tutorials" will "more ground than Task", but also that after "completing a tutorial, the user should be able to dive deeper using Tasks section". I don't understand which one is supposed to be more detailed - Tutorials or Tasks? I personally think there are two types of users:
IMO we should not be writing too many detailed docs with verbose step by step instructions. For example, we should not spending too much text on "substitute this variable with this", or repeating descriptions of an argument which are already described in the reference docs. After the users have grasped the basics in the detailed step by step docs, they will want to read more complicated examples without the extra verbosity. Keeping verbosity to a minimum will also make it easier to write those docs. |
Getting started - you want to choose whether you want to use Flow while getting started.
Tutorials can cover more ground by more superficially setting up a more things, for example, it could cover setting up logs, metrics and traces, without SSL, using local docker containers for DBs or Grafana Cloud as an option. Tasks would go more in-depth on a more narrow topic, for example, setting up logs collection in a k8s cluster.
There's probably more, but if we use the two types, we would have users 1 would look into get started and then tutorials section and users 2 would be looking into tasks section (and maybe sometimes to reference section too, as we have examples there as well and I'm fine to leave it like this).
I'm not suggesting we do that. The tutorials section maybe would be a place for this kind of content, but I think we shouldn't have too many tutorials and instead have full reference coverage and decent task-based docs coverage that helps people discover what reference pages to even go to. Right now there appears to be a lot of demand for task-based docs, because our reference pages are likely hard to digest. |
Thanks for the clarification! Sounds good to me. IIUC:
I'd like the Tasks articles to be:
|
Indeed. I expect tutorials to be more like additional learning resource after Getting Started. I agree with all the principles that we should use for Tasks articles. I'll try to capture the purpose of each section in some meta-document in the actual PR. |
Either way I think we should stay consistent with the Writer’s Toolkit descriptions of Tutorial and Task docs 😃 |
Maybe we could use some additional info on the difference between a Task and a Tutorial beyond what's in the Writer's Toolkit:
A task topic should provide the information a user needs to do something specific. They should be focused on a single thing... a task in it's purest definition. It is limited in scope and focuses on guiding the reader through a specific process. An example of a task-based topic would be something like one of the installation topics. They do a single task, and provide just enough information to do an install and nothing more. They don't dive into the tangential concepts or explain at length... it's just run this command. A tutorial should provide a learning experience. It's more and "end-to-end" series of tasks that you follow to achieve a measurable result. A tutorial should contain explanations, examples, etc. that help the reader not only do the thing, but understand why, and how it works. As @ptodev said, groking the fundamentals with helpful diagrams, visualisations, and so on. |
This sounds good to me on a surface level, but I'd defer to @clayton-cornell 's opinion here. One thing that I'm not sure; does the "Configuration language" section go in the Concepts page? |
I would suggest that yes, at least for the first iteration of this. |
I've drafted the definition of the sections in here: https://github.com/grafana/agent/pull/6031/files After merging the above, the next step will be to actually do the reorg using the existing documentation pages. We'll put existing pages in their best fitting new categories, even if they're not 100% compliant to start with - we'll be cleaning them up afterwards. |
Currently, we have the following top-level hierarchy:
We don't have a dedicated place to put the task-based documentation. Existing top-level sections seem to overlap.
This issue proposes to have the following top-level sections instead:
Once we have a broad consensus on what sections we want to have, we can assign the existing pages to correct sections.
The text was updated successfully, but these errors were encountered: