Plugin shouldn't break the whole build #6

Merged
allanger merged 5 commits from plugin-should-not-break-build into main 2023-02-24 16:30:10 +00:00
Owner

Now the whole logic is wrapped by try, so if plugin is failed, it won't break the whole build

Also, there were several changes

  • Add header_message, so header_warning is still there ("‼️ This page is created automatically, all your changes will be overwritten during the next MKDocs deployment. Do not edit a page here ‼️") when you want to add a custom message
  • Add upstream_url, so now there is a link to the original page, if it's provided
  • Migrate to default python logging lib
Now the whole logic is wrapped by `try`, so if plugin is failed, it won't break the whole build Also, there were several changes - Add header_message, so header_warning is still there ("‼️ This page is created automatically, all your changes will be overwritten during the next MKDocs deployment. Do not edit a page here ‼️") when you want to add a custom message - Add upstream_url, so now there is a link to the original page, if it's provided - Migrate to default python logging lib
allanger self-assigned this 2023-02-24 12:20:07 +00:00
allanger added 2 commits 2023-02-24 12:20:11 +00:00
allanger added 1 commit 2023-02-24 12:46:58 +00:00
allanger added 1 commit 2023-02-24 15:19:06 +00:00
allanger added 1 commit 2023-02-24 16:24:11 +00:00
allanger merged commit dba633cccf into main 2023-02-24 16:30:10 +00:00
allanger deleted branch plugin-should-not-break-build 2023-02-24 16:30:15 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: allanger/mkdocs-with-confluence#6
No description provided.