Pārlūkot izejas kodu

manual: link logo with index page
(merge https://trac.osgeo.org/grass/changeset/60551 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60552 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 11 gadi atpakaļ
vecāks
revīzija
db26245f9b
3 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 1 1
      lib/gis/parser_html.c
  2. 4 4
      man/build_html.py
  3. 1 1
      tools/mkhtml.py

+ 1 - 1
lib/gis/parser_html.c

@@ -51,7 +51,7 @@ void G__usage_html(void)
     fprintf(stdout, "</head>\n");
     fprintf(stdout, "</head>\n");
     fprintf(stdout, "<body bgcolor=\"white\">\n\n");
     fprintf(stdout, "<body bgcolor=\"white\">\n\n");
     fprintf(stdout,
     fprintf(stdout,
-	    "<img src=\"grass_logo.png\" alt=\"GRASS logo\">\n");
+	    "<a href=\"index.html\"><img src=\"grass_logo.png\" alt=\"GRASS logo\"></a>\n");
     fprintf(stdout, "<hr class=\"header\">\n\n");
     fprintf(stdout, "<hr class=\"header\">\n\n");
     fprintf(stdout, "<h2>%s</h2>\n", _("NAME"));
     fprintf(stdout, "<h2>%s</h2>\n", _("NAME"));
     fprintf(stdout, "<em><b>%s</b></em> ", st->pgm_name);
     fprintf(stdout, "<em><b>%s</b></em> ", st->pgm_name);

+ 4 - 4
man/build_html.py

@@ -52,7 +52,7 @@ r""" <link rel="stylesheet" href="grassdocs.css" type="text/css">
 
 
 <!-- this file is generated by man/build_html.py -->
 <!-- this file is generated by man/build_html.py -->
 
 
-<img src="grass_logo.png" alt="GRASS logo">
+<a href="index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
 <hr class="header">
 <hr class="header">
 
 
 <h2>GRASS GIS ${grass_version} Reference Manual</h2>
 <h2>GRASS GIS ${grass_version} Reference Manual</h2>
@@ -250,7 +250,7 @@ r"""
 </head>
 </head>
 <body style="width: 99%">
 <body style="width: 99%">
 
 
-<img src="grass_logo.png" alt="GRASS logo">
+<a href="index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
 <hr class="header">
 <hr class="header">
 <h2>Topics</h2>
 <h2>Topics</h2>
 <ul>
 <ul>
@@ -263,7 +263,7 @@ r"""
 </head>
 </head>
 <body style="width: 99%">
 <body style="width: 99%">
 
 
-<img src="grass_logo.png" alt="GRASS logo">
+<a href="index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
 <hr class="header">
 <hr class="header">
 <h2>Keywords - Index of GRASS GIS modules</h2>
 <h2>Keywords - Index of GRASS GIS modules</h2>
 """
 """
@@ -275,7 +275,7 @@ r"""
 </head>
 </head>
 <body bgcolor="white">
 <body bgcolor="white">
 
 
-<img src="grass_logo.png" alt="GRASS logo">
+<a href="index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
 <hr class="header">
 <hr class="header">
 
 
 <h2>Topic: ${keyword}</h2>
 <h2>Topic: ${keyword}</h2>

+ 1 - 1
tools/mkhtml.py

@@ -36,7 +36,7 @@ header_base = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <link rel="stylesheet" href="grassdocs.css" type="text/css">
 <link rel="stylesheet" href="grassdocs.css" type="text/css">
 </head>
 </head>
 <body bgcolor="white">
 <body bgcolor="white">
-<img src="grass_logo.png" alt="GRASS logo">
+<a href="index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
 <hr class="header">
 <hr class="header">
 """
 """