Ketan Talaulikar <[email protected]> wrote: > I am not sure that I follow the motivation behind this approach (as I > understand it). I am guided by > https://www.rfc-editor.org/rfc/rfc9907.html#section-3.9
Re-reading... Yes. I've done that.
I've done that by making sure that main text has a markdown reference to all
things in the YANG. That forces kramdown to put in the right references into
the XML, making everyone happy.
The section is marked for the RPC to remove.
I've done it this way, so that if I were to mistype some I-D reference there,
then I'd get an error.
If I manually insert XML references, which I've done in the past, they go
stale or wind up with typos which are not caught.
OTH, if I add references in the markdown (up in the YAML) which are not used
in the text (only the YANG file), that I wind up with a warning about unused
references, that might cause one to delete the reference, which would be wrong.
{I think that YANG modules should have a clear, machine readable way to
indicate references that they use, and that kramdown-rfc should be able to
read that, or to read some appendix that some yang tool creates}
> On Thu, Aug 6, 2026 at 8:14 AM Michael Richardson <[email protected]>
> wrote:
>>
>> Ketan Talaulikar <[email protected]> wrote:
>> > I didn't follow what was done for the reference to RFC 9911. Can you
>> please
>> > explain?
>>
>> Let me comfirm that the complaint was that while the YANG modules mention
>> RFC9911, it did not appear in the references for the I-D.
>> (This is among my top-5 complaints about how YANG interacts with tooling)
>>
>> I had a section for this already, it now reads:
>>
>> }13. YANG references
>> }
>> } RFC-editor, please remove. This section just lists references
>> } present in YANG modules which otherwise do not get included in the
>> } references, like [RFC7250].
>> }
>> } Also [RFC9911], Common YANG Data Types, and [RFC8791] is
>> } SX:Structure.
>>
>> --
>> Michael Richardson <[email protected]> . o O ( IPv6 IøT consulting
)
>> Sandelman Software Works Inc, Ottawa and Worldwide
>>
>> ** My working hours and your working hours may be different.
>> **
>> ** Please do not feel obligated to reply outside your normal working
hours
>> **
>>
>>
>>
>>
>>
> ----------------------------------------------------
> Alternatives:
> ----------------------------------------------------
--
Michael Richardson <[email protected]> . o O ( IPv6 IøT consulting )
Sandelman Software Works Inc, Ottawa and Worldwide
** My working hours and your working hours may be different. **
** Please do not feel obligated to reply outside your normal working hours **
signature.asc
Description: PGP signature
_______________________________________________ Anima mailing list -- [email protected] To unsubscribe send an email to [email protected]
