Skip to content

Commit 635c03c

Browse files
authored
Doc: Split lines by punctuation (#207)
This might look weird at first, but unlike wrapping based on line length, wrapping based on punction is "stable" across edits. This is important, because we it means we can have readable diffs without drifting away from a (quasi) normal form.
1 parent 6ca92ca commit 635c03c

File tree

7 files changed

+337
-458
lines changed

7 files changed

+337
-458
lines changed

doc/about.rst

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,43 @@
1-
21
.. _about:
32

43
About Alex
54
==========
65

7-
Alex can always be obtained from its `home
8-
page <http://www.haskell.org/alex>`__. The latest source code lives in
9-
the `git repository <https://github.com/haskell/alex>`__ on ``GitHub``.
6+
Alex can always be obtained from its `home page <http://www.haskell.org/alex>`__.
7+
The latest source code lives in the `git repository <https://github.com/haskell/alex>`__ on ``GitHub``.
108

119
.. _bug-reports:
1210

1311
Reporting bugs in Alex
1412
----------------------
1513

16-
Please report bugs on the
17-
`Alex issue tracker <https://github.com/haskell/alex/issues>`__.
18-
There are no specific mailing lists for the discussion of Alex-related
19-
matters, but such topics should be fine on the `Haskell Cafe
20-
<http://www.haskell.org/mailman/listinfo/haskell-cafe>`__ mailing
21-
list.
14+
Please report bugs on the `Alex issue tracker <https://github.com/haskell/alex/issues>`__.
15+
There are no specific mailing lists for the discussion of Alex-related matters,
16+
but such topics should be fine on the `Haskell Cafe <http://www.haskell.org/mailman/listinfo/haskell-cafe>`__ mailing list.
2217

2318
License
2419
-------
2520

26-
Copyright (c) 1995-2011, Chris Dornan and Simon Marlow. All rights
27-
reserved.
21+
Copyright (c) 1995-2011, Chris Dornan and Simon Marlow.
22+
All rights reserved.
2823

29-
Redistribution and use in source and binary forms, with or without
30-
modification, are permitted provided that the following conditions are
31-
met:
24+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
3225

33-
- Redistributions of source code must retain the above copyright
34-
notice, this list of conditions and the following disclaimer.
26+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
3527

36-
- Redistributions in binary form must reproduce the above copyright
37-
notice, this list of conditions and the following disclaimer in the
28+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
3829
documentation and/or other materials provided with the distribution.
3930

40-
- Neither the name of the copyright holders, nor the names of the
41-
contributors may be used to endorse or promote products derived from
42-
this software without specific prior written permission.
43-
44-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
45-
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
46-
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
47-
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
48-
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
49-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
50-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
51-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
52-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
53-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
54-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31+
- Neither the name of the copyright holders, nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.
32+
33+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR APARTICULAR PURPOSE ARE DISCLAIMED.
34+
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5537

5638
About this documentation
5739
------------------------
5840

59-
This documentation is based on a DocBook documentation originally written by
60-
Chris Dornan, Isaac Jones, and Simon Marlow.
41+
This documentation is based on a DocBook documentation originally written by Chris Dornan, Isaac Jones, and Simon Marlow.
6142

6243
Converted to RST / Sphinx / readthedocs.org by Andreas Abel in February 2022.

0 commit comments

Comments
 (0)