diff -Naur lammps-10Mar17/doc/Makefile lammps-17Mar17/doc/Makefile --- lammps-10Mar17/doc/Makefile 2017-03-07 09:48:20.000000000 -0700 +++ lammps-17Mar17/doc/Makefile 2017-03-17 11:19:47.184661000 -0600 @@ -22,7 +22,7 @@ SOURCES=$(wildcard src/*.txt) OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst) -.PHONY: help clean-all clean epub html pdf old venv spelling +.PHONY: help clean-all clean epub html pdf old venv spelling anchor_check # ------------------------------------------ @@ -36,6 +36,7 @@ @echo " clean remove all intermediate RST files" @echo " clean-all reset the entire build environment" @echo " txt2html build txt2html tool" + @echo " anchor_check scan for duplicate anchor labels" # ------------------------------------------ @@ -54,6 +55,9 @@ . $(VENV)/bin/activate ;\ cp -r src/* $(RSTDIR)/ ;\ sphinx-build -j 8 -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\ + echo "############################################" ;\ + doc_anchor_check src/*.txt ;\ + echo "############################################" ;\ deactivate ;\ ) -rm html/searchindex.js @@ -127,6 +131,13 @@ txt2html: utils/txt2html/txt2html.exe +anchor_check : $(TXT2RST) + @(\ + . $(VENV)/bin/activate ;\ + doc_anchor_check src/*.txt ;\ + deactivate ;\ + ) + # ------------------------------------------ utils/txt2html/txt2html.exe: utils/txt2html/txt2html.cpp diff -Naur lammps-10Mar17/doc/html/.buildinfo lammps-17Mar17/doc/html/.buildinfo --- lammps-10Mar17/doc/html/.buildinfo 2017-03-10 15:55:09.000000000 -0700 +++ lammps-17Mar17/doc/html/.buildinfo 2017-03-17 11:30:24.842992896 -0600 @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 4095f0bf0b06ff9bf644a7afb38ae65b +config: a9f7bb869f3f420d6f9dab019a48a79b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff -Naur lammps-10Mar17/doc/html/Manual.html lammps-17Mar17/doc/html/Manual.html --- lammps-10Mar17/doc/html/Manual.html 2017-03-10 15:55:09.000000000 -0700 +++ lammps-17Mar17/doc/html/Manual.html 2017-03-17 11:30:24.874993847 -0600 @@ -148,7 +148,7 @@