Skip to content

Conversation

@3w36zj6
Copy link
Member

@3w36zj6 3w36zj6 commented May 21, 2025

close https://github.com/typst-jp/typst-jp.github.io/issues/54

変更点

  • 以前の静的サイトジェネレーターに関連するファイルを削除した

備考

  • assets/ディレクトリの削除とtypst-dev-assetsへの移行はタスクの重さを考慮して別のIssue/PRで扱う

@3w36zj6 3w36zj6 requested review from Copilot and kimushun1101 May 21, 2025 17:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes all files related to the previous static site generator to streamline the repository.

  • Deleted all Jinja2 templates under templates/
  • Removed legacy static assets and scripts in static/
  • Cleared out Python generation scripts and configuration files

Reviewed Changes

Copilot reviewed 49 out of 49 changed files in this pull request and generated no comments.

Show a summary per file
File Description
templates/type_template.html.j2 Removed obsolete Jinja2 template for types
templates/symbols_template.html.j2 Removed symbols redirect template
templates/packages_template.html.j2 Removed third-party packages listing template
templates/macros.html.j2 Removed shared Jinja2 macros
templates/html_template.html.j2 Removed generic HTML content template
templates/group_template.html.j2 Removed group functions template
templates/func_template.html.j2 Removed function detail template
templates/category_template.html.j2 Removed category overview template
templates/base_template.html.j2 Removed base layout template
static/styles/custom.css Removed custom styles for alerts and text
static/scripts/analytics.js Removed legacy analytics script
static/index.html Removed root redirect to /docs/
static/google9e7795ff2fa1b8be.html Removed Google site verification file
static/assets/site.webmanifest Removed PWA manifest file
static/assets/index2ja.json Removed Japanese assets index JSON
static/assets/index2cn.json Removed Chinese assets index JSON
pyproject.toml Removed Python project configuration
gen.py Removed site generation script
.python-version Removed Python version pin file
.mise.toml Removed dependency manager configuration

Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下の手順で確認しました。

git clone -b feature/remove-legacy-website-assets git@github.com:typst-jp/typst-jp.github.io.git ~/temp/typst-jp.github.io
cd ~/temp/typst-jp.github.io
mise trust
mise run generate
mise run dev

ブラウザでいくつかのページの表示を確認。
その後、後片付け。

rm -rf ~/temp/typst-jp.github.io

@3w36zj6 3w36zj6 merged commit 989be0c into main May 21, 2025
3 checks passed
@3w36zj6 3w36zj6 deleted the feature/remove-legacy-website-assets branch May 21, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

独自の静的サイトジェネレーターを構築する

3 participants