|
| 1 | +.. _meta-concept-prototype: |
| 2 | + |
| 3 | +====================== |
| 4 | +Concept Page Prototype |
| 5 | +====================== |
| 6 | + |
| 7 | +.. contents:: On this page |
| 8 | + :local: |
| 9 | + :backlinks: none |
| 10 | + :depth: 2 |
| 11 | + :class: singlecol |
| 12 | + |
| 13 | +.. include:: /includes/info-typing/fact-general-guidance.rst |
| 14 | + |
| 15 | +.. include:: /includes/info-typing/concept-overview.rst |
| 16 | + |
| 17 | +The title is typically a noun or noun phrase. |
| 18 | + |
| 19 | +A concept page begins with a brief introduction that summarizes its |
| 20 | +contents, often called a short description. The short description |
| 21 | +explains a little about the concept and why the audience should care |
| 22 | +about it. |
| 23 | + |
| 24 | +Command Syntax |
| 25 | +-------------- |
| 26 | + |
| 27 | +Optional. |
| 28 | + |
| 29 | +If it's appropriate, you may include a code-block with a copyable |
| 30 | +prototype to familiarize users with command syntax. |
| 31 | + |
| 32 | +.. code-block:: javascript |
| 33 | + |
| 34 | + db.collection.<method>( { |
| 35 | + /* command fields */ |
| 36 | + } ) |
| 37 | + |
| 38 | +After the code block, provide a link to the corresponding |
| 39 | +:ref:`reference <meta-reference-prototype>` or :ref:`task |
| 40 | +<meta-task-prototype>` page to provide readers with complete examples |
| 41 | +and behavior details. When possible, use includes to single-source code |
| 42 | +examples across related concept, task, and reference pages. |
| 43 | + |
| 44 | +.. note:: |
| 45 | + |
| 46 | + For concept pages that have multiple linked tasks, the code example |
| 47 | + should show the most common task we expect users to look for. |
| 48 | + |
| 49 | +Use Cases |
| 50 | +--------- |
| 51 | + |
| 52 | +This section includes a collection of use cases to explain "What do I do |
| 53 | +with this thing?" In general, use cases are short descriptions about how |
| 54 | +to use a feature. They set expectations for when and how you might use a |
| 55 | +feature and what differentiates this feature from other options. |
| 56 | + |
| 57 | +Behavior |
| 58 | +-------- |
| 59 | + |
| 60 | +This section includes information you need to know before using a |
| 61 | +feature. It can be as long or short as appropriate. Some examples of |
| 62 | +technical details include: |
| 63 | + |
| 64 | +- Performance considerations and behavior alerts |
| 65 | + |
| 66 | +- Support for a feature (for example, sharded cluster support or |
| 67 | + Versioned API compatibility) |
| 68 | + |
| 69 | +- Version support |
| 70 | + |
| 71 | +Get Started |
| 72 | +----------- |
| 73 | + |
| 74 | +Link to the most common task pages related to this concept. Linking to |
| 75 | +all task pages isn't necessary here. The goal of this section is to make |
| 76 | +sure users can easily find common related tasks. |
| 77 | + |
| 78 | +- Link one |
| 79 | +- Link two |
| 80 | +- Link three |
| 81 | + |
| 82 | +Details |
| 83 | +------- |
| 84 | + |
| 85 | +This section is a brief unpacking of the technical details. It can be as |
| 86 | +long or short as appropriate. Generally, the information in this section |
| 87 | +is supplemental and should not be a major factor in a user's decision to |
| 88 | +use a feature. |
| 89 | + |
| 90 | +Learn More |
| 91 | +---------- |
| 92 | + |
| 93 | +.. include:: /includes/info-typing/fact-learn-more.rst |
0 commit comments