Distribute documentation in API archive

This commit is contained in:
Oliver Hamlet
2016-09-22 07:52:31 +01:00
parent ae82234e12
commit bd08d55903
2 changed files with 3 additions and 16 deletions
-13
View File
@@ -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
+3 -3
View File
@@ -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.