According to the sphinx documentation, which I believe is why we are now using reST instead of moin syntax for our doctests, sections use "=" and subsections use "-".
http://sphinx.pocoo.org/rest.html#sections
It also seems that the vast majority of converted tests use "=" for the title of the doctest file.
$ find lib/lp/ -name '*.txt' -exec head -3 {} ';' | grep -E '^[=-]+$' | sed -re 's/(.).*/\1/' | sort | uniq -c | sort -rn 457 = 21 -
« Back to merge proposal
According to the sphinx documentation, which I believe is why we are now using reST instead of moin syntax for our doctests, sections use "=" and subsections use "-".
http:// sphinx. pocoo.org/ rest.html# sections
It also seems that the vast majority of converted tests use "=" for the title of the doctest file.
$ find lib/lp/ -name '*.txt' -exec head -3 {} ';' | grep -E '^[=-]+$' | sed -re 's/(.).*/\1/' | sort | uniq -c | sort -rn
457 =
21 -