|
| 1 | +// Copyright 2019 Google LLC |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | +// |
| 15 | + |
| 16 | +'use strict'; |
| 17 | + |
| 18 | +const path = require('path'); |
| 19 | + |
| 20 | +module.exports = { |
| 21 | + opts: { |
| 22 | + readme: './README.md', |
| 23 | + package: './package.json', |
| 24 | + template: path.dirname(require.resolve('jsdoc-fresh/package.json')), |
| 25 | + recurse: true, |
| 26 | + verbose: true, |
| 27 | + destination: './docs/', |
| 28 | + }, |
| 29 | + plugins: ['plugins/markdown', 'jsdoc-region-tag'], |
| 30 | + source: { |
| 31 | + excludePattern: '(^|\\/|\\\\)[._]', |
| 32 | + include: ['build/esm/src/'], |
| 33 | + includePattern: '\\.js$', |
| 34 | + }, |
| 35 | + templates: { |
| 36 | + copyright: 'Copyright 2019 Google, LLC.', |
| 37 | + includeDate: false, |
| 38 | + sourceFiles: false, |
| 39 | + systemName: 'gaxios', |
| 40 | + theme: 'lumen', |
| 41 | + default: { |
| 42 | + outputSourceFiles: false, |
| 43 | + }, |
| 44 | + }, |
| 45 | + markdown: { |
| 46 | + idInHeadings: true, |
| 47 | + }, |
| 48 | +}; |
0 commit comments