File tree 4 files changed +9
-4
lines changed
4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1388,12 +1388,12 @@ exports[`html nested.input.js 1`] = `
1388
1388
<head>
1389
1389
<meta charset='utf-8' />
1390
1390
<title> | Documentation</title>
1391
+ <meta name='description' content='a documentation generator'>
1391
1392
<meta name='viewport' content='width=device-width,initial-scale=1'>
1392
1393
<link href='assets/bass.css' rel='stylesheet' />
1393
1394
<link href='assets/style.css' rel='stylesheet' />
1394
1395
<link href='assets/github.css' rel='stylesheet' />
1395
1396
<link href='assets/split.css' rel='stylesheet' />
1396
- <meta name='description' content='a documentation generator'>
1397
1397
</head>
1398
1398
<body class='documentation m0'>
1399
1399
<div class='flex'>
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Options:
24
24
package.json
25
25
--project-homepage project homepage. by default, inferred from
26
26
package.json
27
+ --favicon favicon used in html
27
28
--watch, -w watch input files and rebuild documentation when
28
29
they change [boolean]
29
30
--markdown-toc include a table of contents in markdown output
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ module.exports.sharedOutputOptions = {
106
106
'project-homepage' : {
107
107
describe : 'project homepage. by default, inferred from package.json'
108
108
} ,
109
+ favicon : {
110
+ describe : 'favicon used in html'
111
+ } ,
109
112
format : {
110
113
alias : 'f' ,
111
114
default : 'json' ,
Original file line number Diff line number Diff line change 2
2
<html>
3
3
<head>
4
4
<meta charset='utf-8' />
5
- <title><%- config['project-name'] %> <%- config['project-version'] %> | Documentation</title>
5
+ <title><%- config['project-name'] %> <%- config['project-version'] %> | Documentation</title><% if (config['project-description']) { %>
6
+ <meta name='description' content='<%- config['project-description'] %>'><% } %>
6
7
<meta name='viewport' content='width=device-width,initial-scale=1'>
7
8
<link href='assets/bass.css' rel='stylesheet' />
8
9
<link href='assets/style.css' rel='stylesheet' />
9
10
<link href='assets/github.css' rel='stylesheet' />
10
- <link href='assets/split.css' rel='stylesheet' /><% if (config['project-description ']) { %>
11
- <meta name='description' content=' <%- config['project-description '] %>'><% } %>
11
+ <link href='assets/split.css' rel='stylesheet' /><% if (config['favicon ']) { %>
12
+ <link href=' <%- config['favicon '] %>' rel='icon' ><% } %>
12
13
</head>
13
14
<body class='documentation m0'>
14
15
<div class='flex'>
You can’t perform that action at this time.
0 commit comments