GithubHelp home page GithubHelp logo

qpc-github / docshub-node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w3cub/docshub-node

1.0 2.0 1.0 2.48 MB

Node Server-Side Rendering docshub

Home Page: https://docs.w3cub.com/

License: MIT License

JavaScript 6.54% CoffeeScript 60.57% CSS 28.93% HTML 3.96%

docshub-node's Introduction

docshub-node

node Server-Side Rendering version docshub.

Quick Start

As you know The DevDocs project has two pieces.

DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.

Current project just replace the Sinatra app part, so you still need to install devdocs project.

1、setup devdocs, firstly

  # donwload file https://github.com/Thibaut/devdocs
  git clone https://github.com/Thibaut/devdocs.git && cd devdocs
  gem install bundler
  bundle install
  # default html css dom ...
  bundle exec thor docs:download --default
  # download all docs
  # bundle exec thor docs:download --all

2、install current project

  [email protected]:icai/docshub-node.git
  npm install

modify the docshub-node/config.js file

setup the devdocs project relative path, as follows:

  docs: {
    path: '../devdocs/public/docs/docs.json',
    dir: '../devdocs/public/docs/'
  },

Then finially boostrap the project

npm run dev

Todo

  • cache render
  • database manage
  • user center
  • read count
  • ...

Related project

https://github.com/icai/docshub

https://github.com/Thibaut/devdocs

https://github.com/nodeca/mincer

License

Copyright (c) Terry Cai. Licensed under the MIT license.

docshub-node's People

Contributors

icai avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.