Add the documentation to the website
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Manuel Thalmann 2022-12-23 20:54:24 +01:00
parent a21fd3b5e5
commit f3094733ea

View file

@ -8,6 +8,18 @@ const { join } = path;
const context = new Context(); const context = new Context();
/**
* Builds documentation page.
*
* @returns
* The resulting stream.
*/
export function Docs(): NodeJS.ReadWriteStream
{
return src(join(context.ProjectRoot, "docs")).pipe(
dest(context.StaticPath()));
}
/** /**
* Builds javascript files. * Builds javascript files.
* *
@ -82,7 +94,8 @@ export function Build(): Promise<void>
Styles, Styles,
Assets, Assets,
Icon, Icon,
WebPages WebPages,
Docs
])( ])(
(error) => (error) =>
{ {