Removed Disqus comments.

https://code.google.com/p/dart/issues/detail?id=6334

Review URL: https://codereview.chromium.org//12038081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17620 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
amouravski@google.com 2013-01-25 00:01:21 +00:00
parent 33e91c55be
commit e9e57f1209
2 changed files with 0 additions and 32 deletions

View file

@ -188,9 +188,6 @@ class Dartdoc {
/** Set this to add footer text to each generated page. */
String footerText = null;
/** Set this to add content before the footer */
String preFooterText = '';
/** Set this to omit generation timestamp from output */
bool omitGenerationTime = false;
@ -506,7 +503,6 @@ class Dartdoc {
</div>
<div class="clear"></div>
</div>
${preFooterText}
<div class="footer">
$footerContent
</div>

View file

@ -155,8 +155,6 @@ class Apidoc extends doc.Dartdoc {
final Map mdn;
static const disqusShortname = 'dartapidocs';
// A set of type names (TypeMirror.simpleName values) to ignore while
// looking up information from MDN data. TODO(eub, jacobr): fix up the MDN
// import scripts so they run correctly and generate data that doesn't have
@ -200,36 +198,10 @@ class Apidoc extends doc.Dartdoc {
page is licensed under the <a href="$cca">Creative Commons Attribution
3.0 License</a>, and code samples are licensed under the
<a href="$bsd">BSD License</a>.</p>
<p>
Comments that are not specifically about the API libraries will
be moderated and possibly deleted.
Because we may incorporate information from comments into the
documentation, any comment submitted here is under the same
license as the documentation.
</p>
<p><a href="$tos">Terms of Service</a> |
<a href="$privacy">Privacy Policy</a></p>
''';
preFooterText =
'''
<div id="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = "$disqusShortname"; // required: replace example with your forum shortname
/* * * DON\'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement("script"); dsq.type = "text/javascript"; dsq.async = true;
dsq.src = "http://" + disqus_shortname + ".disqus.com/embed.js";
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div> <!-- #comments -->
''';
searchEngineId = '011220921317074318178:i4mscbaxtru';
searchResultsUrl = 'http://www.dartlang.org/search.html';
}