diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-05-26 09:40:17 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-05-30 12:38:54 +0200 |
commit | 30ca7aaf279944da930b587b05d9b325ec7f821d (patch) | |
tree | ddcb1575c0df64f651a265c6613cc3554697fc12 /Documentation/sphinx/post_convert.sed | |
parent | sphinx: update docbook->rst conversion script match C domain spec (diff) | |
download | linux-30ca7aaf279944da930b587b05d9b325ec7f821d.tar.xz linux-30ca7aaf279944da930b587b05d9b325ec7f821d.zip |
Documentation/sphinx: nicer referencing of struct in docbook->rst conversion
Add "struct" in the label of the reference.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'Documentation/sphinx/post_convert.sed')
-rw-r--r-- | Documentation/sphinx/post_convert.sed | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/sphinx/post_convert.sed b/Documentation/sphinx/post_convert.sed index ce17049f6a8e..392770bac53b 100644 --- a/Documentation/sphinx/post_convert.sed +++ b/Documentation/sphinx/post_convert.sed @@ -1,9 +1,13 @@ # -# pandoc thinks that both "_" needs to be escaped. Remove the extra -# backslashes. Also put in proper backquotes now that pandoc won't quote -# them. +# Unescape. # s/$bq/`/g +s/$lt/</g +s/$gt/>/g +# +# pandoc thinks that both "_" needs to be escaped. Remove the extra +# backslashes. +# s/\\_/_/g # # Unwrap docproc directives. |