From bd08d55903af433e436003b4dad19e834ffc85d3 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 22 Sep 2016 07:19:54 +0100 Subject: [PATCH] Distribute documentation in API archive --- docs/api/README.md | 13 ------------- scripts/archive.js | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 docs/api/README.md diff --git a/docs/api/README.md b/docs/api/README.md deleted file mode 100644 index e2a56f02..00000000 --- a/docs/api/README.md +++ /dev/null @@ -1,13 +0,0 @@ -LOOT API -======== - -This archive contains a 32-bit Windows build of the LOOT API and its include -headers and linking library. The DLL requires the [MSVC 2015 x86 redistributable](https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe) -to be installed. - -See the [online documentation](http://loot.readthedocs.io/) for more information. -The library source code is available [on GitHub](https://github.com/loot/loot). - ---- - -Copyright (C) 2013-2016 WrinklyNinja diff --git a/scripts/archive.js b/scripts/archive.js index f525eb04..eab84d30 100644 --- a/scripts/archive.js +++ b/scripts/archive.js @@ -183,10 +183,10 @@ function createApiArchive(rootPath, releasePath, tempPath, destPath) { path.join(tempPath, 'include', 'loot') ); - // Readme. + // Documentation. fs.copySync( - path.join(rootPath, 'docs', 'api', 'README.md'), - path.join(tempPath, 'README.md') + path.join(rootPath, 'build', 'docs', 'html'), + path.join(tempPath, 'docs') ); // Now compress the folder to a 7-zip archive.