Skip to content

Commit 97ce876

Browse files
committed
Rename paper/ directory to papers/
This complies with the [directory.papers] Beman Standard rule.
1 parent eefc2c5 commit 97ce876

40 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ repos:
2121
hooks:
2222
- id: codespell
2323

24-
exclude: 'paper/'
24+
exclude: 'papers/'

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ if(BEMAN_UTF_VIEW_BUILD_EXAMPLES)
5353
endif()
5454

5555
if(BEMAN_UTF_VIEW_BUILD_PAPER)
56-
add_subdirectory(paper)
56+
add_subdirectory(papers)
5757
endif()

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ beman.utf_view is based on P2728 and P3705.
337337
- The latest official revision of P2728 can be found at https://wg21.link/p2728
338338
- The latest official revision of P3705 can be found at https://wg21.link/p3705
339339
- The unofficial latest draft Markdown source for each paper can be found in this repository:
340-
- At [paper/P2828.md](https://github.com/bemanproject/utf_view/blob/main/paper/P2728.md)
341-
- At [paper/P3705.md](https://github.com/bemanproject/utf_view/blob/main/paper/P3705.md)
340+
- At [papers/P2828.md](https://github.com/bemanproject/utf_view/blob/main/papers/P2728.md)
341+
- At [papers/P3705.md](https://github.com/bemanproject/utf_view/blob/main/papers/P3705.md)
342342
- P2728's committee status page can be found at https://github.com/cplusplus/papers/issues/1422
343343

344344
## Authors

paper/P2728.md renamed to papers/P2728.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ as a sequence of 32-bit unsigned integers. The building blocks of an encoding
4646
are _code units_, and UTF-32 has the most direct mapping between code points
4747
and code units.
4848
49-
![](../../paper/images/utf32.png){ width=400px }
49+
![](../../papers/images/utf32.png){ width=400px }
5050
5151
Any values greater than `0x10FFFF` are rejected by validators for being
5252
outside the range of valid Unicode.
@@ -56,9 +56,9 @@ codespace used to top out at `0xFFFF`. Code points outside this range are
5656
represented using _surrogates_, a reserved area in codespace which allows
5757
combining the low 10 bits of two code units to form a single code point.
5858
59-
![](../../paper/images/utf16.png){ width=400px }
59+
![](../../papers/images/utf16.png){ width=400px }
6060
61-
![](../../paper/images/utf16_2.png){ width=300px }
61+
![](../../papers/images/utf16_2.png){ width=300px }
6262
6363
UTF-16 is rendered invalid by improper use of surrogates: a high surrogate not
6464
followed by a low surrogate or a low surrogate not preceded by a high
@@ -72,9 +72,9 @@ code unit is either a start byte, which describes how long the subsequence is
7272
(two to four bytes long), or a continuation byte, which fills out the
7373
subsequence with the remaining data.
7474
75-
![](../../paper/images/utf8.png){ width=750px }
75+
![](../../papers/images/utf8.png){ width=750px }
7676
77-
![](../../paper/images/utf8_2.png){ width=400px }
77+
![](../../papers/images/utf8_2.png){ width=400px }
7878
7979
UTF-8 code unit sequences can be invalid for many reasons, such as a start
8080
byte not followed by the correct number of continuation bytes, or a UTF-8
@@ -216,7 +216,7 @@ underlying view. `operator*` provides the current element of the buffer.
216216
Below is an approximate block diagram of the iterator. Bold lines denote
217217
actual data members of the iterator; dashed lines are just function calls.
218218
219-
![](../../paper/images/iterator.png){ width=500px }
219+
![](../../papers/images/iterator.png){ width=500px }
220220
221221
The `to_utf_view::@*iterator*@` is converting the string `Qϕ学𡪇`
222222
from UTF-8 to UTF-16. The user has iterated the view to the first UTF-16 code
@@ -284,7 +284,7 @@ The table below compares the error handling behavior of the `to_utf16` and
284284
"Substitution of Maximal Subparts" section of the Unicode standard:
285285
[@SubstitutionExamples]
286286
287-
![](../../paper/images/error_handling.png){ width=750px }
287+
![](../../papers/images/error_handling.png){ width=750px }
288288
289289
## Code Unit Views
290290
File renamed without changes.

0 commit comments

Comments
 (0)