From d2a9b85de45a37a36725fd17e857e8bb7cde9a67 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 10 Mar 2013 16:49:19 -0400 Subject: [PATCH] Fix internal links for pdf output. --- docs/index.rst | 9 ++++----- docs/tornado.css | 6 ++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index ebf9e686..3e41d584 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -33,14 +33,14 @@ Upgrading from Tornado 1.x Tornado 2.0 introduces several potentially backwards-incompatible changes, including in particular automatic escaping of template output. Users who are upgrading from Tornado 1.x should see the -`version 2.0 release notes `_ for +:doc:`version 2.0 release notes ` for information about backwards compatibility. Quick links ----------- -* `Documentation `_ -* |Download current version|: :current_tarball:`z` (`release notes `_) +* :doc:`Documentation ` +* |Download current version|: :current_tarball:`z` (:doc:`release notes `) * `Source (github) `_ * `Mailing list `_ * `Wiki `_ @@ -67,7 +67,7 @@ Here is the canonical "Hello, world" example app for Tornado:: application.listen(8888) tornado.ioloop.IOLoop.instance().start() -See the `Tornado documentation `_ for a +See the :doc:`Tornado documentation ` for a detailed walkthrough of the framework. Installation @@ -134,4 +134,3 @@ Commons 3.0 `_. :hidden: documentation - diff --git a/docs/tornado.css b/docs/tornado.css index de4d690b..20598a3b 100644 --- a/docs/tornado.css +++ b/docs/tornado.css @@ -64,4 +64,10 @@ div.related, div.sphinxsidebar { div.section { max-width: 850px; +} + +/* sphinx renders an em tag inside internal reference links; we don't want + these to be italic */ +a.reference.internal em { + font-style: normal; } \ No newline at end of file