Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-MYST-007

Sphinx configuration gaps are reported before building

As a Sphinx author, I want to learn about unsupported syntax before building, through a quiet warning with a path to details, so that I avoid failed builds and can act without being interrupted.

Use case diagram

How it is split

This use case (StRS) is reached by 2 paths, one per coloured line. A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests. Where paths meet, they share the circle or the step.

path 1: Missing extensions are reported path 2: The banner, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-MYST-066: The governing conf.py is found and read as textSwRS-MDOKFSTUDIO-MYST-0664 teststhe extension reads the enabledMyST extensions from the nearestconf.py, as text, never runningitSwRS-MDOKFSTUDIO-MYST-072: MyST syntax of a disabled extension is reported with its lineSwRS-MDOKFSTUDIO-MYST-0724 testsone myst-extensionwarning per extension islisted, at the first useof the syntax, with itslineSwRS-MDOKFSTUDIO-MYST-078: Extension warnings appear in the Problems view and follow conf.pySwRS-MDOKFSTUDIO-MYST-0781 testa live preview in a trustedworkspace publishes them to theProblems view as whole-linewarningsSwRS-MDOKFSTUDIO-MYST-081: A closable banner announces conf.py warningsSwRS-MDOKFSTUDIO-MYST-0816 testsa successful render shows aone-line banner with the count, anOpen Problems button and a ClosebuttonSwRS-MDOKFSTUDIO-MYST-066: The governing conf.py is found and read as textSwRS-MDOKFSTUDIO-MYST-0664 testswithout a certain listnothing is reportedSwRS-MDOKFSTUDIO-MYST-072: MyST syntax of a disabled extension is reported with its lineSwRS-MDOKFSTUDIO-MYST-0724 teststhe same syntax twicegives one warningSwRS-MDOKFSTUDIO-MYST-078: Extension warnings appear in the Problems view and follow conf.pySwRS-MDOKFSTUDIO-MYST-0781 testan untrusted workspace publishes nothingSwRS-MDOKFSTUDIO-MYST-081: A closable banner announces conf.py warningsSwRS-MDOKFSTUDIO-MYST-0816 testsother statuses show the full list insteadA document uses syntax of a MyST extensionA document uses syntaxof a MyST extensionThe enabled MyST extensions are knownThe enabled MySTextensions are knownThe warnings are listed (paths 1, 2)The warnings are listed2The warnings are in the Problems viewThe warnings are in theProblems viewThe banner shows the number of MyST syntax warnings from conf.pyThe banner shows thenumber of MyST syntaxwarnings from conf.py

This map has 986 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 4 behaviours on the map are tested one by one, with 29 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-MYST-066The governing conf.py is found and read as text 4 testsSwRS-MDOKFSTUDIO-MYST-072MyST syntax of a disabled extension is reported with its line 4 testsSwRS-MDOKFSTUDIO-MYST-078Extension warnings appear in the Problems view and follow conf.py 1 testSwRS-MDOKFSTUDIO-MYST-081A closable banner announces conf.py warnings 6 tests
SwRS-MDOKFSTUDIO-CORE-064Warn about MyST syntax of a disabled extension superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-030Prices are not reported as missing dollarmath superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-067A single conf-folder candidate governs when no ancestor conf exists superseded superseded by SwRS-MDOKFSTUDIO-MYST-066 Markdown file
SwRS-MDOKFSTUDIO-MYST-068conf.py is read as text and the check needs a MyST parser superseded superseded by SwRS-MDOKFSTUDIO-MYST-066 Markdown file
SwRS-MDOKFSTUDIO-MYST-069The conf.py reader understands list literal forms superseded superseded by SwRS-MDOKFSTUDIO-MYST-066 Markdown file
SwRS-MDOKFSTUDIO-MYST-070Uncertain conf.py lists suppress all warnings superseded superseded by SwRS-MDOKFSTUDIO-MYST-066 Markdown file
SwRS-MDOKFSTUDIO-MYST-071conf.py lookups are cached and invalidated deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-MYST-073At most 10 extension warnings are kept superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-074Detection ignores code, comments, roles and look-alikes superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-075Warnings carry the line of the syntax superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-076Included files are not checked against conf.py superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-077Extension warnings use the fixed wording and status list superseded superseded by SwRS-MDOKFSTUDIO-MYST-072 Markdown file
SwRS-MDOKFSTUDIO-MYST-079Problems entries are replaced and removed superseded superseded by SwRS-MDOKFSTUDIO-MYST-078 Markdown file
SwRS-MDOKFSTUDIO-MYST-080conf.py changes update the previews they govern superseded superseded by SwRS-MDOKFSTUDIO-MYST-078 Markdown file
SwRS-MDOKFSTUDIO-MYST-082The banner takes no layout room superseded superseded by SwRS-MDOKFSTUDIO-MYST-081 Markdown file
SwRS-MDOKFSTUDIO-MYST-083Open Problems opens the Problems view superseded superseded by SwRS-MDOKFSTUDIO-MYST-081 Markdown file
SwRS-MDOKFSTUDIO-MYST-084Closing the banner dismisses it for that document superseded superseded by SwRS-MDOKFSTUDIO-MYST-081 Markdown file
SwRS-MDOKFSTUDIO-MYST-085The banner returns when the warning set changes superseded superseded by SwRS-MDOKFSTUDIO-MYST-081 Markdown file
SwRS-MDOKFSTUDIO-MYST-086In Restricted Mode the banner lists warnings in its tooltip superseded superseded by SwRS-MDOKFSTUDIO-MYST-081 Markdown file
SwRS-MDOKFSTUDIO-MYST-089The conf.py reader applies list mutations in order superseded superseded by SwRS-MDOKFSTUDIO-MYST-066 Markdown file