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
1 changed files with 14 additions and 1 deletions
15
gulpfile.ts
15
gulpfile.ts
|
@ -8,6 +8,18 @@ const { join } = path;
|
|||
|
||||
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.
|
||||
*
|
||||
|
@ -82,7 +94,8 @@ export function Build(): Promise<void>
|
|||
Styles,
|
||||
Assets,
|
||||
Icon,
|
||||
WebPages
|
||||
WebPages,
|
||||
Docs
|
||||
])(
|
||||
(error) =>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue