On Wednesday, October 24, 2012 7:32:03 PM UTC-7, Andrew Mathas wrote: > > The index files for most (all?) of the html versions of the sage manuals > contain a typo for the link under the sage logo: they point to ../#index.html > rather than ../index.html. This is usually fine when the manual pages are > accessed as web pages (for example from http://www.sagemath.org/doc) > because most web servers are configured to return index.html when they are > asked for a directory. However, when the manual pages are served as local > files then the default behaviour is usually to return the directory > listing. Try clicking on the sage logo in the top left hand corner of > > file:///usr/local/src/sage/sage/devel/sage/doc/output/html/en/reference/index.html > (modified accordingly) in your browser to see what I mean. > > The manual pages under the top level index files all point correctly to > ../index.html. > > Presumably these index files are automatically generated from somewhere, > as these files are not managed by files are not managed by mercurial, but I > can't find the source. If some can tell me how these files are generated I > can fix this -- if people agree that this is a bug. >
I think these files are generated by the files in SAGE_ROOT/devel/sage/doc/common/themes/, in particular layout.html. I also think that this problem is fixed in #6495 (which does many other things along the way). -- John -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
