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

grobmeier pushed a commit to branch ms12_conversion_of_md_files
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/ms12_conversion_of_md_files by 
this push:
     new 709417cfb1 prepared for linking up legacy docs
709417cfb1 is described below

commit 709417cfb1b032e357cde9bedcb53abca8cb8adc
Author: Christian Grobmeier <[email protected]>
AuthorDate: Wed Mar 6 15:29:32 2024 +0100

    prepared for linking up legacy docs
---
 src/asciidoc/templates/document.html.erb |  2 ++
 src/site/asciidoc/legacy-docs.adoc       | 33 ++++++++++++++++++++++++++++++++
 src/site/site.xml                        | 24 +++++++++++------------
 3 files changed, 47 insertions(+), 12 deletions(-)

diff --git a/src/asciidoc/templates/document.html.erb 
b/src/asciidoc/templates/document.html.erb
index 9d351bb818..720d8976ec 100644
--- a/src/asciidoc/templates/document.html.erb
+++ b/src/asciidoc/templates/document.html.erb
@@ -68,6 +68,7 @@
             <li><a href="#">Getting Started</a></li>
             <li><a href="#">Manual</a></li>
             <li><a href="#">Guides</a></li>
+            <li><a href="/legacy-docs.html">Old Docs</a></li>
             <li><a 
href="https://cwiki.apache.org/confluence/display/LOGGING/Log4j";>Wiki</a></li>
             <li><a href="/articles.html">Articles</a></li>
             <li><a href="/faq.html">FAQ</a></li>
@@ -154,6 +155,7 @@
             <li><a href="#">Getting Started</a></li>
             <li><a href="#">Manual</a></li>
             <li><a href="#">Guides</a></li>
+            <li><a href="/legacy-docs.html">Old Docs</a></li>
             <li><a 
href="https://cwiki.apache.org/confluence/display/LOGGING/Log4j";>Wiki</a></li>
             <li><a href="/articles.html">Articles</a></li>
             <li><a href="/faq.html">FAQ</a></li>
diff --git a/src/site/asciidoc/legacy-docs.adoc 
b/src/site/asciidoc/legacy-docs.adoc
new file mode 100644
index 0000000000..808f6ab13f
--- /dev/null
+++ b/src/site/asciidoc/legacy-docs.adoc
@@ -0,0 +1,33 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+= Documentation (legacy)
+
+This is the legacy documentation migrated from the older versions of Log4j. 
These documents will not be updated any longer, and are provided for historical 
reference only.
+
+* link:/manual/index.html[Introduction]
+* link:/manual/architecture.html[Architecture]
+* link:/manual/migration.html[Log4j 1.x Migration]
+
+== Java API
+
+* link:/manual/api.html[Java API]
+* link:/manual/logbuilder.html[Log Builder]
+* link:/manual/flowtracing.html[Flow Tracing]
+* link:/manual/markers.html[Markers]
+* link:/manual/eventlogging.html[Event Logging]
+* link:/manual/messages.html[Messages]
+* link:/manual/thread-context.html[ThreadContext]
\ No newline at end of file
diff --git a/src/site/site.xml b/src/site/site.xml
index 1888a0efee..d4accfdc9b 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -80,19 +80,19 @@
 <!--    </menu>-->
 
     <menu name="Manual" inherit="top">
-      <item name="Introduction" href="/manual/index.html"/>
-      <item name="Architecture" href="/manual/architecture.html"/>
-      <item name="Log4j 1.x Compatibility" href="manual/compatibility.html"/>
-      <item name="Log4j 1.x Migration" href="manual/migration.html"/>
+<!--      <item name="Introduction" href="/manual/index.html"/>-->
+<!--      <item name="Architecture" href="/manual/architecture.html"/>-->
+<!--      <item name="Log4j 1.x Compatibility" 
href="manual/compatibility.html"/>-->
+<!--      <item name="Log4j 1.x Migration" href="manual/migration.html"/>-->
 
-      <item name="Java API" href="/manual/api.html" collapse="true">
-        <item name="Log Builder" href="manual/logbuilder.html"/>
-        <item name="Flow Tracing" href="manual/flowtracing.html"/>
-        <item name="Markers" href="manual/markers.html"/>
-        <item name="Event Logging" href="/manual/eventlogging.html"/>
-        <item name="Messages" href="/manual/messages.html"/>
-        <item name="ThreadContext" href="/manual/thread-context.html"/>
-      </item>
+<!--      <item name="Java API" href="/manual/api.html" collapse="true">-->
+<!--        <item name="Log Builder" href="manual/logbuilder.html"/>-->
+<!--        <item name="Flow Tracing" href="manual/flowtracing.html"/>-->
+<!--        <item name="Markers" href="manual/markers.html"/>-->
+<!--        <item name="Event Logging" href="/manual/eventlogging.html"/>-->
+<!--        <item name="Messages" href="/manual/messages.html"/>-->
+<!--        <item name="ThreadContext" href="/manual/thread-context.html"/>-->
+<!--      </item>-->
 
       <item name="Scala API" href="/manual/scala-api.html"/>
 

Reply via email to