doc(runtime-c-api) Generate documentation for wasmer.h only.

This commit is contained in:
Ivan Enderlin
2020-01-29 14:49:45 +01:00
parent a2ddbab03d
commit 5fb7f4ea3b
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ auto-generated documentation.
Since the Wasmer runtime is written in Rust, the C and C++ API are Since the Wasmer runtime is written in Rust, the C and C++ API are
designed to work hand-in-hand with its shared library. The C and C++ designed to work hand-in-hand with its shared library. The C and C++
header files, namely [`wasmer.h`] and [`wasmer.hh`] are documented header files, namely [`wasmer.h`] and `wasmer.hh` are documented
here. Their source code can be found in the source tree of this here. Their source code can be found in the source tree of this
crate. They are automatically generated, and always up-to-date in this crate. They are automatically generated, and always up-to-date in this
repository. The C and C++ header files along with the runtime shared repository. The C and C++ header files along with the runtime shared
@ -23,7 +23,6 @@ libraries (`.so`, `.dylib`, `.dll`) can also be downloaded in the
Wasmer [release page]. Wasmer [release page].
[`wasmer.h`]: ./wasmer_8h.html [`wasmer.h`]: ./wasmer_8h.html
[`wasmer.hh`]: ./wasmer_8hh.html
[release page]: https://github.com/wasmerio/wasmer/releases [release page]: https://github.com/wasmerio/wasmer/releases
Here is a simple example to use the C API: Here is a simple example to use the C API:

View File

@ -118,7 +118,6 @@ WARN_LOGFILE =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
INPUT = doc/index.md INPUT = doc/index.md
INPUT += wasmer.h INPUT += wasmer.h
INPUT += wasmer.hh
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h \ FILE_PATTERNS = *.h \
*.hh *.hh