Giter VIP home page Giter VIP logo

apidocs's Introduction

Opinionated API Doc Generator

This small tool generates API documentation for PHP (and JavaScript) as Markdown files, so they can be properly rendered on Github and similar tools. The tool makes some assumptions (for example: always only one class per file, type hints over inline documentation, …) to make the generated documentation easy to read.

Documentation Goals

The goal of this tool to create simple, digestible and compact documentation. This includes adding as many cross-references ass possible to make the code & documentation dicoverable. This tools tries to focus on the relevant information and does not try to output as much information as somehow possible.

Our own (very boring) API documentation is also generated using this tool.

Configuration File

The configuration of this tools is done using a YAML file called .apidocs.yml, by default. You can also create the file asomewhere else and provide the file location as an argument to bin/apidocs. All paths inside the configuration file will be relative to the configuration file, like:

name: "My Example project"
source: ../common/src
target: ../common/docs
autoloader: ../common/vendor/autoload.php
nameSpace: "\\My\\Example"
files: # Relative to `source`
 - php/My/Class.php
 - …

apidocs's People

Contributors

kore avatar schaumiii avatar

Watchers

 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.