Recently, to write API documentation for COCOS2DX-LUA projects, my idea was to write comments in the program like the Java doc approach, and generate comments by script, so that only the comments in the code need to be maintained.Investigated, the current support of this approach has Doxygen Luadoc Ldoc, further comparison of online data decided to adopt Ldoc wayThe following is an integrated approach to MA
available formats are: utf-8 ( Default), Shift-jis,iso-8858-1
Chld=
False
Error_correction_level: The level of fault tolerance is four levels, respectively: L,m,q,h representationMargin: The resulting two-dimensional code picture and border margin, but here does not have to be like the expression, but the line. Default 4
We're using Google's API to generate QR codes t
command:
phpdoc-d D:\website\Api-t D:\website\Api\doc-dn shilianwang-dc shilianwang-ti Internet of Things document-O HTML:Smarty:PHP
In the above command, D:\WEBSITE\API is the directory where the source PHP file resides. D:\website\Api\doc is the generated document storage directory.
Shilianwang is a subdirectory,
::{snippets}/home/http-response.adoc[]这个例子非常简单,通过单元测试和一些简单的配置就能够得到api文档了。ADOc's writing format, reference: http://docs.spring.io/spring-restdocs/docs/current/reference/html5/, here is not much to explain.You need to use the Asciidoctor-maven-plugin plugin in its pom file plus: Only the MVNW Package command is required to generate the document.Under/target/generated-docs There is a index.html, open this HTM
. * L-Default: can identify loss of 7% of data * M can identify loss of 15% of data * Q can identify lost 25% of the data * H can recognize the loss of 30% data * @param int $margin The resulting QR code distance from the picture border*/functionGenerateqrfromgoogle ($chl,$widhtHeight= ' 150 ',$EC _level= ' L ',$margin= ' 0 ') { $chl=UrlEncode($chl); Echo' $widhtHeight.‘ X '.$widhtHeight.‘ cht=qrchld= '.$EC _level. ' | '.$margin.‘ choe=utf-8chl= '.$chl. ' "alt=" QR Code "widhtheight=".$widhtHei
").
After entering the Directory, enter the following command to quickly generate the HTML document:
Phpdoc-d: \ website \ Api-t D: \ website \ Api \ doc-dn shilianwang-dc shilianwang-ti 文--o HTML: Smarty: PHP
In the preceding command, D: \ website \ Api is the directory where the source PHP file is located. D: \ w
Use google api to generate a QR code business card
Two-dimensional Barcode/two-dimensional Barcode can be divided into stacked/row-layout two-dimensional barcode and matrix two-dimensional barcode. Stacked/row-lined two-dimensional bar codes are stacked by one-dimensional bar codes with multiple lines of short cut; matrix two-dimensional bar codes are composed of matrices, in the corresponding element posi
system-cannot build API docsTwo jobs need to be done:(1) Installation Doxygen:sudo apt-get install Doxygen(2) Reconfigure WAF, see Google's NS3 forum post in this step:./waf Configure--enable-examples--enable-testsThen my configuration also encountered a problem:Attributeerror: ' Buildcontext ' object has no attribute ' add_subdirs 'I have added a module--vanet-highway, it is estimated that the problem of this module, find the Error statement, the cu
1. to configure apigen, you must install it first. For more information, see configure and install apigen. 2. Select tool> option.
3. Select php> apigen. 4. Configure the apigen script to the corresponding apigen installation location. After that, you can right-click the project and choose generate document to generate an API document. 5. an error was reported d
1.0 Add a web api project and generate a document (multi-project structure) based on comments.
1. Create an ASP. NET project and select Template
2. Select the Web API and do not perform authentication.
The result is displayed after the operation is successful.
The other three authentication methods are not suitable for me. In addition, this method can also imp
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.