Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
4a0ee16f
Commit
4a0ee16f
authored
Apr 10, 2013
by
Guillaume Lazzara
Browse files
Fix path to other documentations.
* doc/Makefile.am, * doc/header.html, * doc/mainpage.dox: Here.
parent
a1c740d0
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4a0ee16f
2013-04-10 Guillaume Lazzara <z@lrde.epita.fr>
Fix path to other documentations.
* doc/Makefile.am,
* doc/header.html,
* doc/mainpage.dox: Here.
2013-03-28 Guillaume Lazzara <z@lrde.epita.fr>
* doc/Makefile.am: Add a missing dependency.
...
...
doc/Makefile.am
View file @
4a0ee16f
...
...
@@ -121,7 +121,9 @@ $(srcdir)/user-refman.stamp: $(srcdir)/$(DOXYFILE).in $(REFMAN_deps)
$(DOXYGEN)
$(DOXYFILE_USER)
rm
-rf
$(srcdir)
/
$(USER_REFMAN)
## Fix path to the main page of the documentation.
sed
-i
-e
"s,\@relcommondocpath\@,,g"
$(USER_REFMAN).tmp/html/index.html
sed
-i
-e
"s,\@relcommondocpath\@,$(abs_top_srcdir)/,g"
\
-e
"s,\@userrefman\@,$(USER_REFMAN),g"
\
`find
$(USER_REFMAN).tmp/html
-name
'*.html'
`
## FIXME: Moving directories between file systems is not portable.
mv
$(USER_REFMAN).tmp
$(srcdir)/$(USER_REFMAN)
@mv
-f
$@.tmp
$@
...
...
@@ -208,6 +210,11 @@ install-data-local:
#
# rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)
cp
-r
$(srcdir)/$(USER_REFMAN)/html
$(DESTDIR)$(htmldir)/$(USER_REFMAN)
# Fix documentation paths
sed
-i
-e
"s,$(abs_top_srcdir)/milena/doc,../milena,g"
\
-e
"s,$(abs_top_srcdir)/scribo/doc,../scribo,g"
\
-e
"s,$(abs_top_srcdir)/doc/$(USER_REFMAN)/html,$(DESTDIR)$(htmldir)/$(USER_REFMAN),g"
\
`find
$(DESTDIR)$(htmldir)/$(USER_REFMAN)
-name
'*.html'
`
## Try GNU chmod's X mode before resorting to something slower but
## more standard.
chmod
-R
a+rX
$(DESTDIR)$(htmldir)
||
\
...
...
doc/header.html
View file @
4a0ee16f
...
...
@@ -25,7 +25,7 @@ $extrastylesheet
<tbody>
<tr
style=
"height: 56px;"
>
<!--BEGIN PROJECT_LOGO-->
<td
id=
"projectlogo"
><a
href=
"@relcommondocpath@
$relpath$
index.html"
><img
alt=
"Logo"
src=
"$relpath$$projectlogo"
/></a></td>
<td
id=
"projectlogo"
><a
href=
"@relcommondocpath@
doc/@userrefman@/html/
index.html"
><img
alt=
"Logo"
src=
"$relpath$$projectlogo"
/></a></td>
<!--END PROJECT_LOGO-->
<!--BEGIN PROJECT_NAME-->
<td
style=
"padding-left: 0.5em;"
>
...
...
doc/mainpage.dox
View file @
4a0ee16f
...
...
@@ -19,8 +19,8 @@
</td>
<td>
\li \ref moduleslist
\li <a class="el" href="
../../
milena/user-refman/html/index.html">Milena</a>
\li <a class="el" href="
../../
scribo/user-refman/html/index.html">Scribo</a>
\li <a class="el" href="
@relcommondocpath@
milena/
doc/
user-refman/html/index.html">Milena</a>
\li <a class="el" href="
@relcommondocpath@
scribo/
doc/
user-refman/html/index.html">Scribo</a>
\li Swilena
</td>
<td>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment