Add the documentation to the website
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a21fd3b5e5
commit
f3094733ea
15
gulpfile.ts
15
gulpfile.ts
|
@ -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) =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue