@apify/docs-theme 1.0.52 → 1.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -233,15 +233,15 @@ const themeConfig = ({
233
233
  height: '60px',
234
234
  },
235
235
  },
236
- // we will reuse the SDK algolia app
237
- algolia: {
238
- appId: 'N8EOCSBQGH',
239
- apiKey: 'b43e67a96ed18c7f63f5fd965906a96d', // search only (public) API key
240
- indexName: 'apify_sdk',
241
- algoliaOptions: {
242
- facetFilters: ['version:VERSION'],
243
- },
244
- },
236
+ // TODO!
237
+ // algolia: {
238
+ // appId: 'N8EOCSBQGH',
239
+ // apiKey: 'b43e67a96ed18c7f63f5fd965906a96d', // search only (public) API key
240
+ // indexName: 'apify_sdk',
241
+ // algoliaOptions: {
242
+ // facetFilters: ['version:VERSION'],
243
+ // },
244
+ // },
245
245
  });
246
246
 
247
247
  module.exports = {
package/src/markdown.js CHANGED
@@ -20,7 +20,7 @@ function pushHeadings(changelog) {
20
20
  }
21
21
 
22
22
  function linkUsers(changelog) {
23
- return changelog.replaceAll(/@([a-zA-Z0-9-]+)/g, '[@$1](https://github.com/$1)');
23
+ return changelog.replaceAll(/^\s*[^#].*@([a-zA-Z0-9-]+)/g, '[@$1](https://github.com/$1)');
24
24
  }
25
25
 
26
26
  function linkPRs(changelog) {
package/src/theme.js CHANGED
@@ -33,7 +33,7 @@ async function copyChangelogFromReleases(paths, repo) {
33
33
  markdown += release.tag_name
34
34
  ? `## [${release.name}](https://github.com/${repo}/releases/tag/${release.tag_name})\n`
35
35
  : `## ${release.name}\n`;
36
- markdown += `${release.body.replaceAll(/(^##|\n##)/g, '###')}\n`;
36
+ markdown += `${release.body.replaceAll(/(^#|\n#)/g, '###')}\n`;
37
37
  });
38
38
 
39
39
  paths.forEach((p) => {