You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2023/11/28 21:44:13 UTC
(nifi-site) 15/20: NIFI-12361 Added separate Project Documentation Links
This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main-staging
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
commit 7d8f247034db7ad73343c46ce9cc4109c8e1e770
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Sat Nov 25 21:26:17 2023 -0600
NIFI-12361 Added separate Project Documentation Links
- Updated current version to 2.0.0-M1
(cherry picked from commit c4c6938ea4327ebeb584d30c6c568b258bfb6433)
---
config.toml | 8 ++++----
layouts/partials/topbar.html | 7 ++++---
layouts/shortcodes/download-links.html | 4 ++--
source/project-documentation.md | 7 +++++++
4 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/config.toml b/config.toml
index 0dee513..67092fc 100644
--- a/config.toml
+++ b/config.toml
@@ -47,7 +47,7 @@ downloadPathUrl = "https://downloads.apache.org/nifi"
archiveDownloadPathUrl = "https://archive.apache.org/dist/nifi"
mavenCentralDownloadPathUrl = "https://repo1.maven.org/maven2/org/apache/nifi"
-currentProjectVersion = "1.23.2"
-currentProjectVersionReleased = "2023-08-22"
-previousProjectVersion = "1.22.0"
-previousProjectVersionReleased = "2023-06-11"
+currentProjectVersion = "2.0.0-M1"
+currentProjectVersionReleased = "2023-11-25"
+previousProjectVersion = "1.23.2"
+previousProjectVersionReleased = "2023-08-22"
diff --git a/layouts/partials/topbar.html b/layouts/partials/topbar.html
index db05c6d..7a31a5a 100644
--- a/layouts/partials/topbar.html
+++ b/layouts/partials/topbar.html
@@ -18,12 +18,13 @@
<li class="has-dropdown">
<a href="#">Documentation</a>
<ul class="dropdown">
+ <li><a href="project-documentation.html">Project Documentation {{ .Site.Params.currentProjectVersion }}</a></li>
+ <li><a href="docs.html">Project Documentation {{ .Site.Params.previousProjectVersion }}</a></li>
+ <li><a href="security.html">Security Reports</a></li>
+ <li><a href="registry-security.html">Registry Security Reports</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="videos.html">Videos</a></li>
- <li><a href="docs.html">NiFi Docs</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/NIFI"><i class="fa fa-external-link external-link"></i>Wiki</a></li>
- <li><a href="security.html">NiFi Security Reports</a></li>
- <li><a href="registry-security.html">NiFi Registry Security Reports</a></li>
</ul>
</li>
<li class="has-dropdown">
diff --git a/layouts/shortcodes/download-links.html b/layouts/shortcodes/download-links.html
index 202e50b..4e79b51 100644
--- a/layouts/shortcodes/download-links.html
+++ b/layouts/shortcodes/download-links.html
@@ -4,8 +4,8 @@
{{- if eq (.Get "version") "previous" -}}
{{- $downloadVersion = (.Site.Params.previousProjectVersion) -}}
- {{- $primaryDownloadUrl = (.Site.Params.archiveDownloadPathUrl) -}}
- {{- $secondaryDownloadUrl = (.Site.Params.archiveDownloadPathUrl) -}}
+ {{- $primaryDownloadUrl = (.Site.Params.dynamicDownloadPathUrl) -}}
+ {{- $secondaryDownloadUrl = (.Site.Params.downloadPathUrl) -}}
{{- end -}}
{{- $project := "nifi" -}}
diff --git a/source/project-documentation.md b/source/project-documentation.md
new file mode 100644
index 0000000..edd916f
--- /dev/null
+++ b/source/project-documentation.md
@@ -0,0 +1,7 @@
+---
+title: Apache NiFi Documentation
+---
+
+<div class="external-guide">
+ <iframe src="project-docs/nifi-docs/index.html"></iframe>
+</div>