Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
face
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Кубота
face
Commits
df59d2fe
Commit
df59d2fe
authored
Oct 23, 2018
by
vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts for generating docs
parent
3aab1adb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
4 deletions
+40
-4
.gitignore
.gitignore
+3
-2
.npmignore
.npmignore
+3
-2
typedoc.config.js
typedoc.config.js
+34
-0
No files found.
.gitignore
View file @
df59d2fe
...
...
@@ -4,4 +4,5 @@ node_modules
tmp
proto
weights_uncompressed
weights_unused
\ No newline at end of file
weights_unused
docs
\ No newline at end of file
.npmignore
View file @
df59d2fe
...
...
@@ -7,4 +7,5 @@ weights
weights_uncompressed
weights_unused
test
tools
\ No newline at end of file
tools
docs
\ No newline at end of file
typedoc.config.js
0 → 100644
View file @
df59d2fe
const
path
=
require
(
'path'
)
const
fs
=
require
(
'fs'
)
const
excludes
=
[
{
dir
:
'faceLandmarkNet'
,
exceptions
:
[
'index.ts'
,
'FaceLandmark68Net.ts'
,
'FaceLandmark68TinyNet.ts'
]
},
{
dir
:
'faceRecognitionNet'
,
exceptions
:
[
'index.ts'
,
'FaceRecognitionNet.ts'
]
},
{
dir
:
'mtcnn'
,
exceptions
:
[
'index.ts'
,
'Mtcnn.ts'
,
'MtcnnOptions.ts'
]
},
{
dir
:
'ssdMobilenetv1'
,
exceptions
:
[
'index.ts'
,
'SsdMobilenetv1.ts'
,
'SsdMobilenetv1Options.ts'
]
},
{
dir
:
'tinyFaceDetector'
,
exceptions
:
[
'index.ts'
,
'TinyFaceDetector.ts'
,
'TinyFaceDetectorOptions.ts'
]
},
{
dir
:
'tinyYolov2'
,
exceptions
:
[
'index.ts'
,
'TinyYolov2.ts'
]
}
]
const
exclude
=
excludes
.
map
(({
dir
,
exceptions
})
=>
{
const
files
=
fs
.
readdirSync
(
path
.
resolve
(
'src'
,
dir
))
.
filter
(
file
=>
!
exceptions
.
some
(
ex
=>
ex
===
file
))
return
files
.
map
(
file
=>
`**/
${
dir
}
/
${
file
}
`
)
}).
reduce
((
flat
,
arr
)
=>
flat
.
concat
(
arr
),
[])
module
.
exports
=
{
mode
:
'file'
,
out
:
'docs'
,
module
:
'commonjs'
,
target
:
'es5'
,
theme
:
'default'
,
excludeExternals
:
true
,
includeDeclarations
:
true
,
excludePrivate
:
true
,
excludeNotExported
:
true
,
stripInternal
:
true
,
externalPattern
:
'node_modules/@tensorflow'
,
exclude
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment