Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(bdd): Add BDD scenarios to documentation
Abstract ======== Add a new "Specifications" entries at the root of the documentation, containing all features and scenarios. Motivation ========== We use BDD as specification, so it's important to have the features and scenarios in the documentation. Rationale ========= We use the `sphinx-gherkindoc` package to do the heavy work of finding the `.feature` files and rendering the documentation.
- Loading branch information
Showing
8 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* Style for doc generated by `sphinx-gherkindoc` */ | ||
div[id^="scenario-"] h2 ~ * { | ||
margin-left: 2em !important; | ||
} | ||
.gherkin-scenario-content { | ||
font-weight: normal; | ||
} | ||
.gherkin-step-keyword { | ||
font-weight: bold; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ Welcome to IssHub's documentation! | |
:maxdepth: 2 | ||
|
||
About <about> | ||
Specifications <bdd/index> | ||
Internals <internals> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters