From d0182782946559ebb88c9a4c12923c26973425f1 Mon Sep 17 00:00:00 2001 From: tanyunshi Date: Sun, 15 Mar 2015 20:39:32 +0100 Subject: [PATCH] Fix rst format errors --- docs/dev/analysis/features/hyperlink.rst | 39 ++++++++++++------------ docs/dev/analysis/index.rst | 1 + 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/docs/dev/analysis/features/hyperlink.rst b/docs/dev/analysis/features/hyperlink.rst index 092d76cfe..9a123fb03 100644 --- a/docs/dev/analysis/features/hyperlink.rst +++ b/docs/dev/analysis/features/hyperlink.rst @@ -28,8 +28,8 @@ Add multiple runs to a hyperlink: >>> hyperlink = paragraph.add_hyperlink(url='http://github.com') >>> hyperlink.add_run('A') - >>> hyperlink.add_run(' formatted').italic = True - >>> hyperlink.add_run(' link').bold = True + >>> hyperlink.add_run('formatted').italic = True + >>> hyperlink.add_run('link').bold = True >>> len(hyperlink.runs) 3 @@ -56,22 +56,25 @@ Specimen XML .. highlight:: xml -A simple hyperlink to an external url, and the relationship for it's url: +A simple hyperlink to an external url:: - - - - - - Google - - + + + + + + Google + + + + +The relationship for the above url:: -A hyperlink to an internal named range: +A hyperlink to an internal named range:: @@ -82,7 +85,7 @@ A hyperlink to an internal named range: -A hyperlink with mutiple runs of text: +A hyperlink with multiple runs of text:: @@ -127,13 +130,11 @@ Resources .. _Hyperlinks Members (Word) on MSDN: http://msdn.microsoft.com/en-us/library/office/ff192421.aspx -.. Hyperlink Class (OpenXML.Office2010.CustomUI) on MSDN: - http://msdn.microsoft.com/en-us/library/documentformat.openxml. - office2010.customui.hyperlink.aspx +.. _Hyperlink Class (OpenXML.Office2010.CustomUI) on MSDN: + http://msdn.microsoft.com/en-us/library/documentformat.openxml.office2010.customui.hyperlink.aspx -.. Hyperlink Class (OpenXML.Wordprocessing) on MSDN: - http://msdn.microsoft.com/en-us/library/documentformat.openxml. - wordprocessing.hyperlink.aspx +.. _Hyperlink Class (OpenXML.Wordprocessing) on MSDN: + http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.hyperlink.aspx MS API diff --git a/docs/dev/analysis/index.rst b/docs/dev/analysis/index.rst index 52afab2bd..7b85350ab 100644 --- a/docs/dev/analysis/index.rst +++ b/docs/dev/analysis/index.rst @@ -41,4 +41,5 @@ ISO/IEC 29500 spec. schema/ct_body schema/ct_p schema/ct_ppr + schema/ct_hyperlink schema/ct_styles