rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

オープン

#3,591 opened on 2022/08/26

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (1,010 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (1,932 個のスター)
PR merge metrics
 (平均マージ 1d 17h) (30d で 123 merged PRs)

説明

The Pelican publishing script used by the Makefile command optimize-email is not picking up TWIR_NEWSLETTER_THEME setting and defaulting to a CSS style that does not match our most recent issues (e.g. 454).

Currently, the workaround for this has been to change pelicanconf.py from:

if '1' == os.environ.get('TWIR_NEWSLETTER_THEME'):
    THEME = 'themes/newsletter'
else:
    THEME = 'themes/rusted'

to:

THEME = 'themes/newsletter'

コントリビューターガイド