Skip to content

Commit 3dfd871

Browse files
committed
src/*/README.md: Edit tweaks
- These READMEs need to be easy to read in the console, or in whatever IDE the user is working in, which may not wrap lines, and at word boundaries. Thus, keep lines to max line length (using 100 here) - Fixed book links to refer to both the local clone or the official web site. When browsing from the GitHub repo view, this will show the HTML source. Locally, both links should launch the rendered form in browser. - Fixed Implementations in Other Languages links from old `InOneWeekend` repo to the new wiki location in `raytracing.github.io`. - Fixed `main.cc` link to use relative reference, rather than pointing to the tip of the master branch online (local clones should remain internally consistent). - Removed unused link refs in the footer. - General wording edits.
1 parent 0a55da0 commit 3dfd871

File tree

3 files changed

+78
-38
lines changed

3 files changed

+78
-38
lines changed

src/InOneWeekend/README.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,46 @@ Ray Tracing in One Weekend - Source
33

44
Content
55
--------
6-
This folder ([InOneWeekend][]) contains the finished code of the [_Ray Tracing in One Weekend_][] book.
6+
This folder contains the finished code for _Ray Tracing in One Weekend_ ([local][] / [online][]).
7+
78

89
Intent
910
-------
10-
This folder is not meant to act as it's own tutorial. The source presented here is provided so that you can compare your work when going along with the book. We strongly recommend reading and following along with the book if you want to understand the source.
11+
This folder is not meant to act as its own tutorial. The source presented here is provided so you
12+
can compare your work when progressing through the book. We strongly recommend reading and following
13+
along with the book to understand the source.
14+
1115

1216
Programming Language
1317
---------------------
14-
This book is written in c++ with some modern features of c++11. The code as written is designed to be readable by the largest collection of potential programmers. The code is not meant to illustrate idealized c++ code.
18+
This book is written in C++, and uses some modern features of C++11. The language and features were
19+
chosen to be broadly understood by the largest collection of programmers. It is not meant to
20+
represent ideal C++ code.
21+
1522

1623
Building
1724
---------
18-
No mechanism for building is included with this project.
25+
As the source is intended for illustration & comparison only, it does not include any mechanism for
26+
building a final program. As far as possible, the code is privately tested on multiple platforms to
27+
ensure that it is generally usable on any OS (primarily Windows, OSX, and Linux), compiler, or build
28+
environment.
1929

20-
The _Ray Tracing in One Weekend_ series has a long history of being written in other programming languages ([Implementations in Other Languages][]) and across all three primary operating systems.
30+
It is therefore necessary for you to create your own build tooling. However, the source begins as a
31+
single main file, and uses only a small collection of additional header files.
2132

22-
It is necessary for you to create your own build tooling. However, the source begins as a single main file and builds to only a small collection of additional header files.
33+
The _Ray Tracing in One Weekend_ series has a long history of implementations in other programming
34+
languages (see [_Implementations in Other Languages_][implementations]), and across all three
35+
primary operating systems. Feel free to add your own implementation to the list!
2336

24-
The c++ code as written should compile across all three platforms (Win, OSX, Linux).
2537

2638
Corrections & Contributions
2739
----------------------------
2840
If you spot errors, have suggested corrections, or would like to help out with the project, please
29-
review the [CONTRIBUTING][] document for the most effective way to proceed.
41+
review the [CONTRIBUTING][] guidelines for the most effective way to proceed.
3042

3143

3244

33-
[InOneWeekend]: https://github.com/RayTracing/raytracing.github.io/tree/master/src/InOneWeekend
34-
[_Ray Tracing in One Weekend_]: https://github.com/RayTracing/raytracing.github.io/tree/master/books/RayTracingInOneWeekend.html
35-
[Implementations in Other Languages]: https://github.com/RayTracing/InOneWeekend/wiki/Implementations-in-Other-Languages
36-
[CONTRIBUTING]: ../../CONTRIBUTING.md
45+
[online]: https://raytracing.github.com/books/RayTracingInOneWeekend.html
46+
[local]: ../../books/RayTracingInOneWeekend.html
47+
[implementations]: https://github.com/RayTracing/raytracing.github.io/wiki/Implementations-in-Other-Languages
48+
[CONTRIBUTING]: ../../CONTRIBUTING.md

src/TheNextWeek/README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,52 @@ Ray Tracing: The Next Week - Source
33

44
Content
55
--------
6-
This folder ([TheNextWeek][]) contains the finished code of the [_Ray Tracing: The Next Week_][] book.
6+
This folder contains the finished code for _Ray Tracing: The Next Week_ ([local][] / [online][]).
7+
8+
Every chapter of the book acts as its own mini tutorial, and each chapter is largely independent of
9+
other chapters. Every chapter ends with an example render, and in the source, [main.cc][] contains a
10+
render function specific to each chapter. The source presented here represents the simplest superset
11+
of the code from all chapters.
712

8-
Every chapter of [_Ray Tracing: The Next Week_][] acts as it's own mini tutorial, and each chapter is largely independent of other chapters. Every chapter ends with an example render, and in the source, the [main.cc][] contains a render function specific to each chapter. The source presented here represents the simplest superset of the code from all chapters.
913

1014
Intent
1115
-------
12-
This folder is not meant to act as it's own tutorial. The source presented here is provided so that you can compare your work when going along with the book. We strongly recommend reading and following along with the book if you want to understand the source.
16+
This folder is not meant to act as its own tutorial. The source presented here is provided so you
17+
can compare your work when progressing through the book. We strongly recommend reading and following
18+
along with the book to understand the source.
19+
1320

1421
Programming Language
1522
---------------------
16-
This book is written in c++ with some modern features of c++11. The code as written is designed to be readable by the largest collection of potential programmers. The code is not meant to illustrate idealized c++ code.
23+
This book is written in C++, and uses some modern features of C++11. The language and features were
24+
chosen to be broadly understood by the largest collection of programmers. It is not meant to
25+
represent ideal C++ code.
26+
1727

1828
Building
1929
---------
20-
No mechanism for building is included with this project.
30+
As the source is intended for illustration & comparison only, it does not include any mechanism for
31+
building a final program. As far as possible, the code is privately tested on multiple platforms to
32+
ensure that it is generally usable on any OS (primarily Windows, OSX, and Linux), compiler, or build
33+
environment.
2134

22-
The _Ray Tracing in One Weekend_ series has a long history of being written in other programming languages ([Implementations in Other Languages][]) and across all three primary operating systems.
35+
It is therefore necessary for you to create your own build tooling. However, the source begins as a
36+
single main file, and uses only a small collection of additional header files.
2337

24-
It is necessary for you to create your own build tooling. However, the source begins as a single main file and builds to only a small collection of additional header files.
38+
The _Ray Tracing in One Weekend_ series has a long history of implementations in other programming
39+
languages (see [_Implementations in Other Languages_][implementations]), and across all three
40+
primary operating systems. Feel free to add your own implementation to the list!
2541

26-
The c++ code as written should compile across all three platforms (Win, OSX, Linux).
2742

2843
Corrections & Contributions
2944
----------------------------
3045
If you spot errors, have suggested corrections, or would like to help out with the project, please
31-
review the [CONTRIBUTING][] document for the most effective way to proceed.
46+
review the [CONTRIBUTING][] guidelines for the most effective way to proceed.
3247

3348

3449

35-
[TheNextWeek]: https://github.com/RayTracing/raytracing.github.io/tree/master/src/TheNextWeek
36-
[_Ray Tracing: The Next Week_]: https://github.com/RayTracing/raytracing.github.io/tree/master/books/RayTracingTheNextWeek.html
37-
[main.cc]: https://github.com/RayTracing/raytracing.github.io/tree/master/src/TheNextWeek/main.cc
38-
[Implementations in Other Languages]: https://github.com/RayTracing/InOneWeekend/wiki/Implementations-in-Other-Languages
39-
[CONTRIBUTING]: ../../CONTRIBUTING.md
50+
[online]: https://raytracing.github.com/books/RayTracingTheNextWeek.html
51+
[local]: ../../books/RayTracingTheNextWeek.html
52+
[main.cc]: ./main.cc
53+
[implementations]: https://github.com/RayTracing/raytracing.github.io/wiki/Implementations-in-Other-Languages
54+
[CONTRIBUTING]: ../../CONTRIBUTING.md

src/TheRestOfYourLife/README.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,47 @@ Ray Tracing: The Rest Of Your Life - Source
33

44
Content
55
--------
6-
This folder ([TheRestOfYourLife][]) contains the finished code of the [_Ray Tracing: The Rest Of Your Life_][] book.
6+
This folder contains the finished code for _Ray Tracing: The Rest Of Your Life_ ([local][] /
7+
[online][]).
8+
79

810
Intent
911
-------
10-
This folder is not meant to act as it's own tutorial. The source presented here is provided so that you can compare your work when going along with the book. We strongly recommend reading and following along with the book if you want to understand the source.
12+
This folder is not meant to act as its own tutorial. The source presented here is provided so you
13+
can compare your work when progressing through the book. We strongly recommend reading and following
14+
along with the book to understand the source.
15+
1116

1217
Programming Language
1318
---------------------
14-
This book is written in c++ with some modern features of c++11. The code as written is designed to be readable by the largest collection of potential programmers. The code is not meant to illustrate idealized c++ code.
19+
This book is written in C++, and uses some modern features of C++11. The language and features were
20+
chosen to be broadly understood by the largest collection of programmers. It is not meant to
21+
represent ideal C++ code.
22+
1523

1624
Building
1725
---------
18-
No mechanism for building is included with this project.
26+
As the source is intended for illustration & comparison only, it does not include any mechanism for
27+
building a final program. As far as possible, the code is privately tested on multiple platforms to
28+
ensure that it is generally usable on any OS (primarily Windows, OSX, and Linux), compiler, or build
29+
environment.
1930

20-
The _Ray Tracing in One Weekend_ series has a long history of being written in other programming languages ([Implementations in Other Languages][]) and across all three primary operating systems.
31+
It is therefore necessary for you to create your own build tooling. However, the source begins as a
32+
single main file, and uses only a small collection of additional header files.
2133

22-
It is necessary for you to create your own build tooling. However, the source begins as a single main file and builds to only a small collection of additional header files.
34+
The _Ray Tracing in One Weekend_ series has a long history of implementations in other programming
35+
languages (see [_Implementations in Other Languages_][implementations]), and across all three
36+
primary operating systems. Feel free to add your own implementation to the list!
2337

24-
The c++ code as written should compile across all three platforms (Win, OSX, Linux).
2538

2639
Corrections & Contributions
2740
----------------------------
2841
If you spot errors, have suggested corrections, or would like to help out with the project, please
29-
review the [CONTRIBUTING][] document for the most effective way to proceed.
42+
review the [CONTRIBUTING][] guidelines for the most effective way to proceed.
3043

3144

3245

33-
[TheRestOfYourLife]: https://github.com/RayTracing/raytracing.github.io/tree/master/src/TheRestOfYourLife
34-
[_Ray Tracing: The Next Week_]: https://github.com/RayTracing/raytracing.github.io/tree/master/books/RayTracingTheRestOfYourLife.html
35-
[Implementations in Other Languages]: https://github.com/RayTracing/InOneWeekend/wiki/Implementations-in-Other-Languages
36-
[CONTRIBUTING]: ../../CONTRIBUTING.md
46+
[online]: https://raytracing.github.com/books/RayTracingTheRestOfYourLife.html
47+
[local]: ../../books/RayTracingTheRestOfYourLife.html
48+
[implementations]: https://github.com/RayTracing/raytracing.github.io/wiki/Implementations-in-Other-Languages
49+
[CONTRIBUTING]: ../../CONTRIBUTING.md

0 commit comments

Comments
 (0)