Giter Site home page Giter Site logo

coderbec / documentation-compilation-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

An implementation of aglio to compile multiple API specification documents into one unified documentation file

License: Other

Ruby 0.06% API Blueprint 87.46% JavaScript 12.48%

documentation-compilation-demo's Introduction

Compiling Documentation Files Demo

Co-owning documentation and complexity around responsibility for that documentation can make it hard to present a single unified set of documentation. Documentation is often a collaboration between the api/tech teams, the product team and the developer relations team. Additionally, internal teams will often have their own versions of api specification documents that diverge from the specifications used for externally facing documents. This further complicates management of the documentation when changes are deployed and can be a huge challenge for documentation owners and dev relations teams. Starting with API Blueprint files, this application demonsrates the use of renderers to compile multiple blueprints into a single unified document, for display and public dissemination.

Features

bitbucket pipeline file

To-dos

Please subscribe to the repo to be notified when the following features get pushed:

  • buildkite pipeline file
  • Swagger inclusion and conversion
  • tests
  • automatic versioning
  • codegen

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

  1. Clone the repo
  2. run `npm install
  3. run `bundle install
  4. Add the sources for your components to the src folder and modify the index.api to include your submodules
  5. npm `run build
  6. npm `run validate
  7. npm `run publish

Prerequisites

You will need ruby and node installed one whatever machine is doing the build. The example buildkite file includes reference to a docker file that has ruby and node installed.

Deployment

bitbucket-pipelines is an example bitbucket pipeline that just publishes to apiary. This can be modified to use any of the included scripts in package.json for added functionality.

Built With

  • node.js - The web framework used
  • npm - Dependency Management
  • aglio - API Blueprint Renderer
  • apiaryio - GEm from Apiary to publish and validate

Contributing

TBD

Versioning

TBD

Authors

  • Bec Martin - Initial work - Github

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

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.