Changeset 2072:113850abd1ef


Ignore:
Timestamp:
Jul 10, 2021, 11:28:01 PM (5 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Use `rst2html` "plain" stylesheet

This results in a nicer design than with the default CSS I used so
far.

There's a (probably small) risk that `plain.css` isn't present on the
computer of a user who wants to re-create the documentation, but then
you could say the same for any other software artifacts. In other
words, the user must make sure that `rst2html` is installed, including
`plain.css`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r2062 r2072  
    1616
    1717DOC_DIR=${PROJECT_DIR}/doc
    18 STYLESHEET_PATH=${DOC_DIR}/default.css
     18STYLESHEET_PATH=plain.css
    1919DOC_SOURCES=$(subst d/,${DOC_DIR}/, d/ftputil.txt \
    2020                          d/whats_new_in_ftputil_3.0.txt \
     
    2828PYTHONPATH=${PROJECT_DIR}:${TEST_DIR}
    2929
    30 # TODO: Some platforms call that script rst2html.py - allow both.
    3130RST2HTML=rst2html
    3231
     
    6564
    6665%.html: %.txt
    67         ${RST2HTML} --stylesheet-path=${STYLESHEET_PATH} --embed-stylesheet $< $@
     66        ${RST2HTML} --stylesheet=${STYLESHEET_PATH} --embed-stylesheet $< $@
    6867
    6968# Quality assurance
Note: See TracChangeset for help on using the changeset viewer.