From 48ff3bd3d62cf4d1d86438e817808fd204e6266a Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Fri, 7 Sep 2018 10:43:15 +0200 Subject: :zap: Remove online deps from neo_ide --- src/public/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/public') diff --git a/src/public/app.js b/src/public/app.js index 5e6b22b..58af98a 100644 --- a/src/public/app.js +++ b/src/public/app.js @@ -15,3 +15,5 @@ try { // Require all styles require("./app.scss"); +// Require font awesome +require("fontawesome"); -- cgit v1.2.3 From 73bedd1d7f50eda6f5ab33134b14d7c69f5e440b Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Fri, 30 Nov 2018 11:01:57 +0100 Subject: :sparkles: Add docs to app --- app.js | 2 ++ src/public/components/sidenav.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/public') diff --git a/app.js b/app.js index 264a0c1..a4d9651 100644 --- a/app.js +++ b/app.js @@ -80,6 +80,8 @@ let neoRuntime = require("./src/neoRuntime")(dataDir); // Setup static assets app.use(express.static("public/assets")); +// Serve docs +app.use("/docs", express.static("docs/_book/")); // Gave up using webpack to compile monaco, therefore, loading the already-compiled code. Probably the slowest way possible, but so it goes. app.use("/monaco-editor", express.static("node_modules/monaco-editor/")); // Setup all our custom middleware diff --git a/src/public/components/sidenav.js b/src/public/components/sidenav.js index a024750..a69aac5 100644 --- a/src/public/components/sidenav.js +++ b/src/public/components/sidenav.js @@ -18,5 +18,7 @@ module.exports = `
  • Settings
  • straighten Strip setup
  • settings Settings
  • +
  • +
  • book Docs
  • -`; \ No newline at end of file +`; -- cgit v1.2.3