# Add Publication Docs

> Adds a new publication page to the RLinf Sphinx docs (EN + ZH) and wires it into the Publications index/toctree. Use when the user asks to add a publication/paper page, convert a paper README/markdown into docs, or update the publications listing.

- Skill: `rlinf/add-publication-docs` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rlinf/add-publication-docs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rlinf/add-publication-docs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: rlinf (https://skillmd.com/u/rlinf)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rlinf/add-publication-docs

---


# Add a Publication to RLinf Docs

This skill adds **one new publication** (paper/tech report/system note) into the RLinf documentation, in **both English and Chinese**, following the existing Publications section conventions.

Before writing, read `docs/STYLE_GUIDE.md`. Start from what the paper changes or
what problem it solves, then introduce project-specific terms. Do not use an
unexplained API or system name as a section heading. Write the Chinese page from
the technical meaning rather than translating the English sentence by sentence;
retain familiar English developer terms when that is the natural and searchable
form.

## What to create

- **EN page**: `docs/source-en/rst_source/resources/publications/<slug>.rst`
- **ZH page**: `docs/source-zh/rst_source/resources/publications/<slug>.rst`
- **Index wiring**:
  - `docs/source-en/rst_source/resources/publications/index.rst`
  - `docs/source-zh/rst_source/resources/publications/index.rst`

Where `<slug>` is lowercase with underscores (match current style, e.g. `rlinf_vla`, `rlinf_user`).

## Required structure (match current pages)

For both EN and ZH pages, keep the same section order as existing publication pages:

1. **Title** (paper title / report title)
2. **Link line** (pick one):
   - EN: `**Paper:** ...` (and optionally `| **Models:** ...`)
   - ZH: `**论文：** ...` (and optionally `| **模型：** ...`)
   - For non-paper pages, use `**Documentation:** ...` / `**文档：** ...`
3. `Overview` / `概述`
4. `Results` / `结果` (tables/figures)
5. `Quickstart` / `快速开始` (links only)
6. `Citation` / `引用` (BibTeX, if applicable)

## Quickstart rules (important)

- **Do not re-iterate full instructions** in publication pages.
- **Quickstart must contain exactly one link** and it must point to the **corresponding existing example page** (no extra links).
  - Embodied: `:doc:\`../../examples/embodied/<benchmark_or_platform>\``
  - Agentic/reasoning: `:doc:\`../../examples/agentic/<task>\``
  - Real-world: `:doc:\`../../examples/embodied/franka\``
- If there is no suitable example page yet, create that example page first; do not add installation / generic guides to Quickstart.

## Tables & figures rules

- Prefer `.. list-table::` for tables.
- If you use `:widths:`, **the number of widths must equal the number of columns**.
- External figures are allowed (e.g. GitHub raw URLs) via:

```rst
.. image:: https://example.com/fig.png
   :alt: caption
   :align: center
```

- If you need side-by-side images, `.. raw:: html` is acceptable (follow existing RLinf pages).

## Wire the publication into the index (order matters)

In both EN and ZH `publications/index.rst`:

- Add `<slug>` under the `.. toctree::` block **in the exact order you want it shown**.
- Add a bullet entry that matches the same order and naming.

Sphinx displays pages in the **toctree listing order**.

## Checklist

- [ ] Add EN publication page under `docs/source-en/.../publications/`
- [ ] Add ZH publication page under `docs/source-zh/.../publications/`
- [ ] Update EN/ZH `publications/index.rst` toctree + bullets (desired order)
- [ ] Ensure Quickstart is exactly one link to the corresponding example page
- [ ] Validate list-table `:widths:` counts match column counts
- [ ] Explain project-specific terms before using them as shorthand or headings
- [ ] Read EN and ZH independently for natural prose; do not accept clause-by-clause translation

## Example (minimal new publication page)

```rst
My Paper Title
==============

**Paper:** `arXiv:XXXX.XXXXX <https://arxiv.org/abs/XXXX.XXXXX>`__

Overview
--------

One-paragraph summary.

Results
-------

.. list-table:: Main results
   :header-rows: 1
   :widths: 40 20 20

   * - Setting
     - Metric A
     - Metric B
   * - Method
     - 1.23
     - 4.56

Quickstart
----------

- :doc:`../../examples/embodied/<benchmark_or_platform>`

Citation
--------

.. code-block:: bibtex

   @article{...}
```

