GithubHelp home page GithubHelp logo

baka632 / aneot-vintage Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 66.47 MB

Another End of Terra (AnEoT) for Vintage Devices

Home Page: https://baka632.github.io/aneot-vintage/

C# 78.39% SCSS 2.03% HTML 12.90% CSS 1.77% JavaScript 4.91%

aneot-vintage's Introduction

English | 原仓库

回归线 - 简易版

《明日方舟》同人文学期刊《回归线》,现在为旧式设备重新设计。

请注意,这是一个非官方项目。

构建指引

  • 克隆本仓库

  • 确保 .NET 8 SDK 安装在您的电脑上

  • src 文件夹中运行 dotnet run 命令

请尽情地阅读吧。

关于静态网站...

如果您想生成静态网站所需的文件,请在运行 dotnet run 命令时添加 -- static-only 参数。

默认情况下,静态网站所需的文件将在 src/StaticWebSite 文件夹中生成。

若要改变生成位置,请使用下面的方法(按优先级排序)

  • 使用 命令行参数dotnet run --StaticWebSiteOutputPath "YOUR PATH" -- static-only

  • 设置名为 StaticWebSiteOutputPath环境变量 :既可在 launchSettings.json 中设置,也可在命令行界面中配置。

  • appsettings.json 中添加名为 StaticWebSiteOutputPath 的键值对

{
   ......
   "StaticWebSiteOutputPath": "YOUR PATH"
   ......
}

关于旧式设备的 WebP 图像支持...

大多数旧式设备不支持 WebP 图像,因此在这些设备中无法显示它们。

为了解决这个问题,我们可以将 WebP 图像动态转换为JPEG图像,但由于性能原因,我们默认禁用此功能。

要启用此功能,请使用下面的方法(按优先级排序)

  • 使用 命令行参数dotnet run --ConvertWebP true

  • 设置名为 ConvertWebP环境变量: 既可在 launchSettings.json 中设置,也可在命令行界面中配置。

  • appsettings.json 中添加名为 ConvertWebP 的键值对

{
   ......
   "ConvertWebP": true
   ......
}

此设置将影响静态网站生成。

关于我们

如果网页中有任何问题,或者您有任何意见,欢迎打开一个新的 Issue。

关于版权

请参阅原仓库的 README

以下内容翻译自原仓库,仅供参考,请以原仓库的 README 为准。


我们仅授予您按原样保存和共享的权利。同时,您必须遵守以下要求:

署名 — 您必须给出适当的署名,同时标明是否对原始作品作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书。

非商业性使用 — 您不得将材料用于商业目的。

禁止演绎 — 如果您再混合、转换、或者基于该作品创作,您不可以分发修改作品。

禁止用于模型训练 — 本刊所有内容不得用于人工智能生成模型训练,包括但不限于个人、科研、教学和商业化应用。

我们保留所有未授予您的权利,如果您违反上述要求,我们将撤回授予您的所有权利。

Copyright © 2022-2024 All Rights Reserved

aneot-vintage's People

Contributors

baka632 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wuyilingwei

aneot-vintage's Issues

关于一些改进组件的问题

你可以删除forceflash的组件和相关的页面引用,这个功能是为了刷新缓存尽快获取更新而设计的。
/forceflash.html
仅在/forceflash.html和主页有使用

Feed 无法使用

以下指向 Feed 的链接无法使用:

  • /rss.xml
  • /atom.xml
  • /rss_full.xml
  • /atom_full.xml

[静态网页]关于“期刊列表”的一些问题

在“期刊列表”页中,“在线阅读”与“前往下载页面”的链接后缀名为“.md”

在 ASP.NET MVC 版本的网站中,这样做没有问题,因为 Markdown 中间件自动拦截请求并显示渲染后的页面。

但是,在静态网页中,由于不存在 Markdown 中间件,因此上述的链接无法正常导航到需要的页面。

由于本项目的原则是不修改原《回归线》仓库的文件内容,因此不能更改 Markdown 中的链接来解决问题。

而生成静态网页的库 AspNetStatic 并没有提供介入生成过程并修改网页 Uri 的方式。

所以,目前无法解决此问题。

此 Issue 用以跟踪此问题的解决进度,并防止此问题被忽略。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.