From fa0d23138a6ec0364da8fe572e315aa137b5c407 Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Thu, 26 Mar 2020 14:10:08 +0100 Subject: [PATCH 1/3] Reference source of code --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 89ceebf..a8361a1 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,16 @@ [![CI](https://github.com/NLESC-JCER/cpp2wasm/workflows/CI/badge.svg)](https://github.com/NLESC-JCER/cpp2wasm/actions?query=workflow%3ACI) -Document describing a way that a researcher with a C++ algorithm can make it available as a web application. We will host the C++ algorithm as an web application in several different ways: +Document describing a way that a researcher with a C++ algorithm can make it available as a web application. We will host the C++ algorithm as an web application in several different ways: -* as a cgi script -* as a Python application via pybind11, Flask and Celery -* in the web browser using web assembly and JavaScript +- as a cgi script +- as a Python application via pybind11, Flask and Celery +- in the web browser using web assembly and JavaScript We assume the operating system is Linux (We used Linux while writing this guide). The [Newton-Raphson root finding algorithm](https://en.wikipedia.org/wiki/Newton%27s_method) will be the use case. +The code we are using came from [geeksforgeeks.org](https://www.geeksforgeeks.org/program-for-newton-raphson-method/). The interface would like From 04e0e2cfabc7df3cfcf9f0fe151b1a6ecb8c001e Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Thu, 14 May 2020 08:42:55 +0200 Subject: [PATCH 2/3] Initialize docsify With `npx -p docsify-cli docsify init .` --- .nojekyll | 0 index.html | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .nojekyll create mode 100644 index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html new file mode 100644 index 0000000..3f94b85 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + Document + + + + + + +
+ + + + From 5e5d620e86ad7c7f9ee16d817bf63295013e93de Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Thu, 14 May 2020 09:17:45 +0200 Subject: [PATCH 3/3] Configure docsify + language higlighting + entangled info string language detection --- index.html | 75 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 3f94b85..20fe462 100644 --- a/index.html +++ b/index.html @@ -1,21 +1,54 @@ - - - - - Document - - - - - - -
- - - - + + + + + Guide to make C++ available as a web application + + + + + + + +
+ + + + + + + + + + + + +