Skip to content

Commit 4db2bd0

Browse files
committed
Update documentation.
Signed-off-by: Thomas Mansencal <[email protected]>
1 parent dbbd311 commit 4db2bd0

File tree

8 files changed

+84
-61
lines changed

8 files changed

+84
-61
lines changed

README.rst

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -117,40 +117,40 @@ The **OpenColorIO Configuration for ACES** package requires various
117117
dependencies in order to run and be able to generate the *OCIO* configurations:
118118

119119
Primary Dependencies
120-
********************
120+
~~~~~~~~~~~~~~~~~~~~
121121

122-
- `python >= 3.10, < 3.14 <https://www.python.org/download/releases>`__
123-
- `opencolorio <https://pypi.org/project/opencolorio>`__
124-
- `requests <https://pypi.org/project/requests>`__
125-
- `semver <https://pypi.org/project/semver>`__
122+
- `python >= 3.10, < 3.14 <https://www.python.org/download/releases>`__
123+
- `opencolorio <https://pypi.org/project/opencolorio>`__
124+
- `requests <https://pypi.org/project/requests>`__
125+
- `semver <https://pypi.org/project/semver>`__
126126

127127
Optional Dependencies
128-
*********************
128+
~~~~~~~~~~~~~~~~~~~~~
129129

130-
- `colour-science <https://pypi.org/project/colour-science>`__
131-
- `graphviz <https://www.graphviz.org>`__
132-
- `jsonpickle <https://jsonpickle.github.io>`__
133-
- `networkx <https://pypi.org/project/networkx>`__
134-
- `pydot <https://pypi.org/project/pydot>`__
130+
- `colour-science <https://pypi.org/project/colour-science>`__
131+
- `graphviz <https://www.graphviz.org>`__
132+
- `jsonpickle <https://jsonpickle.github.io>`__
133+
- `networkx <https://pypi.org/project/networkx>`__
134+
- `pydot <https://pypi.org/project/pydot>`__
135135

136136
Docs Dependencies
137-
*****************
137+
~~~~~~~~~~~~~~~~~
138138

139-
- `pydata-sphinx-theme <https://pypi.org/project/pydata-sphinx-theme>`__
140-
- `sphinx <https://pypi.org/project/sphinx>`__
139+
- `pydata-sphinx-theme <https://pypi.org/project/pydata-sphinx-theme>`__
140+
- `sphinx <https://pypi.org/project/sphinx>`__
141141

142142
Development Dependencies
143-
************************
144-
145-
- `coverage <https://pypi.org/project/coverage>`__
146-
- `coveralls <https://pypi.org/project/coveralls>`__
147-
- `hatch <https://pypi.org/project/hatch>`__
148-
- `invoke <https://pypi.org/project/invoke>`__
149-
- `pre-commit <https://pypi.org/project/pre-commit>`__
150-
- `pyright <https://pypi.org/project/pyright>`__
151-
- `pytest <https://pypi.org/project/pytest>`__
152-
- `pytest-cov <https://pypi.org/project/pytest-cov>`__
153-
- `pytest-xdist <https://pypi.org/project/pytest-xdist>`__
143+
~~~~~~~~~~~~~~~~~~~~~~~~
144+
145+
- `coverage <https://pypi.org/project/coverage>`__
146+
- `coveralls <https://pypi.org/project/coveralls>`__
147+
- `hatch <https://pypi.org/project/hatch>`__
148+
- `invoke <https://pypi.org/project/invoke>`__
149+
- `pre-commit <https://pypi.org/project/pre-commit>`__
150+
- `pyright <https://pypi.org/project/pyright>`__
151+
- `pytest <https://pypi.org/project/pytest>`__
152+
- `pytest-cov <https://pypi.org/project/pytest-cov>`__
153+
- `pytest-xdist <https://pypi.org/project/pytest-xdist>`__
154154

155155
Components Status
156156
^^^^^^^^^^^^^^^^^

