Code Monkey home page Code Monkey logo

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.

docpad-skeleton-apidocs's People

Contributors

akucharska avatar derberg avatar jakub-gawlas avatar mindyjamiel avatar misappi avatar mjasinski5 avatar przezor avatar sdomagala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docpad-skeleton-apidocs's Issues

Support "Security" documents

Support "Security" documents for services

AC

  • on services left nav between Glossary and Tutorials, we should be able to add "Security". Now we are hardcoded for particular titles.
  • modify placeholder to accept new type of title

Configure TravisCI

AC:

  • After each PR, simple scenario should be run automatically
  • Scenario: prepare => init => compile => preparePushResults => pushResults (to GitHub pages)
  • Run it on few NodeJS versions: 4.2.1, 6.9.0

Push .nojekyll

Due to chewie update file .nojekyll has to be passed explicitly to preparePushResult

Fix metadata validator

On skeleton fail we want to know what is wrong and what file should we fix.
For example "Unable to parse." errors

GitHub pages are not working

there is a problem with src/raw/bower_components/list.js/docu file
temp fix, script:

"preparePushResult": "gulp preparePushResult && del-cli src/raw/bower_components/list.js/docs",

long term fix, proper cleanup of generated sources to not deploy not needed files

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.