aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-01-04 06:36:19 -0700
committerTim Harder <radhermit@gmail.com>2021-01-04 08:44:08 -0700
commite3bab4b2436bf35da0024d6296b1a31e7e251684 (patch)
treee1ddfc9edc0c70dfd431e7cd5269fe060d32cbc3
parentpmaint eclass: add initial support for eclassdoc generation (diff)
downloadpkgcore-e3bab4b2436bf35da0024d6296b1a31e7e251684.tar.gz
pkgcore-e3bab4b2436bf35da0024d6296b1a31e7e251684.tar.bz2
pkgcore-e3bab4b2436bf35da0024d6296b1a31e7e251684.zip
ebuild.eclass: use full adornment for subtitle
-rw-r--r--src/pkgcore/ebuild/eclass.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pkgcore/ebuild/eclass.py b/src/pkgcore/ebuild/eclass.py
index 6d8f383bd..6fa0ab108 100644
--- a/src/pkgcore/ebuild/eclass.py
+++ b/src/pkgcore/ebuild/eclass.py
@@ -483,10 +483,9 @@ class EclassDoc(AttrDict):
_header_only = partial(_rst_header, newline=True)
- rst = []
- rst.extend(_header_only('=', self.name, leading=True))
+ rst = _header_only('=', self.name, leading=True)
if self.blurb:
- rst.extend(_header_only('=', self.blurb))
+ rst.extend(_header_only('-', self.blurb, leading=True))
if self.description:
rst.extend(_rst_header('-', 'Description'))