You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2017/12/06 17:57:04 UTC

[GitHub] mikewalch closed pull request #330: ACCUMULO-4754 Fix links to properties in 2.0 docs

mikewalch closed pull request #330: ACCUMULO-4754 Fix links to properties in 2.0 docs
URL: https://github.com/apache/accumulo/pull/330
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/pom.xml b/core/pom.xml
index 8b32bef948..b459a8236b 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -288,7 +288,7 @@
               <classpathScope>test</classpathScope>
               <arguments>
                 <argument>--generate-markdown</argument>
-                <argument>${project.build.directory}/generated-docs/configuration-properties.md</argument>
+                <argument>${project.build.directory}/generated-docs/properties.md</argument>
               </arguments>
             </configuration>
           </execution>
diff --git a/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java b/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
index e103e6987a..61245f87d4 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/ConfigurationDocGen.java
@@ -90,14 +90,14 @@ void pageHeader() {
     @Override
     void prefixSection(Property prefix) {
       boolean depr = prefix.isDeprecated();
-      doc.print("| <a name=\"" + prefix.getKey().replace(".", "_") + "prefix\"></a> **" + prefix.getKey() + "*** | ");
+      doc.print("| <a name=\"" + prefix.getKey().replace(".", "_") + "prefix\" class=\"prop\"></a> **" + prefix.getKey() + "*** | ");
       doc.println((depr ? "**Deprecated.** " : "") + strike(sanitize(prefix.getDescription()), depr) + " |");
     }
 
     @Override
     void property(Property prop) {
       boolean depr = prop.isDeprecated();
-      doc.print("| <a name=\"" + prop.getKey().replace(".", "_") + "\"></a> " + prop.getKey() + " | ");
+      doc.print("| <a name=\"" + prop.getKey().replace(".", "_") + "\" class=\"prop\"></a> " + prop.getKey() + " | ");
       doc.print((depr ? "**Deprecated.** " : "") + strike(sanitize(prop.getDescription()), depr) + "<br>");
       doc.print(strike("**type:** " + prop.getType().name(), depr) + ", ");
       doc.print(strike("**zk mutable:** " + isZooKeeperMutable(prop), depr) + ", ");


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services