You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2017/05/08 19:04:41 UTC
[4/4] lucene-solr:jira/solr-10290: auto check links anytime html site
is built
auto check links anytime html site is built
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2953940d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2953940d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2953940d
Branch: refs/heads/jira/solr-10290
Commit: 2953940d2670fc4fad37d1c91ce30fcc2ec12b36
Parents: de663b5
Author: Chris Hostetter <ho...@apache.org>
Authored: Mon May 8 12:04:29 2017 -0700
Committer: Chris Hostetter <ho...@apache.org>
Committed: Mon May 8 12:04:29 2017 -0700
----------------------------------------------------------------------
solr/solr-ref-guide/build.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2953940d/solr/solr-ref-guide/build.xml
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/build.xml b/solr/solr-ref-guide/build.xml
index 98a69bc..a23bac85 100644
--- a/solr/solr-ref-guide/build.xml
+++ b/solr/solr-ref-guide/build.xml
@@ -181,13 +181,17 @@
Builds site with Jekyll.
This (for now) assumes that Jekyll (http://jekyllrb.com) is installed locally. -->
<target name="build-site"
+ depends="-build-site,check-links-and-anchors"
+ description="Builds an HTML Site w/Jekyll and verifies the anchors+links are valid" >
+ <echo>Ready to browse site: ${build.dir}/html-site/${main-page}.html</echo>
+ </target>
+ <target name="-build-site"
depends="build-init,build-nav-data-files"
description="Builds an HTML Site w/Jekyll">
<echo>Running Jekyll...</echo>
<exec executable="jekyll" dir="${build.content.dir}">
<arg value="build"/>
</exec>
- <echo>Ready to browse site: ${build.dir}/html-site/${main-page}.html</echo>
</target>
<target name="default"