Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/aio/tools/transforms/authors-package/utils.js

12 lines
295 B
JavaScript
Raw Normal View History

build(docs-infra): improve docs-watch example matching (#40479) In the `docs-watch` job we attempt to guess what additional files need to be processed given a change to a single file. Previously we were not finding links to examples that were defined over multiple lines. E.g. ``` <code-pane header="src/app/app.component.html" region="hero-birthday-template" path="pipes/src/app/app.component.html"> </code-pane> ``` This commit improves the regular expression to handle these cases. PR Close #40479
2021-01-18 14:55:04 +00:00
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
module.exports = {
codeExampleMatcher: /<code-(?:pane|example)[^>]*\bpath="([^"]+)"/g,
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 94ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API