-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Write a very bad introduction to structuring docs #10063
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,43 @@ | ||||||||||||||||||
How to structure your documentation | ||||||||||||||||||
=================================== | ||||||||||||||||||
|
||||||||||||||||||
Structuring your documentation is an important part of the authoring process. | ||||||||||||||||||
It's important to think about the reader of the documentation, | ||||||||||||||||||
since they are the primary user of documentation. | ||||||||||||||||||
|
||||||||||||||||||
One of the largest benefits of a good structure is that it removes questions that keep authors from writing documentation. | ||||||||||||||||||
Starting with a blank page is often the hardest part of documentation, | ||||||||||||||||||
so anything we can do to remove this problem is a win. | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is super important stuff! I think this could be great for the first section: "Why documentation needs structure" |
||||||||||||||||||
|
||||||||||||||||||
Recommendations for process | ||||||||||||||||||
--------------------------- | ||||||||||||||||||
Comment on lines
+12
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Maybe we should also change our example projects to have a Diátaxis skeleton? :) |
||||||||||||||||||
|
||||||||||||||||||
In order to avoid starting with a blank page, | ||||||||||||||||||
we recommend a simple process: | ||||||||||||||||||
|
||||||||||||||||||
* Choose a structure for your documentation. We recommend `Diátaxis <https://diataxis.fr/>`_ for this. | ||||||||||||||||||
* Find a :doc:`example project </examples>` or template to start from. | ||||||||||||||||||
* Start writing by filling in the structure. | ||||||||||||||||||
|
||||||||||||||||||
This process helps you get started quickly, | ||||||||||||||||||
and helps keep things consistent for the reader of your documentation. | ||||||||||||||||||
|
||||||||||||||||||
Diátaxis | ||||||||||||||||||
-------- | ||||||||||||||||||
|
||||||||||||||||||
The documentation you're reading is written using the Diátaxis framework. | ||||||||||||||||||
It has four major parts as summarized by this image: | ||||||||||||||||||
|
||||||||||||||||||
.. image:: https://diataxis.fr/_images/diataxis.png | ||||||||||||||||||
|
||||||||||||||||||
We recommend that you read more about Diátaxis in the `documentation <https://diataxis.fr/>`_ for it. | ||||||||||||||||||
|
||||||||||||||||||
Explaining the structure to your users | ||||||||||||||||||
------------------------------------- | ||||||||||||||||||
|
||||||||||||||||||
One of the benefits of Diátaxis is that it's a well-known structure, | ||||||||||||||||||
and users might already be familiar with it. | ||||||||||||||||||
As long as you stick to the structure, | ||||||||||||||||||
your users should be able to use existing experience to navigate. | ||||||||||||||||||
|
||||||||||||||||||
Using the names that are defined (eg. Tutorials, Explanation) in a user-facing way also helps here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd go even further here?
We have the
:term:
entry for discoverability that might be handy as well: https://docs.readthedocs.io/en/stable/glossary.html#term-discoverability(can write a bullet list of benefits of a good Diátaxis structure as a motivation for people to continue learning about the Framework?)