risingwavelabs / risingwave-docs

The official user documentation of RisingWave
https://docs.risingwave.com
Apache License 2.0
33 stars 26 forks source link

Discussion: distinguish between guide-level and reference-level documents #2442

Open stdrc opened 1 month ago

stdrc commented 1 month ago

Currently we put detailed syntaxes for "Join", "Time Windows", "Window functions", etc. in the top-level "Manage data" section. At the same time, we have other features only having documents in "Develop - SQL references" section.

Seems when writing these docs, we don't exactly know where to put which page in. An example is that we have /sql/functions-operators/sql-function-time-window.md displaying in "Manage data - Transform & query data", because it's both a guide-level document and a reference-level document...

I want to propose an idea that we should distinguish between guide-level documents and reference-level documents.

A very good example for the separation of these two kinds of documents is Indexes and CREATE INDEX, the former being a guide-level doc and the latter being a reference-level doc.

stdrc commented 1 month ago

@xxchan Do you have any insights on this?

xxchan commented 1 month ago

SGTM. Would you like to draft a more detailed outline?

xxchan commented 1 month ago

BTW, I think this is somehow similar to the tutorial https://github.com/risingwavelabs/risingwave-docs/issues/2355

st1page commented 3 weeks ago

just found an interesting theory https://docs.divio.com/documentation-system/structure/ image