diff --git a/docs/mandoc.css b/docs/mandoc.css index 02c7748..f0160b9 100644 --- a/docs/mandoc.css +++ b/docs/mandoc.css @@ -274,15 +274,6 @@ a.In { } font-weight: normal; font-family: monospace; } -/* Tooltip support. */ - -h1.Sh, h2.Ss { position: relative; } -.An, .Ar, .Cd, .Cm, .Dv, .Em, .Er, .Ev, .Fa, .Fd, .Fl, .Fn, .Ft, -.Ic, code.In, .Lb, .Lk, .Ms, .Mt, .Nd, code.Nm, .Pa, .Rs, -.St, .Sx, .Sy, .Va, .Vt, .Xr { - display: inline-block; - position: relative; } - /* Overrides to avoid excessive margins on small devices. */ @media (max-width: 37.5em) { diff --git a/web.go b/web.go index 6220800..68cd870 100644 --- a/web.go +++ b/web.go @@ -1991,7 +1991,7 @@ func avatate(w http.ResponseWriter, r *http.Request) { } func serveasset(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Cache-Control", "max-age=7776000") + //w.Header().Set("Cache-Control", "max-age=7776000") dir := viewDir if r.URL.Path == "/local.css" { dir = dataDir @@ -2000,7 +2000,7 @@ func serveasset(w http.ResponseWriter, r *http.Request) { } func servehelp(w http.ResponseWriter, r *http.Request) { name := mux.Vars(r)["name"] - w.Header().Set("Cache-Control", "max-age=3600") + //w.Header().Set("Cache-Control", "max-age=3600") http.ServeFile(w, r, viewDir+"/docs/"+name) } func servehtml(w http.ResponseWriter, r *http.Request) {