Mercurial > p > roundup > code
diff doc/license.txt @ 7437:0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
Include as non-literal text. This removes the need to scroll to read
the license. Also makes the hyperlinks work.
Colorize the background under the included file to allow easy
identification of part of license.txt that is from COPYING.txt like we
used to have with the literal inclusion.
Had to add raw html to create a div to add the color. Using
.. container:: didn't work since indenting .. include:: caused sphinx
to throw errors on the headers in COPYING.txt.
Reformated COPYING.txt to eliminate unwanted indentation caused by
blockquote being triggered.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 29 May 2023 20:29:04 -0400 |
| parents | 8a73b0b12102 |
| children | a1bdd7823bf8 |
line wrap: on
line diff
--- a/doc/license.txt Mon May 29 20:09:40 2023 -0400 +++ b/doc/license.txt Mon May 29 20:29:04 2023 -0400 @@ -4,4 +4,12 @@ Roundup is Free Software under the following license (from the file COPYING.txt in the software distribution): +.. raw:: html + + <div class="file_insert"> + .. include:: ../COPYING.txt + +.. raw:: html + + </div>
