This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
The following commit(s) were added to refs/heads/master by this push: new 49243fe73 Update site schema to 2.0.0 49243fe73 is described below commit 49243fe731d715616b32f23b1bb5ae34044d4064 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Mon May 19 15:01:17 2025 +0100 Update site schema to 2.0.0 --- commons-math-docs/src/site/site.xml | 12 ++++++++---- siteMods/site.xml | 4 ++-- src/site/site.xml | 10 ++++------ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/commons-math-docs/src/site/site.xml b/commons-math-docs/src/site/site.xml index b339bc15b..19805643f 100644 --- a/commons-math-docs/src/site/site.xml +++ b/commons-math-docs/src/site/site.xml @@ -15,9 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. --> -<project name="Math"> - <bannerRight> - <name>Apache Commons Math</name> +<site name="Math" + xmlns="http://maven.apache.org/SITE/2.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd"> + <!-- Use a full URL allows a correct banner for the modules. --> + <bannerRight name="Apache Commons Math" href="https://commons.apache.org/proper/commons-math/index.html"> + <image src="https://commons.apache.org/proper/commons-math/images/commons_math.small.png"/> </bannerRight> <body> @@ -28,4 +32,4 @@ </menu> </body> -</project> +</site> diff --git a/siteMods/site.xml b/siteMods/site.xml index 82ecd63d6..824d66e0d 100644 --- a/siteMods/site.xml +++ b/siteMods/site.xml @@ -20,7 +20,7 @@ TODO: get this generated somehow from the "real" site.xml so it does not have to be maintained separately. --> -<project name="Math"> +<site name="Math"> <skin> <groupId>org.apache.commons</groupId> <artifactId>commons-skin</artifactId> @@ -48,4 +48,4 @@ </menu> </body> -</project> +</site> diff --git a/src/site/site.xml b/src/site/site.xml index aa13267fb..8924d5c90 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -15,11 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. --> -<project name="Math"> - <bannerRight> - <name>Commons Math</name> - <src>https://commons.apache.org/proper/commons-math/images/commons_math.small.png</src> - <href>https://commons.apache.org/proper/commons-math</href> +<site name="Math"> + <bannerRight name="Apache Commons Math" href="/index.html"> + <image src="/images/commons_math.small.png"/> </bannerRight> <body> @@ -71,4 +69,4 @@ </menu> </body> -</project> +</site>