Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apify-docs-theme/src/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

const removeGitCliffMarkers = () => (tree) => {
visitParents(tree, 'html', (node) => {
const gitCliffMarkerRegex = /generated by git-cliff/ig;
const gitCliffMarkerRegex = /generated by git\-cliff|git\-cliff\-unreleased/ig;

Check failure on line 23 in apify-docs-theme/src/markdown.js

View workflow job for this annotation

GitHub Actions / Lint app code

Unnecessary escape character: \-

Check failure on line 23 in apify-docs-theme/src/markdown.js

View workflow job for this annotation

GitHub Actions / Lint app code

Unnecessary escape character: \-

Check failure on line 23 in apify-docs-theme/src/markdown.js

View workflow job for this annotation

GitHub Actions / Lint app code

Unnecessary escape character: \-
const match = gitCliffMarkerRegex.exec(node.value);

if (match) node.value = '';
Expand Down
Loading