[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Review Request 114395: add partial RST support to cmake.xml
From: "Matthew Woehlke" <mw_triad () users ! sourceforge ! net>
Date: 2013-12-10 23:29:41
Message-ID: 20131210232941.18097.20375 () vidsolbach ! de
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> On Dec. 10, 2013, 6 p.m., Alex Turbov wrote:
> > the main question is: how RST relates to CMake?
I guess you are not following the development of CMake 3.0? The documentation for \
CMake 3.0 is in reStructuredText format. Thus, if you check out cmake.git/master, you \
will find that Help/ is just full of all sorts of .rst files, and there is lots of \
RST markup in Modules/*.cmake.
In particular, see Help/manual/cmake-developer.7.rst which describes how to add \
quoted RST to a CMake module file (or any CMake script, really).
- Matthew
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114395/#review45518
-----------------------------------------------------------
On Dec. 10, 2013, 5:20 p.m., Matthew Woehlke wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114395/
> -----------------------------------------------------------
>
> (Updated Dec. 10, 2013, 5:20 p.m.)
>
>
> Review request for Kate.
>
>
> Repository: kate
>
>
> Description
> -------
>
> Add support for quoted RST in CMake. Only quoted is supported because the other \
> syntax can't be trivially highlighted, as it relies on implicit removal of the \
> leading comment character.
>
> Diffs
> -----
>
> part/syntax/data/cmake.xml a7dcebc21fa250d3b7fbf20e7951e499f73b2ea2
>
> Diff: http://git.reviewboard.kde.org/r/114395/diff/
>
>
> Testing
> -------
>
> Tried adding some RST blocks on a CMake file; highlighting is as expected.
>
>
> Thanks,
>
> Matthew Woehlke
>
>
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/114395/">http://git.reviewboard.kde.org/r/114395/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On December 10th, 2013, 6 p.m. EST, <b>Alex \
Turbov</b> wrote:</p> <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;"> <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">the main question is: how RST relates to CMake?</pre> </blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I guess you are not \
following the development of CMake 3.0? The documentation for CMake 3.0 is in \
reStructuredText format. Thus, if you check out cmake.git/master, you will find that \
Help/ is just full of all sorts of .rst files, and there is lots of RST markup in \
Modules/*.cmake.
In particular, see Help/manual/cmake-developer.7.rst which describes how to add \
quoted RST to a CMake module file (or any CMake script, really).</pre> <br />
<p>- Matthew</p>
<br />
<p>On December 10th, 2013, 5:20 p.m. EST, Matthew Woehlke wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Kate.</div>
<div>By Matthew Woehlke.</div>
<p style="color: grey;"><i>Updated Dec. 10, 2013, 5:20 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
kate
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Add support for quoted RST in CMake. Only quoted is supported because \
the other syntax can't be trivially highlighted, as it relies on implicit removal \
of the leading comment character.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Tried adding some RST blocks on a CMake file; highlighting is as \
expected.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>part/syntax/data/cmake.xml <span style="color: \
grey">(a7dcebc21fa250d3b7fbf20e7951e499f73b2ea2)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/114395/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic