Skip to content

jrichardsz-software-architect-tools/docs4all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docs4all

Doc4all is a very lightweight web server to convert your markdown files into a usable wiki or Knowledge base for your company.

Basic Usage

  • Create a new npm project
  • add this package.json
{
  "name": "acme-docs",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "dev": "supervisor -e 'js|md' index.js"
  },
  "author": "",
  "license": "MIT",
  "dependencies": {
    "docs4all": "software-architect-tools/docs4all",
    "supervisor": "^0.12.0"
  }
}
  • create this index.js
const Docs4All = require("docs4all");
var docs4All = new Docs4All();
docs4All.start({
  "documentsLocation":__dirname+"/docs",
  "design":{
    "title":"ACME Docs",
    "navHeaderFontSize":"18",
  }
});
  • create a folder called "docs" and put inside any markdown file (*.md)
  • npm install
  • npm run dev
  • go to http://localhost:2708 to view the home page

Production

  • npm install
  • set you desired port with export PORT=8080
  • npm run start

Inspiration

Assets

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published