You should aim at writing it so that it is understood as a stand alone text. So include anything vital for understanding the case and understanding your solution. You should include images, files, code, and/or links.
To start writing the paper make a New Article, copy/paste the structure from the current document and set an informative title which should include the name of the case (i.e the problem you are solving) and it should also include a name for your general approach.
Alternatively you may format the article in a Jupyter Notebook and import it here.
*Deployment – optional