Skip to content

Commit

Permalink
Add custom attribute to tut req
Browse files Browse the repository at this point in the history
  • Loading branch information
chrta committed Mar 5, 2021
1 parent ae48f6b commit 976ccbf
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doorstop/cli/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
from doorstop.core.builder import _clear_tree
from doorstop.core.document import Document

REQ_COUNT = 17
ALL_COUNT = 49
REQ_COUNT = 18
ALL_COUNT = 50


class TempTestCase(unittest.TestCase):
Expand Down
3 changes: 3 additions & 0 deletions reqs/tutorial/.doorstop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ settings:
parent: REQ
prefix: TUT
sep: ''
attributes:
publish:
- CUSTOM-ATTRIB
23 changes: 23 additions & 0 deletions reqs/tutorial/TUT020.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
CUSTOM-ATTRIB: true
active: true
derived: false
header: ''
level: 2.3
links:
- REQ007: N4qTPlDi0z6kClsYAWlTsYPYWPylyr5KscMlxyYlzbA=
normative: true
ref: ''
reviewed: eXhaivJwaU26FVviGRdvG0i0a_YV5y6BKSxf4t55umY=
text: |
**Include custom attributes in published output**
Include the custom attribute that should be published in `.doorstop.yml`,
e.g.
settings:
digits: 3
prefix: TUT
sep: ''
attributes:
publish:
- CUSTOM-ATTRIB

0 comments on commit 976ccbf

Please sign in to comment.