Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
f893104b
Commit
f893104b
authored
8 years ago
by
Richard Berger
Browse files
Options
Downloads
Patches
Plain Diff
Add anchor_check to doc Makefile
parent
efb2a942
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Makefile
+12
-1
12 additions, 1 deletion
doc/Makefile
with
12 additions
and
1 deletion
doc/Makefile
+
12
−
1
View file @
f893104b
...
@@ -22,7 +22,7 @@ endif
...
@@ -22,7 +22,7 @@ endif
SOURCES
=
$(
wildcard src/
*
.txt
)
SOURCES
=
$(
wildcard src/
*
.txt
)
OBJECTS
=
$(
SOURCES:src/%.txt
=
$(
RSTDIR
)
/%.rst
)
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 @@ help:
...
@@ -36,6 +36,7 @@ help:
@
echo
" clean remove all intermediate RST files"
@
echo
" clean remove all intermediate RST files"
@
echo
" clean-all reset the entire build environment"
@
echo
" clean-all reset the entire build environment"
@
echo
" txt2html build txt2html tool"
@
echo
" txt2html build txt2html tool"
@
echo
" anchor_check scan for duplicate anchor labels"
# ------------------------------------------
# ------------------------------------------
...
@@ -54,6 +55,9 @@ html: $(OBJECTS)
...
@@ -54,6 +55,9 @@ html: $(OBJECTS)
.
$(
VENV
)
/bin/activate
;
\
.
$(
VENV
)
/bin/activate
;
\
cp
-r
src/
*
$(
RSTDIR
)
/
;
\
cp
-r
src/
*
$(
RSTDIR
)
/
;
\
sphinx-build
-j
8
-b
html
-c
utils/sphinx-config
-d
$(
BUILDDIR
)
/doctrees
$(
RSTDIR
)
html
;
\
sphinx-build
-j
8
-b
html
-c
utils/sphinx-config
-d
$(
BUILDDIR
)
/doctrees
$(
RSTDIR
)
html
;
\
echo
"############################################"
;
\
doc_anchor_check src/
*
.txt
;
\
echo
"############################################"
;
\
deactivate
;
\
deactivate
;
\
)
)
-
rm
html/searchindex.js
-
rm
html/searchindex.js
...
@@ -127,6 +131,13 @@ fetch:
...
@@ -127,6 +131,13 @@ fetch:
txt2html
:
utils/txt2html/txt2html.exe
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
utils/txt2html/txt2html.exe
:
utils/txt2html/txt2html.cpp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment