Skip to content

Commit

Permalink
[faq] 解释阅读方法
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Feb 5, 2024
1 parent 07e28ed commit 7fd73d9
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion docs/faq/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,42 @@

常见问题解答确实只是为了解答该问题才写的, 且由于大量基于课内 C 风格 C++ 教学, 很难用作现代 C++ 知识点整理, 自学请参考 :doc:`/cpp/main`.

.. admonition:: 阅读方法
:class: dropdown

.. hint::

这是对思维的进一步启发.

.. warning::

这是对内容的警告性说明.

.. danger::

这是指出内容的危险性.

.. seealso::

放在开头, 表示必需的前置知识; 放在最后, 表示可用的扩展内容.

.. admonition:: 相关核心准则
:class: coreguidelines

这是与内容明确相关的 C++ 核心准则, 阅读标题就已经能带来启发, 你没有点击阅读的必要.

.. admonition:: 别看
:class: dontread

这是与解答相关性不大的补充性内容.

***********************************************************************************************************************
基本概念
***********************************************************************************************************************

基本概念部分仅对这些内容进行简述, 并给出相关解答的跳转.

.. danger::
.. warning::

对于更下面的基本概念, 我不得不假定读者已经阅读上面的基本概念, 否则难以用教学大纲涉及的内容给出好的解释.

Expand Down

0 comments on commit 7fd73d9

Please sign in to comment.