I'd like to replace this with some kind of self-contained HTML where they can fill in the "variables" at the top and have it auto-generate throughout the doc. This is pretty simple with HTML/JS, but the code can get messy if not done right.
Is there some framework like ReadTheDocs where I can easily write out RsT or Markdown, inserting variables with jinja2 (as an example) that can be input in an input field, and have it dynamically render live in-browser (which I believe then rules Sphinx out)?
It’s built with python but you don’t need python knowledge at all to build; configure and serve the product.
The plug-in eco system adds the ability to embed variables into the markdown pages also you can embed html, so d3 visualisation or a vue calculator app will all embed just fine.
Really clean extensible base, insanely simple and fast to get started oh and free to use. I push mine to GitHub and have that auto build into GitHub pages or a free Netlify account.
I think you could port your Word doc to ObservableHQ and wire up the forms & variables in an afternoon. But, I’m not sure if ObservableHQ will satisfy your other tool requirements. And I haven’t tried the export for myself. I built my first notebook a few days ago and was very impressed.
But I'm not sure thats the best bet for new work today.
It might be worth looking at interactive fiction tools like https://twinery.org or https://www.inklestudios.com/ink/
They sort of do everything you need already including variable ui+storage, javascript processing, html output and save/reload.
Twine also supports complete backtracking if you use the sugarcube dialect.
It sounds like you’re looking to use web tech because that’s what you know, maybe not right for the job though. Do you really want to ship a whole JS framework just for people to RTFM?
See here: https://allaboutberlin.com/tools
Perhaps there are tools that do this, but the use case is fairly simple: variable substitution based on user input. For that, I'd stick to simple, client-side tools.
I made it to solve my own problems: document commands & scripts and replace parameters with user input values. Soon I will release a new version with simpler syntax.
I.e. ```
*Your select ip address is {ip}.* ```
It wouldn't he hard to make up Sphinx directives to drawn the form and put in the target spans.