Giter Site home page Giter Site logo

sap-archive / docpad-skeleton-apidocs Goto Github PK

View Code? Open in Web Editor NEW
5.0 9.0 17.0 56.96 MB

API documentation template for DocPad. Demo:

Home Page: http://yaas.github.io/chewie-sample-result

License: Apache License 2.0

JavaScript 77.98% CoffeeScript 0.48% HTML 0.40% CSS 21.09% Shell 0.02% Dockerfile 0.02%

docpad-skeleton-apidocs's Introduction

Important Notice

We have decided to stop the maintenance of this public GitHub repository.

Build Status

Quick try out in terminal

  1. Run this command in the terminal: git clone https://github.com/YaaS/docpad-skeleton-apidocs.git
  2. Open the cloned project: cd docpad-skeleton-apidocs
  3. Call the following commands:
  • npm run prepare
  • npm run init -> to load the currently-integrated sample data
  • npm run start
  1. Open this page: http://localhost:9778/

Quick try out with Docker

  1. Start the container in the terminal: docker run -it --rm --name api-doc-sample -p 9778:9778 derberg/dsa-quickstart /bin/bash
  2. Start the documentation portal with sample data in it: npm run start
  3. Open this page: http://localhost:9778/

Using locally

If you called npm run prepare at least once, it means all the dependencies you need are installed. Now you can just start generation and the server with the following command: npm run start.

Production

To trigger generation with production configuration:

  1. Call the following commands: npm run init and npm run prepare-deploy
  2. Notice the new out folder. This folder contains all generated files and you can use them in production. For example, you can copy the contents of the out folder to your GitHub Pages repository.

To push generated documentation to your repository, run:

npm run preparePushResult && npm run pushResult

Tutorial

Start using this documentation template by following these tutorials:

Automate your documentation builds by following Set up documentation continuous delivery pipeline.

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.