Allow `perseus` files on the `document` preset

オープン 初心者向け
#261 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, python
領域
backend

調査の方向性

ドキュメントプリセットの仕様と、allowed_formats を定義する生成済みの Python および JavaScript 定数を見つけます。それぞれに perseus を追加し、プロジェクトの生成または検証ワークフローを確認して、定数が仕様と一致することを確かめます。プリセットが pdf と perseus の両方を受け入れ、変更が le-utils のリリースに含まれたら完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Kolibri will show Khan Academy articles as document nodes that carry a .perseus file (learningequality/kolibri#15937). The document preset only allows pdf, so Studio and ricecooker reject that file. The document preset should allow perseus too.

Complexity: Low
Target branch: main

Acceptance Criteria
  • The document preset's allowed_formats includes perseus, in the preset spec and in the generated Python and JavaScript constants.
  • A le-utils release includes the change.

AI usage

I chose to reuse the document preset rather than add a new one. Claude Code checked the preset's allowed formats and drafted the issue with me.

主要言語
Python
スター
7
フォーク
38
平均マージ
1日 3時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

learningequality/le-utils のほかの issue

learningequality/le-utils の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。