Epub Table of Generation fixes for Sigil (#1689)
* Fixed generating table of contents where key lookup could fail with how Sigil packs the epubs. * Tweaked Kavita's fallback ToC generation (when one doesn't exist in the epub) to also use CoalesceKey. * Code smells
This commit is contained in:
parent
fcd9f8f118
commit
ebbaf2d060
13 changed files with 27 additions and 71 deletions
|
@ -3,6 +3,9 @@ using System.ComponentModel;
|
|||
|
||||
namespace API.Entities.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// 15 is blocked as it was EnableSwaggerUi, which is no longer used
|
||||
/// </summary>
|
||||
public enum ServerSettingKey
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -83,12 +86,6 @@ public enum ServerSettingKey
|
|||
[Description("ConvertBookmarkToWebP")]
|
||||
ConvertBookmarkToWebP = 14,
|
||||
/// <summary>
|
||||
/// If the Swagger UI Should be exposed. Does not require authentication, but does require a JWT.
|
||||
/// </summary>
|
||||
[Description("EnableSwaggerUi")]
|
||||
[Obsolete("Being removed in v0.7 in favor of dedicated hosted api")]
|
||||
EnableSwaggerUi = 15,
|
||||
/// <summary>
|
||||
/// Total Number of Backups to maintain before cleaning. Default 30, min 1.
|
||||
/// </summary>
|
||||
[Description("TotalBackups")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue