Skip to content

自动生成网页 #47

@ApolloZhu

Description

@ApolloZhu

现在 gh-pages 分支上的代码是之后用来展示翻译过后内容的网页:

https://apollonyan.github.io/CS193p-Developing-Apps-for-iOS-Spring-2020/

在设计上基本追求还原 官方网站 ,但不能完全一样(以免产生误会)。

不过,现在存在的主要的问题是之后更新内容需要手动修改 HTML 文件。如果有谁感兴趣的话,可以尝试编写自动生成的脚本,根据配置文件自动生成静态的 HTML 网站。

文件格式

可以考虑 YAML、JSON 或者 Swift,包含每一集的标题,简介,图片,链接

生成方式

可以考虑使用类似 https://github.com/JohnSundell/Publish,https://github.com/vapor/leaf 等框架,也可以纯 Swift(或其他语言,比如 Python 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions