github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/godoc/static/godoc.html (about)

     1  <!DOCTYPE html>
     2  <html>
     3  <head>
     4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     5  <meta name="viewport" content="width=device-width, initial-scale=1">
     6  <meta name="theme-color" content="#375EAB">
     7  {{with .Tabtitle}}
     8    <title>{{html .}} - The Go Programming Language</title>
     9  {{else}}
    10    <title>The Go Programming Language</title>
    11  {{end}}
    12  <link type="text/css" rel="stylesheet" href="/lib/godoc/style.css">
    13  {{if .SearchBox}}
    14  <link rel="search" type="application/opensearchdescription+xml" title="godoc" href="/opensearch.xml" />
    15  {{end}}
    16  <link rel="stylesheet" href="/lib/godoc/jquery.treeview.css">
    17  <script type="text/javascript">window.initFuncs = [];</script>
    18  </head>
    19  <body>
    20  
    21  <div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
    22  ...
    23  </div><!-- #lowframe -->
    24  
    25  <div id="topbar"{{if .Title}} class="wide"{{end}}><div class="container">
    26  <div class="top-heading" id="heading-wide"><a href="/">The Go Programming Language</a></div>
    27  <div class="top-heading" id="heading-narrow"><a href="/">Go</a></div>
    28  <a href="#" id="menu-button"><span id="menu-button-arrow">&#9661;</span></a>
    29  <form method="GET" action="/search">
    30  <div id="menu">
    31  <a href="/doc/">Documents</a>
    32  <a href="/pkg/">Packages</a>
    33  <a href="/project/">The Project</a>
    34  <a href="/help/">Help</a>
    35  <a href="/blog/">Blog</a>
    36  {{if .Playground}}
    37  <a id="playgroundButton" href="http://play.golang.org/" title="Show Go Playground">Play</a>
    38  {{end}}
    39  <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search">
    40  </div>
    41  </form>
    42  
    43  </div></div>
    44  
    45  {{if .Playground}}
    46  <div id="playground" class="play">
    47  	<div class="input"><textarea class="code">package main
    48  
    49  import "fmt"
    50  
    51  func main() {
    52  	fmt.Println("Hello, 世界")
    53  }</textarea></div>
    54  	<div class="output"></div>
    55  	<div class="buttons">
    56  		<a class="run" title="Run this code [shift-enter]">Run</a>
    57  		<a class="fmt" title="Format this code">Format</a>
    58  		{{if $.Share}}
    59  		<a class="share" title="Share this code">Share</a>
    60  		{{end}}
    61  	</div>
    62  </div>
    63  {{end}}
    64  
    65  <div id="page"{{if .Title}} class="wide"{{end}}>
    66  <div class="container">
    67  
    68  {{with .Title}}
    69    <h1>{{html .}}</h1>
    70  {{end}}
    71  {{with .Subtitle}}
    72    <h2>{{html .}}</h2>
    73  {{end}}
    74  
    75  {{/* The Table of Contents is automatically inserted in this <div>.
    76       Do not delete this <div>. */}}
    77  <div id="nav"></div>
    78  
    79  {{/* Body is HTML-escaped elsewhere */}}
    80  {{printf "%s" .Body}}
    81  
    82  <div id="footer">
    83  Build version {{html .Version}}.<br>
    84  Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
    85  the content of this page is licensed under the
    86  Creative Commons Attribution 3.0 License,
    87  and code is licensed under a <a href="/LICENSE">BSD license</a>.<br>
    88  <a href="/doc/tos.html">Terms of Service</a> | 
    89  <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
    90  </div>
    91  
    92  </div><!-- .container -->
    93  </div><!-- #page -->
    94  
    95  <!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
    96  <script type="text/javascript" src="/lib/godoc/jquery.js"></script>
    97  <script type="text/javascript" src="/lib/godoc/jquery.treeview.js"></script>
    98  <script type="text/javascript" src="/lib/godoc/jquery.treeview.edit.js"></script>
    99  
   100  {{if .Playground}}
   101  <script type="text/javascript" src="/lib/godoc/playground.js"></script>
   102  {{end}}
   103  <script type="text/javascript" src="/lib/godoc/godocs.js"></script>
   104  
   105  </body>
   106  </html>
   107