I am struggling to understand how the linking within the LivingDoc should work.
Hoping someone can point out my gap in understanding.
I have looked at the docs page here: https://docs.specflow.org/projects/specflow-livingdoc/en/latest/Viewing/internal-linking.html
I couldn't tell if the syntax is supposed to include chevrons or not as the documentation text doesn't have them, but the code sample does:
So, I created a VS2022 project from the SpecFlow Project template and generated the LivingDoc for the sample Calculator feature using the CLI. The Calculator.feature file included looks like this:
Simple calculator for adding **two** numbers
Link to a feature: [Calculator](SpecFlowProject1/Features/Calculator.feature)
***Further read***: **[Learn more about how to generate Living Documentation](https://docs.specflow.org/projects/specflow-livingdoc/en/latest/LivingDocGenerator/Generating-Documentation.html)**
Scenario: Add two numbers
Given the first number is 50
And the second number is 70
When the two numbers are added
Then the result should be 120
The LivingDoc that the template project generated shows a link for "Calculator" where you would expect, but clicking the link just reloads the page. I opened the LivingDoc html file before realising it's not a file for reading :D
If I right click the link and inspect the element, the html shown is:
<p>Link to a feature: <a href="">Calculator</a>
Please sign in to leave a comment.