Waylan Limberg f5b5446b71 Use absolute URLs in nav & media links from error templates.
An error page can be served from any location and therefore it is
impossable to pre-build an error page with correct relative URLs.
With absolute URLs, the error pages will properly link to other
pages in the nav as well as media files (css, js, images, etc) from
the template regardless of the actual URL the file is served from.

However, to continue to support environments where the docs root is a subdir
of the server root, all other pages must continue to use relative URLs.
The `site_url` is used to determine the server root when building
absolute URLs for the error page to ensure those URLs continue to work
in that type of environment.

Relative URLs are also nessecary for those who browse the site on the
local file system (via `file://`). In that case, the error page will be
broken. However, as error pages are not served by a local file system,
this is no more than a minor inconvience. Error pages should always be
tested from a server environment.

Fixes #77.
2016-08-29 10:14:09 -04:00
2016-05-31 12:03:09 +01:00
2014-02-10 19:44:11 +00:00
2015-11-17 19:26:36 -05:00
2014-10-13 21:23:34 +01:00
2016-06-28 21:22:22 +01:00
2015-04-21 16:57:32 +01:00
2016-03-01 10:53:02 +00:00
2016-05-01 10:38:13 +01:00

MkDocs

Project documentation with Markdown.


PyPI Downloads PyPI Version Build Status Windows Build Status Coverage Status Landscale Code Health

Code of Conduct

Everyone interacting in the MkDocs project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

Languages
Python 81%
JavaScript 13.4%
HTML 4.1%
CSS 1.5%