From f0a86ad8eac0e8defb6b4a0cf8dc7bc2a342ea2b Mon Sep 17 00:00:00 2001 From: Ingmar Schoegl Date: Sat, 23 Aug 2025 13:51:38 -0500 Subject: [PATCH 1/4] Update snake_case Python sample redirects --- mod_rewrite/.htaccess | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mod_rewrite/.htaccess b/mod_rewrite/.htaccess index 42970675..0fb7c332 100644 --- a/mod_rewrite/.htaccess +++ b/mod_rewrite/.htaccess @@ -115,9 +115,9 @@ RewriteRule "^examples/jupyter/input/ck2yaml_demo.ipynb.html" "stable/userguide/ RewriteRule "^examples/jupyter/reactors/1D_packbed.ipynb.html" "stable/examples/python/reactors/1D_packed_bed.html" [R=permanent,L] RewriteRule "^examples/jupyter/reactors/1D_pfr_surfchem.ipynb.html" "stable/examples/python/reactors/1D_pfr_surfchem.html" [R=permanent,L] -RewriteRule "^examples/jupyter/reactors/batch_reactor_ignition_delay_NTC.ipynb.html" "stable/examples/python/reactors/NonIdealShockTube.html" [R=permanent,L] +RewriteRule "^examples/jupyter/reactors/batch_reactor_ignition_delay_NTC.ipynb.html" "stable/examples/python/reactors/non_ideal_shock_tube.html" [R=permanent,L] RewriteRule "^examples/jupyter/reactors/interactive_path_diagram.ipynb.html" "stable/examples/python/kinetics/interactive_path_diagram.html" [R=permanent,L] -RewriteRule "^examples/jupyter/reactors/nonideal_shock_tube.ipynb.html" "stable/examples/python/reactors/NonIdealShockTube.html" [R=permanent,L] +RewriteRule "^examples/jupyter/reactors/nonideal_shock_tube.ipynb.html" "stable/examples/python/reactors/non_ideal_shock_tube.html" [R=permanent,L] RewriteRule "^examples/jupyter/reactors/stirred_reactor.ipynb.html" "stable/examples/python/reactors/continuous_reactor.html" [R=permanent,L] RewriteRule "^examples/jupyter/thermo/equations_of_state.ipynb.html" "stable/examples/python/thermo/equations_of_state.html" [R=permanent,L] @@ -125,6 +125,10 @@ RewriteRule "^examples/jupyter/thermo/flame_temperature.ipynb.html" "stable/user RewriteRule "^examples/jupyter/thermo/heating_value.ipynb.html" "stable/userguide/heating-value.html" [R=permanent,L] RewriteRule "^examples/jupyter.*" "stable/examples/python/index.html" [R=permanent,L] +# Redirect from CamelCase to snake_case examples +RewriteRule "^stable/examples/python/reactors/NonIdealShockTube.html$" "stable/examples/python/reactors/non_ideal_shock_tube.html" [R=permanent,L] +RewriteRule "^stable/examples/python/reactors/PorousMediaBurner.html$" "stable/examples/python/reactors/porous_media_burner.html" [R=permanent,L] + # Someday, these MATLAB rules will be updated to point to a non-experimental version of the toolbox RewriteRule "^examples/matlab/surfreactor\.m\.html" "stable/examples/matlab_experimental/surf_reactor.html" [R,L] RewriteRule "^examples/matlab/diffflame\.m\.html" "stable/examples/matlab_experimental/diff_flame.html" [R,L] From 9d66114a772e815e33fafe2839eea9e48ac153b2 Mon Sep 17 00:00:00 2001 From: Ingmar Schoegl Date: Sat, 23 Aug 2025 21:06:12 -0500 Subject: [PATCH 2/4] Add StanShock to affiliated projects --- source/affiliated.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/affiliated.md b/source/affiliated.md index 765f33a7..02d0d29c 100644 --- a/source/affiliated.md +++ b/source/affiliated.md @@ -169,4 +169,13 @@ explosions using realistic thermochemistry and detailed chemical kinetics. Maintainer(s): Joseph E. Shepherd ::: +:::{grid-item-card} StanShock +StanShock is a quasi-1D gas dynamics solver designed to model shock tube experiments +and, more recently, scramjet engines. + +[Website](https://github.com/IhmeGroup/StanShock) + +Maintainer(s): Matthias Ihme +::: + :::: From 3c3c9406b9599d1838b97cf0298122ded517100c Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 29 Aug 2025 17:42:32 +0000 Subject: [PATCH 3/4] Update snake_case redirects for version switcher --- mod_rewrite/.htaccess | 6 ++++-- mod_rewrite/2.4/.htaccess | 1 + mod_rewrite/3.0/.htaccess | 1 + mod_rewrite/3.1/.htaccess | 1 + mod_rewrite/dev/.htaccess | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mod_rewrite/.htaccess b/mod_rewrite/.htaccess index 0fb7c332..5a892614 100644 --- a/mod_rewrite/.htaccess +++ b/mod_rewrite/.htaccess @@ -126,8 +126,10 @@ RewriteRule "^examples/jupyter/thermo/heating_value.ipynb.html" "stable/userguid RewriteRule "^examples/jupyter.*" "stable/examples/python/index.html" [R=permanent,L] # Redirect from CamelCase to snake_case examples -RewriteRule "^stable/examples/python/reactors/NonIdealShockTube.html$" "stable/examples/python/reactors/non_ideal_shock_tube.html" [R=permanent,L] -RewriteRule "^stable/examples/python/reactors/PorousMediaBurner.html$" "stable/examples/python/reactors/porous_media_burner.html" [R=permanent,L] +RewriteRule "^3.1/examples/python/reactors/non_ideal_shock_tube.html" "3.1/examples/python/reactors/NonIdealShockTube.html" [R=permanent,L] +RewriteRule "^(stable|dev|\d.\d)/examples/python/reactors/NonIdealShockTube.html$" "$1/examples/python/reactors/non_ideal_shock_tube.html" [R=permanent,L] +RewriteRule "^3.1/examples/python/reactors/porous_media_burner.html" "3.1/examples/python/reactors/PorousMediaBurner.html" [R=permanent,L] +RewriteRule "^(stable|dev|\d.\d)/examples/python/reactors/PorousMediaBurner.html$" "$1/examples/python/reactors/porous_media_burner.html" [R=permanent,L] # Someday, these MATLAB rules will be updated to point to a non-experimental version of the toolbox RewriteRule "^examples/matlab/surfreactor\.m\.html" "stable/examples/matlab_experimental/surf_reactor.html" [R,L] diff --git a/mod_rewrite/2.4/.htaccess b/mod_rewrite/2.4/.htaccess index fe97394c..10bbefba 100644 --- a/mod_rewrite/2.4/.htaccess +++ b/mod_rewrite/2.4/.htaccess @@ -1,3 +1,4 @@ RewriteBase "/2.4/" +RewriteOptions Inherit RewriteRule "^sphinx/_static/(.+)" "sphinx/html/_static/$1" [R,L] diff --git a/mod_rewrite/3.0/.htaccess b/mod_rewrite/3.0/.htaccess index 29608096..251ac8f9 100644 --- a/mod_rewrite/3.0/.htaccess +++ b/mod_rewrite/3.0/.htaccess @@ -1,3 +1,4 @@ RewriteBase "/3.0/" +RewriteOptions Inherit RewriteRule "^sphinx/html/python/(.+)" "sphinx/html/cython/$1" [R] diff --git a/mod_rewrite/3.1/.htaccess b/mod_rewrite/3.1/.htaccess index bdfe59af..4070df3e 100644 --- a/mod_rewrite/3.1/.htaccess +++ b/mod_rewrite/3.1/.htaccess @@ -1,4 +1,5 @@ RewriteBase "/3.1/" +RewriteOptions Inherit RewriteRule "^cython/(.+)" "python/$1" [R] RewriteRule "^cxx/d7/d32/classCantera_1_1Poly1(.*)" "cxx/d2/db3/classCantera_1_1Poly13$1" [L] diff --git a/mod_rewrite/dev/.htaccess b/mod_rewrite/dev/.htaccess index 64201235..3e5d68fc 100644 --- a/mod_rewrite/dev/.htaccess +++ b/mod_rewrite/dev/.htaccess @@ -1,4 +1,5 @@ RewriteBase "/dev/" +RewriteOptions Inherit RewriteRule "^cython/(.+)" "python/$1" [R] RewriteRule "^cxx/d2/db3/classCantera_1_1Poly13(.*)" "cxx/d7/d32/classCantera_1_1Poly1$1" [L] From b00dc0e4e2c608da0202bb0851111e226ff96800 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 30 Aug 2025 00:52:21 +0000 Subject: [PATCH 4/4] Flatten .htaccess file to simplify applying rules in subdirectories --- mod_rewrite/.htaccess | 14 ++++++++++++++ mod_rewrite/2.4/.htaccess | 4 ---- mod_rewrite/3.0/.htaccess | 4 ---- mod_rewrite/3.1/.htaccess | 6 ------ mod_rewrite/dev/.htaccess | 6 ------ 5 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 mod_rewrite/2.4/.htaccess delete mode 100644 mod_rewrite/3.0/.htaccess delete mode 100644 mod_rewrite/3.1/.htaccess delete mode 100644 mod_rewrite/dev/.htaccess diff --git a/mod_rewrite/.htaccess b/mod_rewrite/.htaccess index 5a892614..ddc676b9 100644 --- a/mod_rewrite/.htaccess +++ b/mod_rewrite/.htaccess @@ -149,3 +149,17 @@ RewriteRule "^examples/cxx/(.+)-(.+)\.html" "stable/examples/cxx/$1_$2.html" [R= RewriteRule "^examples/fortran/demo.f.html" "stable/examples/fortran/f77_demo.html" [R=permanent,L] RewriteRule "^examples/fortran/index.html" "stable/examples/fortran/index.html" [R=permanent,L] RewriteRule "^examples/fortran/(\w+)\.(f|f90|cpp).html" "stable/examples/fortran/$1.html" [R=permanent,L] + +# Redirects specific to Cantera 3.1 +RewriteRule "^3.1/cxx/d7/d32/classCantera_1_1Poly1(.*)" "3.1/cxx/d2/db3/classCantera_1_1Poly13$1" [L] +RewriteRule "^3.1/cxx/dd/d77/classCantera_1_1ConnectorFactory(.*)" "3.1/cxx/d0/dc8/classCantera_1_1FlowDeviceFactory$1" [L] + +# Redirects specific to Cantera 3.0 +RewriteRule "^3.0/sphinx/html/python/(.+)" "3.0/sphinx/html/cython/$1" [R] + +# Redirects specific to Cantera 2.4 +RewriteRule "^2.4/sphinx/_static/(.+)" "2.4/sphinx/html/_static/$1" [R,L] + +# Redirects specific to the development version (3.2) +RewriteRule "^dev/cxx/d2/db3/classCantera_1_1Poly13(.*)" "dev/cxx/d7/d32/classCantera_1_1Poly1$1" [L] +RewriteRule "^dev/cxx/d0/dc8/classCantera_1_1FlowDeviceFactory(.*)" "dev/cxx/dd/d77/classCantera_1_1ConnectorFactory$1" [L] diff --git a/mod_rewrite/2.4/.htaccess b/mod_rewrite/2.4/.htaccess deleted file mode 100644 index 10bbefba..00000000 --- a/mod_rewrite/2.4/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -RewriteBase "/2.4/" -RewriteOptions Inherit - -RewriteRule "^sphinx/_static/(.+)" "sphinx/html/_static/$1" [R,L] diff --git a/mod_rewrite/3.0/.htaccess b/mod_rewrite/3.0/.htaccess deleted file mode 100644 index 251ac8f9..00000000 --- a/mod_rewrite/3.0/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -RewriteBase "/3.0/" -RewriteOptions Inherit - -RewriteRule "^sphinx/html/python/(.+)" "sphinx/html/cython/$1" [R] diff --git a/mod_rewrite/3.1/.htaccess b/mod_rewrite/3.1/.htaccess deleted file mode 100644 index 4070df3e..00000000 --- a/mod_rewrite/3.1/.htaccess +++ /dev/null @@ -1,6 +0,0 @@ -RewriteBase "/3.1/" -RewriteOptions Inherit - -RewriteRule "^cython/(.+)" "python/$1" [R] -RewriteRule "^cxx/d7/d32/classCantera_1_1Poly1(.*)" "cxx/d2/db3/classCantera_1_1Poly13$1" [L] -RewriteRule "^cxx/dd/d77/classCantera_1_1ConnectorFactory(.*)" "cxx/d0/dc8/classCantera_1_1FlowDeviceFactory$1" [L] diff --git a/mod_rewrite/dev/.htaccess b/mod_rewrite/dev/.htaccess deleted file mode 100644 index 3e5d68fc..00000000 --- a/mod_rewrite/dev/.htaccess +++ /dev/null @@ -1,6 +0,0 @@ -RewriteBase "/dev/" -RewriteOptions Inherit - -RewriteRule "^cython/(.+)" "python/$1" [R] -RewriteRule "^cxx/d2/db3/classCantera_1_1Poly13(.*)" "cxx/d7/d32/classCantera_1_1Poly1$1" [L] -RewriteRule "^cxx/d0/dc8/classCantera_1_1FlowDeviceFactory(.*)" "cxx/dd/d77/classCantera_1_1ConnectorFactory$1" [L]