rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

Offen

#3.591 geöffnet am 26.08.2022

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (1.010 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (1.932 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 17h) (123 gemergte PRs in 30 T)

Beschreibung

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'

Contributor Guide