I have documentation for my project at this repository that I gradually porting from a raw HTML into Docute:
However, since some moment it no more works locally and it showing blank pages... (no idea how it worked before, maybe after Firefox 68 release).
I did an attempt to disable CORS:
however, it now showing just blank files. The source path I use just "./".
How I did use this?
- I had to use the latest master state.
- I did the
npm install, and then
npm run-script build at repository root.
- I copied "dist" and "lib" directories into the separate folder at my documentation root (_lib sub-directory).
- I did the simple HTML file to carry the documentation:
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Moondust Editor - Manual</title>
<link rel="stylesheet" href="_lib/docute/dist/docute.css">
<link rel="stylesheet" href="style.css">
index.js I had to declare the documentation tree itself:
let docuteSourceRoot = './';
title: 'Moondust Editor - Documentation',
highlight: ['typescript', 'bash'],
editLinkText: 'Edit this page on GitHub',