Skip to content

Commit 2d6410b

Browse files
committed
use jinja only to do macro includes, fixes bug with links in included files
1 parent 6be3954 commit 2d6410b

36 files changed

+38
-42
lines changed

cpp/mkdocs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ markdown_extensions:
1212
- pymdownx.emoji
1313
- pymdownx.tabbed:
1414
alternate_style: true
15-
- markdown_include.include:
16-
base_path: source
1715

1816
extra:
1917
search:

cpp/source/structures/curve_network/color_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ polyscope::getCurveNetwork(curveNetworkName)->addEdgeColorQuantity("random color
3131
3232
RGB values are interpreted in the range `[0,1]`.
3333
34-
{!common/color_quantity.md!}
34+
[[% include 'common/color_quantity.md' %]]

cpp/source/structures/curve_network/scalar_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ polyscope::getCurveNetwork(curveNetworkName)->addNodeScalarQuantity("sample valu
3030
- `values` is the array of scalars at edges . The type should be [adaptable]([[url.prefix]]/data_adaptors) to a `float` scalar array. The length should be the number of edges in the curve network.
3131
3232
33-
{!common/scalar_quantity.md!}
33+
[[% include 'common/scalar_quantity.md' %]]

cpp/source/structures/curve_network/vector_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ polyscope::show();
3737
Note: the inner vector type of the input _must_ be 3D dimensional, or you risk compiler errors, segfaults, or worse. If you want to add 2D vectors (usually to a 2D curve network), `addEdgeVectorQuantity2D` exists with the same signature. See [2D data]([[url.prefix]]/features/2D_data).
3838
3939
40-
{!common/vector_quantity.md!}
40+
[[% include 'common/vector_quantity.md' %]]

cpp/source/structures/floating_quantities/images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ These can be called at the root level, like `polyscope::addScalarImageQuantity()
104104
- `imageOrigin` is the row origin convention, see above
105105
- `type` is the scalar datatype as for other scalar quantities
106106
107-
{!common/scalar_quantity.md!}
107+
[[% include 'common/scalar_quantity.md' %]]
108108
109109
---
110110
## Color Image Quantity
@@ -133,7 +133,7 @@ These can be called at the root level, like `polyscope::addColorImageQuantity()`
133133
134134
By default, alpha values are interpreted to be non-premultiplied. Use `colorAlphaImage->setIsPremultiplied(true);` to directly pass premultiplied alpha images.
135135
136-
{!common/color_quantity.md!}
136+
[[% include 'common/color_quantity.md' %]]
137137
138138
139139
---

cpp/source/structures/floating_quantities/render_images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ This can be called at the root level, like `polyscope::addColorRenderImageQuanti
109109

110110
RGB values are interpreted in the range `[0,1]`.
111111

112-
{!common/color_quantity.md!}
112+
[[% include 'common/color_quantity.md' %]]
113113

114114
---
115115
## Scalar Render Image Quantity
@@ -147,7 +147,7 @@ This can be called at the root level, like `polyscope::addScalarRenderImageQuant
147147
148148
Depth values should be radial ray distance from the camera origin, _not_ perpendicular distance from the image plane.
149149
150-
{!common/scalar_quantity.md!}
150+
[[% include 'common/scalar_quantity.md' %]]
151151
152152
---
153153
## Raw Color Render Image Quantity

cpp/source/structures/point_cloud/color_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ polyscope::getPointCloud(pointCloudName)->addColorQuantity("random color", randC
2222
RGB values are interpreted in the range `[0,1]`.
2323
2424
25-
{!common/color_quantity.md!}
25+
[[% include 'common/color_quantity.md' %]]

cpp/source/structures/point_cloud/parameterization_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Typically parameterizations are used on meshes (which is also supported in Polys
2525
- `type` the default interpretation of the coordinate scale, see below
2626

2727

28-
{!common/parameterization_quantity.md!}
28+
[[% include 'common/parameterization_quantity.md' %]]

cpp/source/structures/point_cloud/scalar_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ polyscope::getPointCloud(pointCloudName)->addScalarQuantity("xC", xC);
2020
- `values` is the array of scalars at points. The type should be [adaptable]([[url.prefix]]/data_adaptors) to a `float` scalar array. The length should be the number of points in the point cloud.
2121
2222
23-
{!common/scalar_quantity.md!}
23+
[[% include 'common/scalar_quantity.md' %]]

cpp/source/structures/point_cloud/vector_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Visualize vector-valued data at the points of a point cloud.
99

1010
Note: the inner vector type of the input _must_ be 3D dimensional, or you risk compiler errors, segfaults, or worse. If you want to add 2D vectors (usually to a 2D point cloud), `addVectorQuantity2D` exists with the same signature. See [2D data]([[url.prefix]]/features/2D_data).
1111

12-
{!common/vector_quantity.md!}
12+
[[% include 'common/vector_quantity.md' %]]

0 commit comments

Comments
 (0)