1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2024-12-05 09:26:52 +08:00

fix gitignore problem

This commit is contained in:
A.C.Sukazyo Eyre 2023-01-29 12:49:19 +08:00
parent 05f91605c7
commit 2b99426289
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
3 changed files with 36 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ composer.phar
# 忽略数据 # 忽略数据
data data
!src/Data/
# 不忽略配置文件 # 不忽略配置文件
!.htaccess !.htaccess

View File

@ -0,0 +1,25 @@
<?php
namespace SukWs\Bookshelf\Data\SiteConfig;
class ConfigName {
public const robots_txt = "site.robots";
public const highlightjs = "highlightjs";
public const highlightjs_theme = "highlightjs.theme";
public const highlightjs_lang = "highlightjs.languages";
public const codeblock_bg = "codeblock.bg-color";
public const codeblock_fg = "codeblock.fg-color";
public const codeblock_tab_size = "codeblock.tab-size";
public const regex_highlight = "regex.highlight";
public const ext_listing_rainbow = "listing.marker.rainbow";
public const ext_title_permalink_flash = "title.permalink.flash";
public const ext_rolling_title = "web-title.rolling";
public const old_title_gen = "old.title.gen";
}

View File

@ -0,0 +1,10 @@
<?php
namespace SukWs\Bookshelf\Data\SiteConfig;
enum RobotsPolicy {
case allow;
case deny;
case file;
case raw;
}