Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
dumux-repositories
dumux
Commits
f2edd575
Commit
f2edd575
authored
8 years ago
by
Thomas Fetzer
Browse files
Options
Downloads
Patches
Plain Diff
[doxygen] Generalize sanitizing of links
parent
987e80f3
No related branches found
No related tags found
4 merge requests
!600
[WIP][components][plotproperties] Add a source file to plot properties of some components
,
!501
Freeflow/turbulenceproperties
,
!492
Resolve "Inconsistent `index()` method of the different `SubControlVolume` classes"
,
!412
Doxygen
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/doxygen/mainpage.txt
+2
-2
2 additions, 2 deletions
doc/doxygen/mainpage.txt
doc/doxygen/sanitizelinks.sh
+7
-3
7 additions, 3 deletions
doc/doxygen/sanitizelinks.sh
with
9 additions
and
5 deletions
doc/doxygen/mainpage.txt
+
2
−
2
View file @
f2edd575
...
@@ -10,11 +10,11 @@ documenting C/C++ code.
...
@@ -10,11 +10,11 @@ documenting C/C++ code.
The <a href="pages.html">Related Pages</a> gives a good overview on everything beyond the
The <a href="pages.html">Related Pages</a> gives a good overview on everything beyond the
actual DuMuX code.
actual DuMuX code.
This includes a
<a href="a07334.html">b
ibliography
</a>
of the publications DuMuX is based on.<br>
This includes a
B
ibliography of the publications DuMuX is based on.<br>
Further, a \ref parameterList containing all implemented parameters and
Further, a \ref parameterList containing all implemented parameters and
a \ref featureList of special features used in the test problems is available.<br>
a \ref featureList of special features used in the test problems is available.<br>
Auxiliary script files can be find in \ref Binaries.<br>
Auxiliary script files can be find in \ref Binaries.<br>
In addition, the current To
Dos
,
w
arning
s
, and
d
eprecat
ions are listed
.
In addition, the current To
do List
,
W
arning
List
, and
D
eprecat
ed List are given
.
\section mods Modules
\section mods Modules
...
...
This diff is collapsed.
Click to expand it.
doc/doxygen/sanitizelinks.sh
+
7
−
3
View file @
f2edd575
...
@@ -3,10 +3,14 @@
...
@@ -3,10 +3,14 @@
sanitizelinks
()
{
sanitizelinks
()
{
NEW_FILE
=
`
grep
-l
"
\"
title
\"
>
$1
"
html/
*
html | egrep
-o
[
0-9]+
`
NEW_FILE
=
`
grep
-l
"
\"
title
\"
>
$1
"
html/
*
html | egrep
-o
[
0-9]+
`
OLD_FILE
=
`
awk
-v
a
=
$NEW_FILE
'BEGIN {printf("%05d", a-1)}'
`
OLD_FILE
=
`
awk
-v
a
=
$NEW_FILE
'BEGIN {printf("%05d", a-1)}'
`
sed
-i
"s/
$OLD_FILE
/
$NEW_FILE
/g"
html/
*
html
# echo $1: $OLD_FILE $NEW_FILE
sed
-i
"s#
$OLD_FILE
#
$NEW_FILE
#g"
html/a
*
html
sed
-i
"s#
$1
# <a href=
\"
a
$NEW_FILE
.html
\"
>
$1
</a> #g"
html/index.html
sed
-i
"s#
$1
,# <a href=
\"
a
$NEW_FILE
.html
\"
>
$1
</a>,#g"
html/index.html
}
}
sanitizelinks
"Todo List"
sanitizelinks
"Deprecated List"
# has to be called before Todo List
sanitizelinks
"Todo List"
# has to be called before Warning List
sanitizelinks
"Warning List"
sanitizelinks
"Bug List"
sanitizelinks
"Bug List"
sanitizelinks
"Deprecated List"
sanitizelinks
"Bibliography"
sanitizelinks
"Bibliography"
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