Skip to content

Commit 9ea6ae2

Browse files
committed
fix: doc: add short doorstop intro, cleanup rst and markdown formatting nits
Signed-off-by: Stephen L Arnold <[email protected]>
1 parent cd82db2 commit 9ea6ae2

File tree

2 files changed

+56
-7
lines changed

2 files changed

+56
-7
lines changed

README.rst

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ To create a new repository using this template, click the button labeled
1414

1515
|tag| |license| |reuse| |python|
1616

17+
Template repo cleanup
18+
~~~~~~~~~~~~~~~~~~~~~
19+
1720
After creating your repository, replace the example project name "simple"
1821
with your own:
1922

@@ -23,8 +26,8 @@ with your own:
2326

2427
+ ``find . -name .doorstop.yml`` and review/edit all files
2528

26-
+ then replace all the doorstop content with your own project details
27-
+ create more doorstop items as needed, link specific design and test
29+
* then replace all the doorstop content with your own project details
30+
* create more doorstop items as needed, link specific design and test
2831
elements back to related **Shall** statements
2932
* change the author details in ``pyproject.toml`` *and* ``docs/source/conf.py``
3033
* change the package directory name under the ``src`` folder
@@ -103,11 +106,57 @@ extra features:
103106

104107

105108
Dev tools
106-
=========
109+
~~~~~~~~~
107110

108111
Local tool dependencies to aid in development; install them for
109112
maximum enjoyment.
110113

114+
Doorstop
115+
--------
116+
117+
Initial configurations and first-item doc stubs have been created in the
118+
following directories::
119+
120+
$ tree reqs/ docs/swd/ tests/docs/
121+
reqs/
122+
├── .doorstop.yml
123+
└── REQ001.yml
124+
docs/swd/
125+
├── assets
126+
│   ├── .gitkeep
127+
│   └── simple_dependency_graph.svg
128+
├── .doorstop.yml
129+
└── SDD001.md
130+
tests/docs/
131+
├── .doorstop.yml
132+
└── TST001.yml
133+
134+
The doorstop tool has been added to project [dev] "extras" as well as the
135+
tox dev and docs environments. Use the "dev" environment for working with
136+
doorstop_ documents, eg::
137+
138+
tox -e dev
139+
source .venv/bin/activate
140+
(.venv) doorstop
141+
building tree...
142+
loading documents...
143+
validating items...
144+
WARNING: SDD: SDD001: unreviewed changes
145+
146+
REQ
147+
148+
├── TST
149+
150+
└── SDD
151+
152+
153+
Please see the doorstop Quick Start for an overview of the relevant doorstop
154+
commands.
155+
156+
.. _doorstop Quick Start: https://doorstop.readthedocs.io/en/latest/getting-started/quickstart.html
157+
.. _doorstop: https://doorstop.readthedocs.io/en/latest/index.html
158+
159+
111160
Tox
112161
---
113162

@@ -194,7 +243,7 @@ It's usually a good idea to update the hooks to the latest version::
194243

195244

196245
SBOM and license info
197-
=====================
246+
~~~~~~~~~~~~~~~~~~~~~
198247

199248
This project is now compliant with the REUSE Specification Version 3.3, so the
200249
corresponding license information for all files can be found in the ``REUSE.toml``

docs/swd/SDD001.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ level: 1.0
1313
links: []
1414
normative: false
1515
ref: ''
16-
reviewed: 4BiP2t0Xpr2CU1F7UpuJDZ8ZYba_FwhAHm7uXIphy2I=
16+
reviewed: niwzsx_UYtwjd_p6uGIruhDROomRv8QMNBKnC_2d0Qg=
1717
---
1818

1919
# Design Elements
@@ -40,7 +40,7 @@ Simple Software Units (captured from mermaid to SVG or PNG).
4040
<summary>simple_dependency_graph source</summary>
4141
simple dependency graph showing primary software units.
4242

43-
```mermaid
43+
```
4444
graph TB
4545
subgraph id1[simple Dependencies]
4646
subgraph id2[Python Packages]
@@ -57,4 +57,4 @@ Simple Software Units (captured from mermaid to SVG or PNG).
5757

5858
## Design decisions
5959

60-
More text here.
60+
More text here.

0 commit comments

Comments
 (0)