{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":493389455,"defaultBranch":"main","name":"docu-notion","ownerLogin":"sillsdev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-05-17T19:36:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1095739?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1719330810.0","currentOid":""},"activityList":{"items":[{"before":"581f0f0c778130abc0c5ac38ef212399124e6ab5","after":"522d1bb6f6c6805f9b15d24ab7e1365d733da587","ref":"refs/heads/release","pushedAt":"2024-06-24T18:21:09.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Merge branch 'main' into release","shortMessageHtmlLink":"Merge branch 'main' into release"}},{"before":"2d378986ef42990713478a8ddddaaf8b5bac3a46","after":"f1176c574cce15244b65dd77c43de2e791fe361c","ref":"refs/heads/main","pushedAt":"2024-06-24T18:15:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"fix: Multiple links in a paragraph (#108)","shortMessageHtmlLink":"fix: Multiple links in a paragraph (#108)"}},{"before":"55ed8ca559b3991a32124ffe743d3bc5b6dda13a","after":null,"ref":"refs/heads/mention-style-links","pushedAt":"2024-05-01T23:39:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"}},{"before":"9d11a98830d2d8f3e06705828a25f8208f1dd0ad","after":"2d378986ef42990713478a8ddddaaf8b5bac3a46","ref":"refs/heads/main","pushedAt":"2024-05-01T23:39:04.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Merge pull request #102 from sillsdev/mention-style-links\n\nfix: Convert Notion's \"mention\" style links to internal pages, #97 (#102)","shortMessageHtmlLink":"Merge pull request #102 from sillsdev/mention-style-links"}},{"before":null,"after":"55ed8ca559b3991a32124ffe743d3bc5b6dda13a","ref":"refs/heads/mention-style-links","pushedAt":"2024-05-01T23:22:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hatton","name":"John Hatton","path":"/hatton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8448?s=80&v=4"},"commit":{"message":"fix: Convert Notion's \"mention\" style links to internal pages, #97","shortMessageHtmlLink":"fix: Convert Notion's \"mention\" style links to internal pages, #97"}},{"before":"96c25fd50d105be78e557d5e6500c15bb23b046c","after":null,"ref":"refs/heads/mention-style-links","pushedAt":"2024-05-01T22:22:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"hatton","name":"John Hatton","path":"/hatton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8448?s=80&v=4"}},{"before":"dfdc6aa2dae0a75249b70106ff5ad316c4ccc528","after":"96c25fd50d105be78e557d5e6500c15bb23b046c","ref":"refs/heads/mention-style-links","pushedAt":"2024-05-01T22:05:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"hatton","name":"John Hatton","path":"/hatton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8448?s=80&v=4"},"commit":{"message":"fix: Convert Notion's \"mention\" style links to internal pages, #97","shortMessageHtmlLink":"fix: Convert Notion's \"mention\" style links to internal pages, #97"}},{"before":null,"after":"dfdc6aa2dae0a75249b70106ff5ad316c4ccc528","ref":"refs/heads/mention-style-links","pushedAt":"2024-05-01T22:04:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hatton","name":"John Hatton","path":"/hatton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8448?s=80&v=4"},"commit":{"message":"fix: Convert Notion's \"mention\" style links to internal pages, #97","shortMessageHtmlLink":"fix: Convert Notion's \"mention\" style links to internal pages, #97"}},{"before":"c7c302b09c107d140a513e276d6779950725bf36","after":"581f0f0c778130abc0c5ac38ef212399124e6ab5","ref":"refs/heads/release","pushedAt":"2024-04-09T22:16:59.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Merge main into release","shortMessageHtmlLink":"Merge main into release"}},{"before":"36da64a8fb83e6af532021117881a5a1d2cd2bfb","after":null,"ref":"refs/heads/ImageFileName","pushedAt":"2024-04-09T19:06:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"}},{"before":"5d1078960a4a11dcd9cc436819f2683ec2eb5dbe","after":"9d11a98830d2d8f3e06705828a25f8208f1dd0ad","ref":"refs/heads/main","pushedAt":"2024-04-09T19:06:19.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Merge pull request #99 from sillsdev/ImageFileName\n\nfeat: Modify image file names","shortMessageHtmlLink":"Merge pull request #99 from sillsdev/ImageFileName"}},{"before":"95e9f0c66855ef17c8544a0092f0d9eb0901dd71","after":"36da64a8fb83e6af532021117881a5a1d2cd2bfb","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-08T21:51:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\n------------------\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`. (#82)\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name. (#76)\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"62b85430e1e1fb7813ee5dbacbc1a194339068d8","after":"95e9f0c66855ef17c8544a0092f0d9eb0901dd71","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-08T17:56:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\n------------------\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`. (#82)\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name. (#76)\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"58a03b64eaa15debcca3268a0174530c2970d744","after":"62b85430e1e1fb7813ee5dbacbc1a194339068d8","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-08T16:52:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\n------------------\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`. (#82)\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name. (#76)\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"e8ac5c6570b89fba0dcbf874462d733f5e5b7096","after":"58a03b64eaa15debcca3268a0174530c2970d744","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T23:41:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\n------------------\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`. (#82)\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name. (#76)\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"bff12fd7c52102377e23d801201a08627ad7a6af","after":null,"ref":"refs/heads/RequireSlugs","pushedAt":"2024-04-05T23:33:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"}},{"before":"5d00de3033c5d3a4797e66c74366c035d53fee64","after":"5d1078960a4a11dcd9cc436819f2683ec2eb5dbe","ref":"refs/heads/main","pushedAt":"2024-04-05T23:33:17.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Merge pull request #98 from sillsdev/RequireSlugs\n\nfeat: Add --require-slugs option","shortMessageHtmlLink":"Merge pull request #98 from sillsdev/RequireSlugs"}},{"before":"f1d33fe940494ee48a9fe2219ff5366e0d22ec2b","after":"e8ac5c6570b89fba0dcbf874462d733f5e5b7096","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T22:16:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\n------------------\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`.\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name.\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"079675a0d7fbc69f3e300eca4d847dcf2a0e1321","after":"f1d33fe940494ee48a9fe2219ff5366e0d22ec2b","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T18:52:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{notion-block-id}`.\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name.\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"ae14972b5814d1b42329c3d438299f4659e49388","after":"079675a0d7fbc69f3e300eca4d847dcf2a0e1321","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T18:50:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\nBreaking change:\nPreviously, image files names were a hash of all or part of the image url.\nTo provide more stability and future-proofing, the default format is now `{page-slug}.{blockID}`.\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\n------------------\n\nFeature:\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name.\n\n------------------\n\nPotential breaking change for plugins:\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"b50aba6220f1941da41af9fb93b577906a29fe67","after":"ae14972b5814d1b42329c3d438299f4659e49388","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T18:46:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\nBreaking change:\nImage files names use to hash all or part of the url used to download the image.\nTo provide more stability and future-proofing, the default format is now {page-slug}.{blockID}.\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name.\n\nPotential breaking change for plugins...\n\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"9e9db2f0ead3a7d6774fc292c8bc3d49cb60afe7","after":"b50aba6220f1941da41af9fb93b577906a29fe67","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T18:26:54.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\nBreaking change:\nImage files names use to hash all or part of the url used to download the image.\nTo provide more stability and future-proofing, the default format is now {page-slug}.{blockID}.\nUsers can opt in to the old format with `--image-file-name-format legacy`.\n\nIf desired instead, users can specify `--image-file-name-format content-hash` to use a hash of the image content as the file name.\n\nPotential breaking change for plugins...\n\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n \n // If the output is creating things like react elements, you can append their import definitions \n // to this array so they get added to the page. \n // e.g. context.imports.push(`import ReactPlayer from \"react-player\";`); \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":null,"after":"9e9db2f0ead3a7d6774fc292c8bc3d49cb60afe7","ref":"refs/heads/ImageFileName","pushedAt":"2024-04-05T18:23:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Modify image file names\n\nPotential breaking change for plugins...\n\nThe exported type IDocuNotionContext changed from \n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown;\n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n \n // If the output is creating things like react elements, you can append their import definitions \n // to this array so they get added to the page. \n // e.g. context.imports.push(`import ReactPlayer from \"react-player\";`); \n imports: string[]; \n}; \n```\nto\n```\nexport type IDocuNotionContext = { \n layoutStrategy: LayoutStrategy; \n options: DocuNotionOptions; \n getBlockChildren: IGetBlockChildrenFn; \n notionToMarkdown: NotionToMarkdown; \n pageInfo: IDocuNotionContextPageInfo; \n convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined; \n pages: NotionPage[]; \n counts: ICounts; \n imports: string[]; \n}; \n```\nwhere `IDocuNotionContextPageInfo` is\n```\nexport type IDocuNotionContextPageInfo = { \n directoryContainingMarkdown: string; \n relativeFilePathToFolderContainingPage: string; \n slug: string; \n}; \n```","shortMessageHtmlLink":"feat: Modify image file names"}},{"before":"798110044adaf143136cd0f38d7a8ebfd6e8df51","after":"bff12fd7c52102377e23d801201a08627ad7a6af","ref":"refs/heads/RequireSlugs","pushedAt":"2024-04-03T20:48:11.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Add --require-slugs option","shortMessageHtmlLink":"feat: Add --require-slugs option"}},{"before":null,"after":"798110044adaf143136cd0f38d7a8ebfd6e8df51","ref":"refs/heads/RequireSlugs","pushedAt":"2024-04-02T21:28:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"feat: Add --require-slugs option","shortMessageHtmlLink":"feat: Add --require-slugs option"}},{"before":"40c6beccf9da998ece9fc27a3c802c233361abdb","after":"5d00de3033c5d3a4797e66c74366c035d53fee64","ref":"refs/heads/main","pushedAt":"2024-04-02T16:52:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"fix: Download images using axios instead of node-fetch","shortMessageHtmlLink":"fix: Download images using axios instead of node-fetch"}},{"before":"7f1fd40ffdb10313b2ae0b7ec0e4d8e2197ba70f","after":"40c6beccf9da998ece9fc27a3c802c233361abdb","ref":"refs/heads/main","pushedAt":"2024-04-02T16:06:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"chore: upgrade actions","shortMessageHtmlLink":"chore: upgrade actions"}},{"before":"a73e04035bab0ad65e54e8565b21b6e5a23e7317","after":"7f1fd40ffdb10313b2ae0b7ec0e4d8e2197ba70f","ref":"refs/heads/main","pushedAt":"2024-04-02T15:56:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"fix: fallback to getting image file extension from url","shortMessageHtmlLink":"fix: fallback to getting image file extension from url"}},{"before":"55ba105dcbb006330271853aeb3d023ba564d6b2","after":"a73e04035bab0ad65e54e8565b21b6e5a23e7317","ref":"refs/heads/main","pushedAt":"2023-11-14T18:44:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrew-polk","name":null,"path":"/andrew-polk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5847219?s=80&v=4"},"commit":{"message":"Update README.md with numbered list workaround","shortMessageHtmlLink":"Update README.md with numbered list workaround"}},{"before":"28645e8b6011a5024e62037f51ce0759bcaa79fb","after":"55ba105dcbb006330271853aeb3d023ba564d6b2","ref":"refs/heads/main","pushedAt":"2023-09-28T23:27:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hatton","name":"John Hatton","path":"/hatton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8448?s=80&v=4"},"commit":{"message":"fix: update readme to reflect change of css name","shortMessageHtmlLink":"fix: update readme to reflect change of css name"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEbdMOpwA","startCursor":null,"endCursor":null}},"title":"Activity ยท sillsdev/docu-notion"}