You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2020/03/09 23:36:39 UTC

[isis-antora] 01/04: adds nav icons, menu items for archived v1.x docs

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

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-antora.git

commit 4c1fccabead2a0912ae610df99c9f702278cd476
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Mar 9 08:41:52 2020 +0000

    adds nav icons, menu items for archived v1.x docs
---
 docs/antora.yml                  |  17 +++++++++++++++++
 docs/modules/ROOT/nav.adoc       |   2 ++
 preview-src/about.adoc           |   2 +-
 site.yml                         |  17 +++++++++++++++++
 src/img/arrow-down-disabled.png  | Bin 0 -> 1092 bytes
 src/img/arrow-left-disabled.png  | Bin 0 -> 1084 bytes
 src/img/arrow-right-disabled.png | Bin 0 -> 1193 bytes
 src/img/arrow-up-disabled.png    | Bin 0 -> 1097 bytes
 src/partials/header-content.hbs  |  22 ++++++++++++++++++++++
 9 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index 1807fb2..30e7c6a 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -1,3 +1,20 @@
+#  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.
+
 name: antora-ui-default
 title: Antora Default UI
 version: master
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index e549a14..28f946a 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -1,3 +1,5 @@
+:Notice: 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 ag [...]
+
 * xref:prerequisites.adoc[UI Development Prerequisites]
 * xref:set-up-project.adoc[Set up a UI Project]
 * xref:build-preview-ui.adoc[Build and Preview the UI]
diff --git a/preview-src/about.adoc b/preview-src/about.adoc
index d62dd96..00900c1 100644
--- a/preview-src/about.adoc
+++ b/preview-src/about.adoc
@@ -1,5 +1,5 @@
 = Menu
-:notice: 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 ag [...]
+:Notice: 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 ag [...]
 //:page-role: -narrow -title
 
 
diff --git a/site.yml b/site.yml
index de53d31..030079d 100644
--- a/site.yml
+++ b/site.yml
@@ -1,3 +1,20 @@
+#  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.
+
 site:
   title: Antora UI Bundle
   url: http://docserver/ReleaseEngineering/AntoraUiBundle
diff --git a/src/img/arrow-down-disabled.png b/src/img/arrow-down-disabled.png
new file mode 100644
index 0000000..cb03695
Binary files /dev/null and b/src/img/arrow-down-disabled.png differ
diff --git a/src/img/arrow-left-disabled.png b/src/img/arrow-left-disabled.png
new file mode 100644
index 0000000..83f69b1
Binary files /dev/null and b/src/img/arrow-left-disabled.png differ
diff --git a/src/img/arrow-right-disabled.png b/src/img/arrow-right-disabled.png
new file mode 100644
index 0000000..8bfc565
Binary files /dev/null and b/src/img/arrow-right-disabled.png differ
diff --git a/src/img/arrow-up-disabled.png b/src/img/arrow-up-disabled.png
new file mode 100644
index 0000000..9d8267d
Binary files /dev/null and b/src/img/arrow-up-disabled.png differ
diff --git a/src/partials/header-content.hbs b/src/partials/header-content.hbs
index 0de0147..4ea3e12 100644
--- a/src/partials/header-content.hbs
+++ b/src/partials/header-content.hbs
@@ -95,6 +95,28 @@
           </div>
         </div>
         <div class="navbar-item has-dropdown is-hoverable">
+          <a class="navbar-link" href="#">Archive</a>
+          <div class="navbar-dropdown">
+            <span class="navbar-item navbar-heading">v1.x Docs</span>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.17.0/documentation.html">1.17.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.16.2/documentation.html">1.16.2</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.16.1/documentation.html">1.16.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.16.0/documentation.html">1.16.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.15.1/documentation.html">1.15.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.15.0/documentation.html">1.15.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.14.0/documentation.html">1.14.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.13.2.1/documentation.html">1.13.2.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.13.2/documentation.html">1.13.2</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.13.1/documentation.html">1.13.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.13.0/documentation.html">1.13.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.12.2/documentation.html">1.12.2</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.12.1/documentation.html">1.12.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.12.0/documentation.html">1.12.0</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.11.1/documentation.html">1.11.1</a>
+            <a class="navbar-item" href="{{siteRootPath}}/versions/1.11.0/documentation.html">1.11.0</a>
+          </div>
+        </div>
+        <div class="navbar-item has-dropdown is-hoverable">
           <a class="navbar-link" href="#">ASF</a>
           <div class="navbar-dropdown">
             <a class="navbar-item" href="http://www.apache.org/">Apache Homepage</a>