comparison tests/test-discovery-hidden-common.t @ 5780:e117cf7401db

doc: switch rst `=` section underlines to `-` When using GENDOC_LOAD_CONFIGURED_EXTENSIONS=1, Mercurial's doc/gendoc.py can load extensions from outside of just the hgext directory, and pull in this doc. When added to the documentation, this should be nested inside of the following extension hierarchy: - Extensions - evolve The generated documentation has an established hierarchy of section headers, and the above uses `"` for top level, and `=` for each extension. Since gendoc just pastes it in verbatim, with `=` underlines, we get "Obsolescence Markers Discovery", "Effect Flag Experiment", and "Template keywords" as siblings to the evolve extension, instead of nested inside of it. This is not required for the string below it (that shows up with `hg help evolution`), as that is one level higher in the hierarchy (not nested inside of an "Extensions" section), so `=` is appropriate there.
author Kyle Lippincott <spectral@google.com>
date Wed, 17 Feb 2021 14:00:43 -0800
parents a60a478ee2fa
children 35e769c9604f
comparison
equal deleted inserted replaced
5779:96ed73c5c6ca 5780:e117cf7401db