Joe Witt created NIFI-16630:
-------------------------------
Summary: Fix AsciiDoc build warnings in NiFi Administration Guide
and User Guide
Key: NIFI-16630
URL: https://issues.apache.org/jira/browse/NIFI-16630
Project: Apache NiFi
Issue Type: Bug
Reporter: Joe Witt
Assignee: Joe Witt
Building nifi-docs with the asciidoctor-maven-plugin logs the following
warnings and informational messages:
administration-guide.adoc: line 1516: id assigned to section already in use:
global-access-policies
administration-guide.adoc: possible invalid reference: kerberos_service
administration-guide.adoc: possible invalid reference: sensitive_flow_migration
administration-guide.adoc: possible invalid reference: zookeeper_migrator
user-guide.adoc: line 1192: list item index: expected 3, got 4
user-guide.adoc: line 1193: list item index: expected 4, got 5
Causes:
1. Duplicate section id: the Administration Guide has two sections titled
"Global Access Policies". The legacy role mapping section gets the generated id
global-access-policies (idprefix is empty and idseparator is "-"), which
collides with the explicit [[global-access-policies]] anchor on the later
section. Links to that anchor can resolve to the wrong section.
2. Invalid references: three cross references point to anchors removed together
with the features they described.
- <<kerberos_service>> (Kerberos SPNEGO authentication removed in NIFI-13297)
- <<zookeeper_migrator>> (ZooKeeper Migrator removed in NIFI-11539)
- <<sensitive_flow_migration>> (Encrypt Config removed in NIFI-13414)
3. List numbering: the "Use the following steps to add a Controller Service"
list in the User Guide skips step 3, so the rendered numbering is out of order.
Proposed changes:
- Add a unique explicit id to the legacy "Global Access Policies" heading so
both sections keep distinct anchors.
- Remove or reword the three sentences that reference the removed anchors.
- Renumber the Controller Service steps in the User Guide.
The nifi-registry-docs module produces no AsciiDoc warnings.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)