This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/netbeans-antora.git


The following commit(s) were added to refs/heads/main by this push:
     new f3988cc  tutorial htaccess rewrite
f3988cc is described below

commit f3988ccc926d46f4a3a9a9b84b52d4a5da0dde31
Author: Eric Barboni <[email protected]>
AuthorDate: Mon Mar 11 17:12:53 2024 +0100

    tutorial htaccess rewrite
---
 supplemental-ui/.htaccess | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/supplemental-ui/.htaccess b/supplemental-ui/.htaccess
index 8c2dada..3adeee3 100644
--- a/supplemental-ui/.htaccess
+++ b/supplemental-ui/.htaccess
@@ -92,9 +92,18 @@ Redirect 301 /help/ /front/main/help/
 Redirect 301 /projects/ /front/main/projects/
 # fixed the report issue .html to keep it working for former readme
 Redirect 301 /participate/report-issue.html 
/front/main/participate/report-issue/
+Redirect 301 /participate/qualityevangelism.html 
/front/main/participate/qualityevangelism/
 Redirect 301 /participate/ /front/main/participate/
 Redirect 301 /kb/ /tutorial/main/kb/
-Redirect 301 /tutorials/ /tutorial/main/tutorials/
+
+## rewrite tutorials to new scheme apidoc need the following to work
+# https://netbeans.apache.org/tutorials/nbm-code-completion.html
+# https://netbeans.apache.org/tutorials/nbm-hyperlink.html
+# https://netbeans.apache.org/tutorials/nbm-nodesapi.html
+# https://netbeans.apache.org/tutorials/nbm-options.html
+# https://netbeans.apache.org/tutorials/nbm-wizard.html
+RedirectMatch 301 "^/tutorials/(.*).html$" "/tutorial/main/tutorials/$1/"
+
 #trying to prevent inifinite redirect
 RedirectMatch 301 "^/wiki(?!/main)(.*)$" "/wiki/main/wiki$1"
 Redirect 301 /download/ /front/main/download/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to