<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/140609>140609</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-doc] Template parameters for functions or records are not serialized in HTML output
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-doc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          evelez7
      </td>
    </tr>
</table>

<pre>
    ```
template<class T> class Foo {
  template<class Y> void Bar(T t) {
    ...
 }
};
```

Clang-Doc does not output template parameters (`template<class ...>`) for either of the entities above in current HTML output. Also applies to global functions. They are serialized in YAML.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsks9u4yAQxp9mfBnVIuC_Bx-cptYe2lsuPQIe26yIsQBHap9-RTZKu-pKlhmJb-ab-Q0yBDOvRB2URyhPmdzj4nxHV7L0WWfKjR8dVOz-sT7SZbMyEohnbWUIeAbxgn_DwTmE-gisR_yhe0-6qzMjHqUH3pwxAm8fesQ8z1ME9QlYn_4i3Xz3BtY_W7nOTyencXQUcHUR3R63PT4McZNeXiiSDwi8gYr9aCU5iZdUk7c4OY9k4kIe3YRxIaQ1mmgooFTuSmhW1Lv3tEb8dX57vfvl2NvgUG6bTdLocLZOSYvTvupo3BpyPC_0gdITBvJGWvNJY6r23r-95tnYibEVrcyoO9RFXTVl2VbZ0lVSN7qQSqiJq7KodKGahhe8ZCMvRNNmpuOMl6w8tJwdxKHKFSctJ6GaUtRTrSQUjC7S2Nza6yV3fs5MCDt1h4JVrM2sVGTDbd-c6xvP0WngPK3fdynpSe1zgIJZE2L4KhNNtLeH8pVVnvD8H_AJ6gMEOo-etPNjuNFIS_uXyDeu2e5tt8S4BRA98AH4MJu47CrX7gJ8SM3cj6fNu9-kI_DhNmAAPtxnvHb8TwAAAP__y7rn_w">