> For the complete documentation index, see [llms.txt](https://huataihuang.gitbook.io/cloud-atlas-draft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huataihuang.gitbook.io/cloud-atlas-draft/develop/doc/sphinx/sphinx_with_image.md).

# sphinx图片

之前我嵌入图片都是使用 `image` 指令：

```
.. image:: ../_static/kernel/clos_cbm_example.png
```

不过，在文档中，其实会引用图片，所以改为使用 `figure` 指令，可以添加更多内容:

```
.. figure:: ../_static/kernel/config_l3_cbms_per_clos.png
   :scale: 50%

   Figure 1: 为每个服务逻辑分类 (logical class of service, CLOS) 配置L3容量位掩码 (L3 capacity bitmasks)

   通过 MSR的  ``IA32_L3_MASK_n`` 可以配置CLOS的L3容量位掩码，这里 ``n`` 表示 CLOS 编号
```

## 参考

* [Figure](http://docutils.sourceforge.net/docs/ref/rst/directives.html#figure)
* [Reference Figures in reStructuredText via Figure Numbers using :numref:](https://stackoverflow.com/questions/44247102/reference-figures-in-restructuredtext-via-figure-numbers-using-numref)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/doc/sphinx/sphinx_with_image.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
