Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Martin Kurečka
Plumed AlphaFold
Commits
7ec99e6f
There was an error fetching the commit references. Please try again later.
Commit
7ec99e6f
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Added doc for script tools
Closes #354
parent
1f64107b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user-doc/extract
+28
-1
28 additions, 1 deletion
user-doc/extract
with
28 additions
and
1 deletion
user-doc/extract
+
28
−
1
View file @
7ec99e6f
...
@@ -34,7 +34,34 @@ do
...
@@ -34,7 +34,34 @@ do
done
done
# Generate all the documentation pages from comments
# Generate all the documentation pages from comments
cat
../
*
/
*
/
*
cpp |
{
cat
../
*
/
*
/
*
cpp
# documentation for scripts:
for
file
in
../scripts/
*
.sh
do
name
=
$(
basename
${
file
%.sh
}
)
cat
<<
EOF
//+PLUMEDOC TOOLS
$name
/*
EOF
../src/lib/plumed
$name
--description
cat
<<
EOF
\n
ote This command line tool is implemented as a shell script. It's help message is pasted below:
\v
erbatim
EOF
../src/lib/plumed
--no-mpi
$name
--help
cat
<<
EOF
\e
ndverbatim
*/
//+ENDPLUMEDOC
EOF
done
}
|
awk
'BEGIN{gfile="automatic/GLOSSARY.list"; dfile="automatic/DICTIONARY.list"; }{
awk
'BEGIN{gfile="automatic/GLOSSARY.list"; dfile="automatic/DICTIONARY.list"; }{
if($1=="//+ENDPLUMEDOC" && inside){
if($1=="//+ENDPLUMEDOC" && inside){
inside=0;
inside=0;
...
...
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