Home

Awesome

Plate

Pyhton2.7 Pyhton3.4 Codacy Badge Build Status Code Climate

Plate is API Documentations Tool based on Markdown(md). Convert Slate based on Ruby-Middleman to Python-Flask based. And add some different functions for usages.

plate

Example site is plate-project.github.io. Plate document is plate.readthedocs.org.

Features

Plate is very easy for any developers. First of all, follow below Getting Start. And then you have any problems, immediately notify(email, issue board, anything). Always, plate is ready for you.

Getting Start

Support Python Version

Prerequisites

Quick Start with Server

  1. Clone plate to your hard drive with git clone https://github.com/Plate-Project/plate.git

  2. cd plate

  3. Install your API document web pages using quick-start.py.

  4. Start with server: python plate.py

    > git clone https://github.com/Plate-Project/plate.git
    > cd plate
    > python install.py
    ...
    Welcome plate v0.2.6
    Start your API Document system.
    
    Typing API document name :<Typing your project>
    what is API document name? is "<your project>"
    
    Rename plate to  "<your project>" ...
    Complete. Enjoy developing.
    
    > cd ../<your project>
    > python plate.py
    

Quick Start with Static HTML

Start with static html: python pst.py -f <conf file>

> python pst.py -f config.json

config.json(configuration file)

{
    "PORT"               : 8888,
    "TITLE"              : "API Document",
    "LOGO_TITLE"         : "API Document",
    "SEARCH_ON"          : true,
    "SUPPORT_LANG"       : ["shell", "python"],
    "API_DOC_PATH"       : "./document",
    "API_DOC_INDEX_PATH" : "index.json",
    "COPYRIGHT"          : "© 2016 plate",
    "FAVICON"            : "favicon.ico",
    "CLIPBOARD"          : true,
    "STATIC" : {
        "DIR" : "./plate_static",
        "HTML" : "index.html"
    }
}

index.json(Table of contents)

{
    "ORDER":
    [
        "Introduction.md",
        "Signup.md",
        "Signin.md"
    ]
}

Version v0.2.6

More Info

More Information such as example, usage, internal, advanced is here. plate.readthedocs.org

Contributing

Any suggestions submit a issue. Show me the pull requests.

Special Thanks

License

Copyright 2016 Plate

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.