diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fdddb29 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/README.md b/README.md index db3f88c..d3ca09a 100644 --- a/README.md +++ b/README.md @@ -1 +1,33 @@ -# ph-Bookshelf \ No newline at end of file +# ph-Bookshelf + +一个基于 Gitbook 的简单的多 book 实现。 + +因为 web 相关的东西 Sukazyo 最熟悉的就是 php 了所以就用 php 写的。 +但是写出来的代码还是十分离谱的不易读的:各种调用交错在一起,前后端也交错在一起 + +而且也并不好用,不好用到几乎没办法写教程...那种...至少现在如此。 + +有时间的话会补充的(en + +
+ +### 安装 + +下载/clone此仓库的内容,然后拖进 php 站点根目录。 + +对于 Apache(即 .htaccess 支持的 php 环境),可以直接运行。 + +对于 Nginx 或者别的之类的 php 环境,需要转换一下伪静态配置,以 .htaccess 文件内的内容为依据即可。 + +
+ +### 使用 + +未来可能会拖出来一个示例之类的... + +
+ +### 开源许可 + +本软件的代码(因为写得真的不好所以)开源于公共领域,
+(但显然 Gitbook (/assets/gitbook/*) 中的内容还是受限于 Apache 2.0 的)