From 3df27f5b28a5ded9a3bd84bdba36ebb53bf3f27b Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Thu, 11 Jan 2018 17:25:17 -0800 Subject: [PATCH] doc: rename API doc files --- doc/Home.md | 2 +- tools/gendoc/apidoc.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/Home.md b/doc/Home.md index 03b6682d..c5107ed6 100644 --- a/doc/Home.md +++ b/doc/Home.md @@ -9,7 +9,7 @@ The documentation available here discusses various aspects of WinFsp. ## Programming - The [[Tutorial|WinFsp-Tutorial]] describes how to create a simple, but complete file system in C/C++. -- The [[API Reference|winfsp.h]] describes the native WinFsp API. This external [[link|http://www.secfs.net/winfsp/apiref/]] may be easier to browse for some people. +- The [[API Reference|WinFsp-API-winfsp.h]] describes the native WinFsp API. This external [[link|http://www.secfs.net/winfsp/apiref/]] may be easier to browse for some people. - There is also a FUSE compatibility layer for native Windows and Cygwin. See fuse.h in the source repository. - This [[document|Native-API-vs-FUSE]] discusses the need for both a native API and FUSE and gives some pointers on which one to choose. diff --git a/tools/gendoc/apidoc.sh b/tools/gendoc/apidoc.sh index 0b4b4dbe..c66b6fb1 100644 --- a/tools/gendoc/apidoc.sh +++ b/tools/gendoc/apidoc.sh @@ -10,3 +10,8 @@ if [[ $# -eq 0 ]]; then fi "$PRETTYDOC" -f $1 -t -H=--outer-names-only -o doc inc/winfsp/winfsp.h inc/winfsp/launch.h + +if [[ "$1" == "asciidoc" ]]; then + mv doc/winfsp.h.asciidoc doc/WinFsp-API-winfsp.h.asciidoc + mv doc/launch.h.asciidoc doc/WinFsp-API-launch.h.asciidoc +fi