docs/conf.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
================================================================
77
"""
88

9-
import opencolorio_config_aces as package
9+
import sys
10+
from pathlib import Path
11+
12+
sys.path.append(str(Path(__file__).parent.parent))
13+
14+
import opencolorio_config_aces as package # noqa: E402
1015

1116
basename = package.__name__.replace("_", "-")
1217

@@ -23,7 +28,7 @@
2328
"sphinx.ext.mathjax",
2429
]
2530

26-
intersphinx_mapping = {"python": ("https://docs.python.org/3.8", None)}
31+
intersphinx_mapping = {"python": ("https://docs.python.org/3.13", None)}
2732

2833
autosummary_generate = True
2934

@@ -36,7 +41,7 @@
3641
master_doc = "index"
3742

3843
project = package.__application_name__
39-
copyright = package.__copyright__.replace("Copyright (C)", "") # noqa: A001
44+
copyright = package.__copyright__ # noqa: A001
4045
version = f"{package.__major_version__}.{package.__minor_version__}"
4146
release = package.__version__
4247

docs/installation.rst

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The *aces-dev* *CTL* reference graph can be plotted but it requires `Graphviz <h
3838
to be installed on the system.
3939

4040
Docker
41-
------
41+
~~~~~~
4242

4343
Installing the dependencies for the `previous config generator <https://github.com/imageworks/OpenColorIO-Configs>`__
4444
was not a trivial task. For ease of use an `aswf-docker <https://github.com/AcademySoftwareFoundation/aswf-docker>`__
@@ -59,43 +59,43 @@ Then, to run *bash* in the container::
5959
docker run -it -v ${PWD}:/home/aswf/OpenColorIO-Config-ACES aswf/opencolorio-config-aces:latest /bin/bash
6060

6161
Pypi
62-
----
62+
~~~~
6363

6464
The **OpenColorIO Configuration for ACES** package requires various
6565
dependencies in order to run and be able to generate the *OCIO* configurations:
6666

6767
Primary Dependencies
68-
********************
68+
~~~~~~~~~~~~~~~~~~~~
6969

70-
- `python >= 3.10, < 3.14 <https://www.python.org/download/releases>`__
71-
- `opencolorio <https://pypi.org/project/opencolorio>`__
72-
- `requests <https://pypi.org/project/requests>`__
73-
- `semver <https://pypi.org/project/semver>`__
70+
- `python >= 3.10, < 3.14 <https://www.python.org/download/releases>`__
71+
- `opencolorio <https://pypi.org/project/opencolorio>`__
72+
- `requests <https://pypi.org/project/requests>`__
73+
- `semver <https://pypi.org/project/semver>`__
7474

7575
Optional Dependencies
76-
*********************
76+
~~~~~~~~~~~~~~~~~~~~~
7777

78-
- `colour-science <https://pypi.org/project/colour-science>`__
79-
- `graphviz <https://www.graphviz.org>`__
80-
- `jsonpickle <https://jsonpickle.github.io>`__
81-
- `networkx <https://pypi.org/project/networkx>`__
82-
- `pydot <https://pypi.org/project/pydot>`__
78+
- `colour-science <https://pypi.org/project/colour-science>`__
79+
- `graphviz <https://www.graphviz.org>`__
80+
- `jsonpickle <https://jsonpickle.github.io>`__
81+
- `networkx <https://pypi.org/project/networkx>`__
82+
- `pydot <https://pypi.org/project/pydot>`__
8383

8484
Docs Dependencies
85-
*****************
85+
~~~~~~~~~~~~~~~~~
8686

87-
- `pydata-sphinx-theme <https://pypi.org/project/pydata-sphinx-theme>`__
88-
- `sphinx <https://pypi.org/project/sphinx>`__
87+
- `pydata-sphinx-theme <https://pypi.org/project/pydata-sphinx-theme>`__
88+
- `sphinx <https://pypi.org/project/sphinx>`__
8989

9090
Development Dependencies
91-
************************
92-
93-
- `coverage <https://pypi.org/project/coverage>`__
94-
- `coveralls <https://pypi.org/project/coveralls>`__
95-
- `hatch <https://pypi.org/project/hatch>`__
96-
- `invoke <https://pypi.org/project/invoke>`__
97-
- `pre-commit <https://pypi.org/project/pre-commit>`__
98-
- `pyright <https://pypi.org/project/pyright>`__
99-
- `pytest <https://pypi.org/project/pytest>`__
100-
- `pytest-cov <https://pypi.org/project/pytest-cov>`__
101-
- `pytest-xdist <https://pypi.org/project/pytest-xdist>`__
91+
~~~~~~~~~~~~~~~~~~~~~~~~
92+
93+
- `coverage <https://pypi.org/project/coverage>`__
94+
- `coveralls <https://pypi.org/project/coveralls>`__
95+
- `hatch <https://pypi.org/project/hatch>`__
96+
- `invoke <https://pypi.org/project/invoke>`__
97+
- `pre-commit <https://pypi.org/project/pre-commit>`__
98+
- `pyright <https://pypi.org/project/pyright>`__
99+
- `pytest <https://pypi.org/project/pytest>`__
100+
- `pytest-cov <https://pypi.org/project/pytest-cov>`__
101+
- `pytest-xdist <https://pypi.org/project/pytest-xdist>`__

docs/opencolorio_config_aces.clf.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Common LUT Format Discovery
1212
.. autosummary::
1313
:toctree: generated/
1414

15-
classify_clf_transforms
1615
discover_clf_transforms
16+
classify_clf_transforms
17+
unclassify_clf_transforms
1718
filter_clf_transforms
1819
print_clf_taxonomy
19-
unclassify_clf_transforms
2020

2121
Common LUT Format Generation
2222
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/opencolorio_config_aces.config.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Version Utilities
1616
:toctree: generated/
1717

1818
PROFILE_VERSION_DEFAULT
19-
SUPPORTED_PROFILE_VERSIONS
19+
PROFILE_VERSIONS
2020

2121
Build Configuration Utilities
2222
-----------------------------
@@ -28,9 +28,9 @@ Build Configuration Utilities
2828
.. autosummary::
2929
:toctree: generated/
3030

31-
BuildConfiguration
3231
BUILD_CONFIGURATIONS
3332
BUILD_VARIANT_FILTERERS
33+
BuildConfiguration
3434

3535
Config Generation Common Objects
3636
--------------------------------
@@ -115,7 +115,6 @@ Reference Configuration
115115
:toctree: generated/
116116

117117
DescriptionStyle
118-
version_config_mapping_file
119118
generate_config_aces
120119

121120
*ACES* Computer Graphics (CG) Config Generator
@@ -141,3 +140,13 @@ Reference Configuration
141140
:toctree: generated/
142141

143142
generate_config_studio
143+
144+
Generation Utilities
145+
~~~~~~~~~~~~~~~~~~~~
146+
147+
``opencolorio_config_aces``
148+
149+
.. autosummary::
150+
:toctree: generated/
151+
152+
BUILTIN_TRANSFORMS

docs/opencolorio_config_aces.utilities.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Common
3333
git_describe
3434
matrix_3x3_to_4x4
3535
multi_replace
36-
regularise_version
3736
validate_method
3837
google_sheet_title
3938
slugify

opencolorio_config_aces/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@
3232
)
3333
from .config import (
3434
BUILTIN_TRANSFORMS,
35+
BUILD_CONFIGURATIONS,
36+
BUILD_VARIANT_FILTERERS,
3537
ConfigData,
3638
PROFILE_VERSION_DEFAULT,
3739
PROFILE_VERSIONS,
40+
BuildConfiguration,
3841
deserialize_config_data,
3942
generate_config,
4043
serialize_config_data,
@@ -48,6 +51,7 @@
4851
discover_aces_ctl_transforms,
4952
filter_ctl_transforms,
5053
filter_nodes,
54+
generate_amf_components,
5155
node_to_ctl_transform,
5256
plot_aces_conversion_graph,
5357
print_aces_taxonomy,
@@ -87,9 +91,12 @@
8791
]
8892
__all__ += [
8993
"BUILTIN_TRANSFORMS",
94+
"BUILD_CONFIGURATIONS",
95+
"BUILD_VARIANT_FILTERERS",
9096
"ConfigData",
9197
"PROFILE_VERSION_DEFAULT",
9298
"PROFILE_VERSIONS",
99+
"BuildConfiguration",
93100
"deserialize_config_data",
94101
"generate_config",
95102
"serialize_config_data",
@@ -103,6 +110,7 @@
103110
"discover_aces_ctl_transforms",
104111
"filter_ctl_transforms",
105112
"filter_nodes",
113+
"generate_amf_components",
106114
"node_to_ctl_transform",
107115
"plot_aces_conversion_graph",
108116
"print_aces_taxonomy",

opencolorio_config_aces/config/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from .generation import (
1515
BUILTIN_TRANSFORMS,
1616
BUILD_CONFIGURATIONS,
17+
BUILD_VARIANT_FILTERERS,
1718
ConfigData,
1819
PROFILE_VERSION_DEFAULT,
1920
PROFILE_VERSIONS,
@@ -58,6 +59,7 @@
5859
__all__ += [
5960
"BUILTIN_TRANSFORMS",
6061
"BUILD_CONFIGURATIONS",
62+
"BUILD_VARIANT_FILTERERS",
6163
"ConfigData",
6264
"PROFILE_VERSION_DEFAULT",
6365
"PROFILE_VERSIONS",

0 commit comments

Comments
 (0)