@tobi-or-not/docpress 0.7.4 → 0.7.5

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.
@@ -260,6 +260,9 @@ export declare function getInfos({ username, token, branch }: Pick<FetchOpts, 'b
260
260
  status?: "enabled" | "disabled";
261
261
  };
262
262
  } | null;
263
+ custom_properties?: {
264
+ [key: string]: unknown;
265
+ };
263
266
  }[];
264
267
  branch: any;
265
268
  }>;
@@ -113,4 +113,18 @@ export declare function loadConfigFile(configPath?: string): any;
113
113
  * @returns Array of strings
114
114
  */
115
115
  export declare function splitByComma(s: string): string[];
116
+ /**
117
+ * Replaces relative paths in markdown links with absolute URLs
118
+ *
119
+ * @param file - Path to the markdown file to process
120
+ * @param url - Base URL to use for absolute links
121
+ */
122
+ export declare function replaceRelativePath(file: string, url: string): void;
123
+ /**
124
+ * Processes README files to fix various link formats
125
+ *
126
+ * @param file - Path to the README file to process
127
+ * @param url - Base URL to use for absolute links
128
+ */
129
+ export declare function replaceReadmePath(file: string, url: string): void;
116
130
  export {};
@@ -1,14 +1,4 @@
1
- /**
2
- * Replaces relative paths in markdown links with absolute URLs
3
- *
4
- * @param file - Path to the markdown file to process
5
- * @param url - Base URL to use for absolute links
6
- */
7
- export declare function replaceRelativePath(file: string, url: string): void;
8
- /**
9
- * Processes README files to fix various link formats
10
- *
11
- * @param file - Path to the README file to process
12
- * @param url - Base URL to use for absolute links
13
- */
14
- export declare function replaceReadmePath(file: string, url: string): void;
1
+ export declare const relativePathRegex: RegExp;
2
+ export declare const readmePathRegex: RegExp;
3
+ export declare const readmeDocsPathRegex: RegExp;
4
+ export declare const removeIdxRegex: RegExp;