Sphinx-Needs DemoΒΆ

This is a demo documentation for showing the features of Sphinx-Needs.

_images/sphinx-needs-logo-bg.png

A simple Automotive SW project is used as playground, with elements for:

  • Requirements

  • Specifications

  • Implementations

  • Test Cases

  • and Test Results

Architecture diagrams get described by PlantUML.

There are also Dashboard pages to show specific information for different process roles.

The complete source code can be found here: https://github.com/useblocks/sphinx-needs-demo

Features and technical details are described inside dropdowns like this one:

Demo feature hint: Just an example

Really, this is just an example. Nothing more.

Demo ContentΒΆ

Most of the need content was created using AI. Also most of the images were generated this way.

However, all the meta-data, configuration, and analysis were set by hand, so that the setup shows examples of a real-world use cases and solutions.

Demo StatusΒΆ

This demo page is an early alpha version. The chapter of πŸš— Teen Car is mostly complete in terms of configuration and show cases, even if the amount of requirements and co. is quite small.

Demo Object and Meta ModelΒΆ

@startuml

class "Team" as team #b7ff43 {
   id
   title
   + persons
}
class "Person" as person #508002 {
   id
   title
   role
   contact
   title
}

class "Requirement" as req #10b8c4 {
   id
   title
   status
   tags
   +links
   +author
   +release
   +based_on
}


class "Specification" as spec #5555cc {
   id
   title
   status
   tags
   +links
   +author
   +reqs

}

class "Test Case" as test #790691 {
   id
   title
   status
   tags
   +links
   +author
   +spec
   +runs
}

class "Test Run" as run #b38405 {
   id
   title
   status
   tags
   +author
   +release
   +based_on
}

class "Implementation" as impl #b11616  {
   id
   title
   status
   tags
   +author
   +implements
}

class "Release" as release #0d7e6b {
   id
   title
   status
   tags
   +author
}



team -> person: persons

req --> req: based_on
req <-- spec : reqs
req -left-> release: release
spec <-- test: spec
spec <- impl: implements
test -> run : runs: automatically\nlinked

req -[#999]-> person:  <color:#999>author
spec -[#999]-> person: <color:#999>author
test -[#999]-> person: <color:#999>author
release -[#999]-> person: <color:#999>author



@enduml

ToDoΒΆ

  • β˜‘ Dashboard and Analysis page (tables, flowcharts, pies)

  • β˜‘ Template for need objects, showing connected objects (for reqs and specs)

  • β˜‘ Code API example and linking

  • β˜‘ Sphinx-Preview or alternative

  • ☐ Much more content

  • ☐ SW Architecture example

  • ☐ Sphinx-Build documentation

  • β˜‘ needs_constraints example

  • β˜‘ conf.py integration and details

  • ☐ CI integration (β˜‘ Read the docs, checks and GitHub action missing)

  • ☐ PDF build (postponed, as a build with Sphinx-SimpledPDF needs special handling because of images and used Sphinx-Design grids)

  • ☐ Add a drawio example

  • β˜‘ Example for variant handling

  • ☐ List of single features, plus explanation and link to doc, where it is used.

  • ☐ Nested Needs Example

  • ☐ Better Example data. We need to kind of examples. One for all skill-levels, one for Automotive managers

    • All-Skill-Level: Feature-based development of a Rocket (Req,Specs, Tests all on one feature-page)

    • Automotive: ECU-dev by V-model. Per type one file/folder

Page ContentΒΆ