Skip to content

Commit 71ad6e8

Browse files
committed
docs: correctly refer to the readthedocs page for current docs (#2104)
I found some places that still referred to the old PDF document in the repo, but we haven't used that for a while and no longer build it. Also remove some chunks of the Makefile that used to be responsible for building the LaTeX docs, since those don't even exist in the repo any more. Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent bf02bb4 commit 71ad6e8

File tree

2 files changed

+7
-41
lines changed

2 files changed

+7
-41
lines changed

README.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -479,21 +479,8 @@ how to build and install OSL.
479479
Documentation
480480
-------------
481481

482-
The OSL language specification can be found at
483-
[src/doc/osl-languagespec.pdf](src/doc/osl-languagespec.pdf) (in a source
484-
distribution) or in the share/doc/OSL/osl-languagespec.pdf file of an
485-
installed binary distribution.
486-
487-
[OSL Documentation on ReadTheDocs](https://docs.openshadinglanguage.org)
488-
This will be the future documentation. It's probably as complete as the PDF,
489-
but it needs some proofreading, so the PDF is still considered the
490-
authoritative source for now. But some time soon, the old PDF specification
491-
will be deprecated in favor of
492-
this online documentation.
493-
<!-- is the best place to start if you are interested in how to use OSL,
494-
its APIs. -->
495-
There is also a [PDF
496-
version](https://readthedocs.org/projects/open-shading-language/downloads/pdf/latest/).
482+
The OSL language specification can be found at [OSL Documentation on ReadTheDocs](https://docs.openshadinglanguage.org)
483+
There is also a [PDF version](https://readthedocs.org/projects/open-shading-language/downloads/pdf/stable/).
497484

498485
For those interested in learning to program OSL shaders there is the
499486
[Siggraph 2024 Course](https://dl.acm.org/doi/proceedings/10.1145/3664475),
@@ -544,16 +531,14 @@ Contacts, Links, and References
544531

545532
[OSL GitHub page](https://github.com/AcademySoftwareFoundation/OpenShadingLanguage)
546533

547-
[Read or subscribe to the OSL development mail list](https://lists.aswf.io/g/osl-dev)
534+
[OSL Documentation on ReadTheDocs](https://docs.openshadinglanguage.org)
548535

549-
[Most recent PDF of the OSL language specification](https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/blob/main/src/doc/osl-languagespec.pdf
550-
)
536+
[Read or subscribe to the OSL development mail list](https://lists.aswf.io/g/osl-dev)
551537

552538
[OSL home page](http://openshadinglanguage.org)
553539

554540

555541

556-
557542
Credits
558543
-------
559544

src/doc/Makefile

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,12 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
44

5-
PDFLATEX_FLAGS = -interaction=errorstopmode ### "--shell-escape"
65

6+
# by default, make the sphinx documentation
7+
all: doxygen sphinx
78

8-
# by default, just make the document
9-
all: languagespec.pdf
109

11-
12-
# document making rule: use pdflatex
13-
languagespec.pdf: *.tex Figures/*.pdf Figures/*png
14-
pdflatex ${PDFLATEX_FLAGS} languagespec.tex
15-
16-
17-
18-
# special command 'make index' to regenerate the index
19-
index: languagespec_index
20-
21-
languagespec_index:
22-
pdflatex ${PDFLATEX_FLAGS} languagespec.tex
23-
makeindex languagespec
24-
pdflatex ${PDFLATEX_FLAGS} languagespec.tex languagespec.aux macros.aux
25-
pdflatex ${PDFLATEX_FLAGS} languagespec.tex languagespec.aux macros.aux languagespec.toc
26-
27-
clean:
28-
rm -f languagespec.aux languagespec.idx languagespec.ilg languagespec.ind languagespec.log
29-
rm -f languagespec.out languagespec.pdf languagespec.toc macros.aux
10+
clean: doxygenclean
3011

3112
.PHONY: clean
3213

0 commit comments

Comments
 (0)