-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
The result of parsing https://github.com/llvm/llvm-project/blob/665457815f11118f7e755a471f33606c8562a4be/clang-tools-extra/docs/clang-tidy/checks/abseil/no-namespace.rst?plain=1#L20
i.e.
See `the full Abseil compatibility guidelines <https://
abseil.io/about/compatibility>`_ for more information.
with pandoc 3.5 (and 3.1.3) is
bash-5.2# /pandoc-3.5/bin/pandoc /llvm-project/clang-tools-extra/docs/clang-tidy/checks/abseil/no-namespace.rst -f rst -t html5
[WARNING] Reference not found for 'the full abseil compatibility guidelines <https:// abseil.io/about/compatibility>' at /llvm-project/clang-tools-extra/docs/clang-tidy/checks/abseil/no-namespace.rst line 21 column 33
<div class="title">
<p>clang-tidy - abseil-no-namespace</p>
</div>
<h1 id="abseil-no-namespace">abseil-no-namespace</h1>
<p>Ensures code does not open <code>namespace absl</code> as that
violates Abseil's compatibility guidelines. Code should not open
<code>namespace absl</code> as that conflicts with Abseil's
compatibility guidelines and may result in breakage.</p>
<p>Any code that uses:</p>
<div class="sourceCode" id="cb1"><pre
class="sourceCode c++"><code class="sourceCode cpp"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="kw">namespace</span> absl <span class="op">{</span></span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="op">...</span></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="op">}</span></span></code></pre></div>
<p>will be prompted with a warning.</p>
<p>See <a href="">the full Abseil compatibility guidelines <https://
abseil.io/about/compatibility></a> for more information.</p>
i.e.
<p>See <a href="">the full Abseil compatibility guidelines <https://
abseil.io/about/compatibility></a> for more information.</p>
From a quick look at the docs, and without being familiar with reStructuredText, I can't say for sure whether this is a bug in pandoc or in no-namespace.rst.