summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native_client_sdk/doc_generated/.buildinfo4
-rw-r--r--native_client_sdk/doc_generated/.gitignore1
-rw-r--r--native_client_sdk/doc_generated/community/security-contest/contest-announcement.html6
-rw-r--r--native_client_sdk/doc_generated/community/security-contest/contest-faq.html6
-rw-r--r--native_client_sdk/doc_generated/community/security-contest/index.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/application-structure.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/audio.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/file-io.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/message-system.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/nacl_io.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/native-client-modules.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/progress-events.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/url-loading.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/coding/view-focus-input-events.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/devcycle/building.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/devcycle/debugging.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/devcycle/running.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/distributing.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html6
-rw-r--r--native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html6
-rw-r--r--native_client_sdk/doc_generated/faq.html6
-rw-r--r--native_client_sdk/doc_generated/nacl-and-pnacl.html6
-rw-r--r--native_client_sdk/doc_generated/overview.html6
-rw-r--r--native_client_sdk/doc_generated/reference/nacl-manifest-format.html6
-rw-r--r--native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html6
-rw-r--r--native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html6
-rw-r--r--native_client_sdk/doc_generated/rest-devsite-examples.html6
-rw-r--r--native_client_sdk/src/doc/_sphinxext/chromesite_builder.py21
30 files changed, 103 insertions, 85 deletions
diff --git a/native_client_sdk/doc_generated/.buildinfo b/native_client_sdk/doc_generated/.buildinfo
deleted file mode 100644
index 0885fbe..0000000
--- a/native_client_sdk/doc_generated/.buildinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-# Sphinx build info version 1
-# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config:
-tags:
diff --git a/native_client_sdk/doc_generated/.gitignore b/native_client_sdk/doc_generated/.gitignore
new file mode 100644
index 0000000..106a152
--- /dev/null
+++ b/native_client_sdk/doc_generated/.gitignore
@@ -0,0 +1 @@
+.buildinfo
diff --git a/native_client_sdk/doc_generated/community/security-contest/contest-announcement.html b/native_client_sdk/doc_generated/community/security-contest/contest-announcement.html
index 10507d9..2819590 100644
--- a/native_client_sdk/doc_generated/community/security-contest/contest-announcement.html
+++ b/native_client_sdk/doc_generated/community/security-contest/contest-announcement.html
@@ -2,7 +2,7 @@
<section id="native-client-security-contest">
<span id="contest-announcement"></span><h1 id="native-client-security-contest"><span id="contest-announcement"></span>Native Client Security Contest</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#what-it-is" id="id1">What it is</a></li>
<li><a class="reference internal" href="#when" id="id2">When</a></li>
@@ -10,8 +10,8 @@
<li><a class="reference internal" href="#forum-native-client-announce" id="id4">Forum: native-client-announce</a></li>
<li><a class="reference internal" href="#forum-native-client-discuss" id="id5">Forum: native-client-discuss</a></li>
</ul>
-</div>
-<aside class="caution">
+
+</div><aside class="caution">
The Native Client Security Contest has ended&#8212;check out the
<a class="reference internal" href="/native-client/community/security-contest/index.html#contest-winners"><em>winning submissions</em></a>. We welcome your
continued involvement in the project. You can help by submitting
diff --git a/native_client_sdk/doc_generated/community/security-contest/contest-faq.html b/native_client_sdk/doc_generated/community/security-contest/contest-faq.html
index c13d001..40ef1b7 100644
--- a/native_client_sdk/doc_generated/community/security-contest/contest-faq.html
+++ b/native_client_sdk/doc_generated/community/security-contest/contest-faq.html
@@ -11,7 +11,7 @@ participating in the <a class="reference external" href="http://groups.google.co
</aside>
<p>This FAQ is provided for reference only. For the complete official
contest rules, see the Terms and Conditions.</p>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#what-is-this-contest-about" id="id1">What is this contest about?</a></li>
<li><a class="reference internal" href="#where-can-i-get-more-information-on-native-client" id="id2">Where can I get more information on Native Client?</a></li>
@@ -58,8 +58,8 @@ contest rules, see the Terms and Conditions.</p>
<li><a class="reference internal" href="#how-can-i-get-involved-in-this-project-besides-the-contest" id="id43">How can I get involved in this project besides the contest?</a></li>
<li><a class="reference internal" href="#why-is-my-country-province-excluded-from-the-contest" id="id44">Why is my country/province excluded from the contest?</a></li>
</ul>
-</div>
-<section id="what-is-this-contest-about">
+
+</div><section id="what-is-this-contest-about">
<h2 id="what-is-this-contest-about">What is this contest about?</h2>
<p>We launched this contest in order to help make Native Client more
secure. We invite participants to discover security bugs in our
diff --git a/native_client_sdk/doc_generated/community/security-contest/index.html b/native_client_sdk/doc_generated/community/security-contest/index.html
index e4f65c1..7fdc7d3 100644
--- a/native_client_sdk/doc_generated/community/security-contest/index.html
+++ b/native_client_sdk/doc_generated/community/security-contest/index.html
@@ -2,7 +2,7 @@
<section id="security-contest-archive">
<span id="contest-archive"></span><h1 id="security-contest-archive"><span id="contest-archive"></span>Security Contest Archive</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#contest-overview" id="id2">Contest overview</a></li>
<li><a class="reference internal" href="#contest-winners" id="id3">Contest winners</a></li>
@@ -14,8 +14,8 @@
</li>
<li><a class="reference internal" href="#additional-information" id="id7">Additional information</a></li>
</ul>
-</div>
-<p>The Native Client team at Google has gone to exceptional measures to
+
+</div><p>The Native Client team at Google has gone to exceptional measures to
make Native Client a secure system, including holding a public
security contest. This page archives information from that contest,
including the list of contest winners and the lineup of security
diff --git a/native_client_sdk/doc_generated/devguide/coding/application-structure.html b/native_client_sdk/doc_generated/devguide/coding/application-structure.html
index 89ee979..083b73a 100644
--- a/native_client_sdk/doc_generated/devguide/coding/application-structure.html
+++ b/native_client_sdk/doc_generated/devguide/coding/application-structure.html
@@ -2,7 +2,7 @@
<section id="application-structure">
<span id="devcycle-application-structure"></span><h1 id="application-structure"><span id="devcycle-application-structure"></span>Application Structure</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#application-components" id="id1">Application components</a></li>
<li><a class="reference internal" href="#html-file-and-the-embed-element" id="id2">HTML file and the &lt;embed&gt; element</a></li>
@@ -10,8 +10,8 @@
<li><a class="reference internal" href="#modules-and-instances" id="id4">Modules and instances</a></li>
<li><a class="reference internal" href="#native-client-modules-a-closer-look" id="id5">Native Client modules: A closer look</a></li>
</ul>
-</div>
-<p>This chapter of the Developer&#8217;s Guide describes the general structure of a
+
+</div><p>This chapter of the Developer&#8217;s Guide describes the general structure of a
Native Client application. The chapter assumes you are familiar with the
material presented in the <a class="reference internal" href="/native-client/overview.html"><em>Technical Overview</em></a>.</p>
<aside class="note">
diff --git a/native_client_sdk/doc_generated/devguide/coding/audio.html b/native_client_sdk/doc_generated/devguide/coding/audio.html
index a4b65bb..b9003e0 100644
--- a/native_client_sdk/doc_generated/devguide/coding/audio.html
+++ b/native_client_sdk/doc_generated/devguide/coding/audio.html
@@ -2,7 +2,7 @@
<section id="audio">
<span id="devguide-coding-audio"></span><h1 id="audio"><span id="devguide-coding-audio"></span>Audio</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#reference-information" id="id1">Reference information</a></li>
<li><a class="reference internal" href="#about-the-pepper-audio-api" id="id2">About the Pepper audio API</a></li>
@@ -23,8 +23,8 @@
</li>
<li><a class="reference internal" href="#starting-and-stopping-playback" id="id12">Starting and stopping playback</a></li>
</ul>
-</div>
-<p>This chapter describes how to use the Pepper audio API to play an audio
+
+</div><p>This chapter describes how to use the Pepper audio API to play an audio
stream. The Pepper audio API provides a low-level means of playing a stream of
audio samples generated by a Native Client module. The API generally works as
follows: A Native Client module creates an audio resource that represents an
diff --git a/native_client_sdk/doc_generated/devguide/coding/file-io.html b/native_client_sdk/doc_generated/devguide/coding/file-io.html
index 46e4d77..590bd63 100644
--- a/native_client_sdk/doc_generated/devguide/coding/file-io.html
+++ b/native_client_sdk/doc_generated/devguide/coding/file-io.html
@@ -2,7 +2,7 @@
<section id="file-i-o">
<span id="devguide-coding-fileio"></span><h1 id="file-i-o"><span id="devguide-coding-fileio"></span>File I/O</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id2">Introduction</a></li>
<li><a class="reference internal" href="#reference-information" id="id3">Reference information</a></li>
@@ -34,8 +34,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>This chapter describes how to use the <a class="reference external" href="https://developers.google.com/native-client/peppercpp/classpp_1_1_file_i_o">FileIO API</a>
to read and write files using a local secure data store.</p>
diff --git a/native_client_sdk/doc_generated/devguide/coding/message-system.html b/native_client_sdk/doc_generated/devguide/coding/message-system.html
index c28cef4a..5f8c8e7 100644
--- a/native_client_sdk/doc_generated/devguide/coding/message-system.html
+++ b/native_client_sdk/doc_generated/devguide/coding/message-system.html
@@ -2,7 +2,7 @@
<section id="messaging-system">
<span id="message-system"></span><h1 id="messaging-system"><span id="message-system"></span>Messaging System</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#reference-information" id="id2">Reference information</a></li>
<li><p class="first"><a class="reference internal" href="#introduction-to-the-messaging-system" id="id3">Introduction to the messaging system</a></p>
@@ -30,8 +30,8 @@
</ul>
</li>
</ul>
-</div>
-<p>This chapter describes the messaging system used to communicate between the
+
+</div><p>This chapter describes the messaging system used to communicate between the
JavaScript code and the Native Client module&#8217;s C or C++ code in a
Native Client application. It introduces the concept of asynchronous
programming and the basic steps required to set up a Native Client module
diff --git a/native_client_sdk/doc_generated/devguide/coding/nacl_io.html b/native_client_sdk/doc_generated/devguide/coding/nacl_io.html
index ca10522..cb23669 100644
--- a/native_client_sdk/doc_generated/devguide/coding/nacl_io.html
+++ b/native_client_sdk/doc_generated/devguide/coding/nacl_io.html
@@ -2,7 +2,7 @@
<section id="the-nacl-io-library">
<span id="nacl-io"></span><h1 id="the-nacl-io-library"><span id="nacl-io"></span>The nacl_io Library</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id1">Introduction</a></li>
<li><a class="reference internal" href="#using-nacl-io" id="id2">Using nacl_io</a></li>
@@ -14,8 +14,8 @@
</li>
<li><a class="reference internal" href="#reference-information" id="id6">Reference information</a></li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p><code>nacl_io</code> is a utility library that provides implementations of standard
C APIs such as POSIX I/O (<code>stdio.h</code>) and BSD sockets (<code>sys/socket.h</code>).
diff --git a/native_client_sdk/doc_generated/devguide/coding/native-client-modules.html b/native_client_sdk/doc_generated/devguide/coding/native-client-modules.html
index 7c063f1..9ab9561 100644
--- a/native_client_sdk/doc_generated/devguide/coding/native-client-modules.html
+++ b/native_client_sdk/doc_generated/devguide/coding/native-client-modules.html
@@ -6,14 +6,14 @@
a Native Client module in order for Chrome to load, initialize, and run it. The
requirements are the same regardless of whether or not the module uses PNaCl,
but depend on whether the module is written in C or C++.</p>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id2">Introduction</a></li>
<li><a class="reference internal" href="#writing-modules-in-c" id="id3">Writing modules in C</a></li>
<li><a class="reference internal" href="#id1" id="id4">Writing modules in C++</a></li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>Native Client modules do not have a <code>main()</code> function. When a module loads,
the Native Client runtime calls the code in the module to create an instance and
diff --git a/native_client_sdk/doc_generated/devguide/coding/progress-events.html b/native_client_sdk/doc_generated/devguide/coding/progress-events.html
index 07721f9..9988821 100644
--- a/native_client_sdk/doc_generated/devguide/coding/progress-events.html
+++ b/native_client_sdk/doc_generated/devguide/coding/progress-events.html
@@ -2,7 +2,7 @@
<section id="progress-events">
<span id="devcycle-progress-events"></span><h1 id="progress-events"><span id="devcycle-progress-events"></span>Progress Events</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#module-loading-and-progress-events" id="id3">Module loading and progress events</a></li>
<li><a class="reference internal" href="#handling-progress-events" id="id4">Handling progress events</a></li>
@@ -11,8 +11,8 @@
<li><a class="reference internal" href="#the-readystate-attribute" id="id7">The <code>readyState</code> attribute</a></li>
<li><a class="reference internal" href="#the-exitstatus-attribute" id="id8">The <code>exitStatus</code> attribute</a></li>
</ul>
-</div>
-<p>There are five types of events that developers can respond to in Native Client:
+
+</div><p>There are five types of events that developers can respond to in Native Client:
progress, message, view change, focus, and input events (each described in the
glossary below). This chapter describes how to monitor progress events (events
that occur during the loading and execution of a Native Client module). This
diff --git a/native_client_sdk/doc_generated/devguide/coding/url-loading.html b/native_client_sdk/doc_generated/devguide/coding/url-loading.html
index a99b214..e5d985f 100644
--- a/native_client_sdk/doc_generated/devguide/coding/url-loading.html
+++ b/native_client_sdk/doc_generated/devguide/coding/url-loading.html
@@ -2,7 +2,7 @@
<section id="url-loading">
<span id="devguide-coding-url-loading"></span><h1 id="url-loading"><span id="devguide-coding-url-loading"></span>URL Loading</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id1">Introduction</a></li>
<li><a class="reference internal" href="#reference-information" id="id2">Reference information</a></li>
@@ -20,8 +20,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>This chapter describes how to use the <a class="reference external" href="https://developers.google.com/native-client/peppercpp/classpp_1_1_u_r_l_loader">URLLoader API</a>
to load resources such as images and sound files from a server into your
diff --git a/native_client_sdk/doc_generated/devguide/coding/view-focus-input-events.html b/native_client_sdk/doc_generated/devguide/coding/view-focus-input-events.html
index 9c23179..793e57b 100644
--- a/native_client_sdk/doc_generated/devguide/coding/view-focus-input-events.html
+++ b/native_client_sdk/doc_generated/devguide/coding/view-focus-input-events.html
@@ -2,7 +2,7 @@
<section id="view-change-focus-and-input-events">
<span id="view-focus-input-events"></span><h1 id="view-change-focus-and-input-events"><span id="view-focus-input-events"></span>View Change, Focus, and Input Events</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#overview" id="id2">Overview</a></li>
<li><p class="first"><a class="reference internal" href="#handling-browser-events" id="id3">Handling browser events</a></p>
@@ -19,8 +19,8 @@
</ul>
</li>
</ul>
-</div>
-<p>This chapter describes view change, focus, and input event handling for a
+
+</div><p>This chapter describes view change, focus, and input event handling for a
Native Client module. The chapter assumes you are familiar with the
material presented in the <a class="reference internal" href="/native-client/overview.html"><em>Technical Overview</em></a>.</p>
<p>There are two examples used in this chapter to illustrate basic
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/building.html b/native_client_sdk/doc_generated/devguide/devcycle/building.html
index 48d70b9..9431767 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/building.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/building.html
@@ -2,7 +2,7 @@
<section id="building">
<span id="devcycle-building"></span><h1 id="building"><span id="devcycle-building"></span>Building</h1>
-<div class="contents local topic" id="table-of-contents">
+<div class="contents local" id="table-of-contents" style="display: none">
<p class="topic-title first">Table Of Contents</p>
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#introduction" id="id4">Introduction</a></p>
@@ -40,8 +40,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>This document describes how to build Native Client modules. It is intended for
developers who have experience writing, compiling, and linking C and C++ code.
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/debugging.html b/native_client_sdk/doc_generated/devguide/devcycle/debugging.html
index 2f4c0f2..696ca55 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/debugging.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/debugging.html
@@ -4,7 +4,7 @@
<span id="devcycle-debugging"></span><h1 id="debugging"><span id="devcycle-debugging"></span>Debugging</h1>
<p>This document describes tools and techniques you can use to debug, monitor,
and measure your application&#8217;s performance.</p>
-<div class="contents local topic" id="table-of-contents">
+<div class="contents local" id="table-of-contents" style="display: none">
<p class="topic-title first">Table Of Contents</p>
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#diagnostic-information" id="id1">Diagnostic information</a></p>
@@ -38,8 +38,8 @@ and measure your application&#8217;s performance.</p>
</ul>
</li>
</ul>
-</div>
-<section id="diagnostic-information">
+
+</div><section id="diagnostic-information">
<h2 id="diagnostic-information">Diagnostic information</h2>
<section id="viewing-process-statistics-with-the-task-manager">
<h3 id="viewing-process-statistics-with-the-task-manager">Viewing process statistics with the task manager</h3>
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html b/native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html
index e3488e4..2bbe720 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html
@@ -2,7 +2,7 @@
<section id="dynamic-linking-and-loading-with-glibc">
<h1 id="dynamic-linking-and-loading-with-glibc">Dynamic Linking and Loading with glibc</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#introduction" id="id1">Introduction</a></p>
<ul class="small-gap">
@@ -17,8 +17,8 @@
<li><a class="reference internal" href="#opening-a-shared-library-at-runtime" id="id8">Opening a shared library at runtime</a></li>
<li><a class="reference internal" href="#troubleshooting" id="id9">Troubleshooting</a></li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<aside class="caution">
Portable Native Client currently only supports static linking, and the
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/running.html b/native_client_sdk/doc_generated/devguide/devcycle/running.html
index 2327329..1f853e3 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/running.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/running.html
@@ -2,7 +2,7 @@
<section id="running">
<span id="devcycle-running"></span><h1 id="running"><span id="devcycle-running"></span>Running</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id5">Introduction</a></li>
<li><a class="reference internal" href="#portable-native-client-pnacl-applications" id="id6">Portable Native Client (PNaCl) applications</a></li>
@@ -24,8 +24,8 @@
<li><a class="reference internal" href="#technique-3-hosted-application-loaded-as-an-unpacked-extension" id="id16">Technique 3: Hosted application loaded as an unpacked extension</a></li>
<li><a class="reference internal" href="#technique-4-chrome-web-store-application-with-trusted-testers" id="id17">Technique 4: Chrome Web Store application with trusted testers</a></li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>This document describes how to run Native Client applications during
development.</p>
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html b/native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html
index fb122c2..f02a7fc 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html
@@ -2,7 +2,7 @@
<section id="debugging-with-visual-studio">
<h1 id="debugging-with-visual-studio">Debugging With Visual Studio</h1>
-<div class="contents local topic" id="table-of-contents">
+<div class="contents local" id="table-of-contents" style="display: none">
<p class="topic-title first">Table Of Contents</p>
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id1">Introduction</a></li>
@@ -42,8 +42,8 @@
</ul>
</li>
</ul>
-</div>
-<p>Whether you&#8217;re porting an existing project or starting from scratch, the Native
+
+</div><p>Whether you&#8217;re porting an existing project or starting from scratch, the Native
Client Visual Studio add-in makes it easier to set up, build, run and debug
your Native Client app by integrating the Native Client SDK development tools
into the Visual Studio environment.</p>
diff --git a/native_client_sdk/doc_generated/devguide/distributing.html b/native_client_sdk/doc_generated/devguide/distributing.html
index f4978e2..744b4cf 100644
--- a/native_client_sdk/doc_generated/devguide/distributing.html
+++ b/native_client_sdk/doc_generated/devguide/distributing.html
@@ -2,7 +2,7 @@
<section id="distributing-your-application">
<span id="distributing"></span><h1 id="distributing-your-application"><span id="distributing"></span>Distributing Your Application</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#portable-native-client" id="id1">Portable Native Client</a></li>
<li><p class="first"><a class="reference internal" href="#non-portable-native-client" id="id2">Non-portable Native Client</a></p>
@@ -14,8 +14,8 @@
</ul>
</li>
</ul>
-</div>
-<p>This document describes how to distribute Portable Native Client applications
+
+</div><p>This document describes how to distribute Portable Native Client applications
on the web, and Native Client applications through the
<a class="reference external" href="/chrome/web-store/docs/">Chrome Web Store</a> (CWS).</p>
<section id="portable-native-client">
diff --git a/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html b/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html
index 0318171..cd1cf0c 100644
--- a/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html
+++ b/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html
@@ -2,7 +2,7 @@
<section id="c-tutorial-getting-started-part-1">
<span id="tutorial"></span><h1 id="c-tutorial-getting-started-part-1"><span id="tutorial"></span>C++ Tutorial: Getting Started (Part 1)</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#overview" id="id1">Overview</a></p>
<ul class="small-gap">
@@ -21,8 +21,8 @@
<li><a class="reference internal" href="#troubleshooting" id="id12">Troubleshooting</a></li>
<li><a class="reference internal" href="#next-steps" id="id13">Next steps</a></li>
</ul>
-</div>
-<section id="overview">
+
+</div><section id="overview">
<h2 id="overview">Overview</h2>
<p>This tutorial shows how to build and run a web application using Portable Native
Client (PNaCl). This is a client-side application that uses HTML, JavaScript and
diff --git a/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html b/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html
index edcaf74..45fea11 100644
--- a/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html
+++ b/native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html
@@ -2,7 +2,7 @@
<section id="c-tutorial-getting-started-part-2">
<span id="tutorial2"></span><h1 id="c-tutorial-getting-started-part-2"><span id="tutorial2"></span>C++ Tutorial: Getting Started (Part 2)</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
<li><p class="first"><a class="reference internal" href="#using-the-native-client-sdk-build-system" id="id2">Using the Native Client SDK build system</a></p>
@@ -27,8 +27,8 @@
</li>
<li><a class="reference internal" href="#example-specific-behavior-with-example-js" id="id13">Example-specific behavior with example.js</a></li>
</ul>
-</div>
-<section id="overview">
+
+</div><section id="overview">
<h2 id="overview">Overview</h2>
<p>This tutorial shows how to convert the finished PNaCl web application from
<a class="reference internal" href="/native-client/devguide/tutorial/tutorial-part1.html"><em>Part 1</em></a> to use the Native Client SDK build system and
diff --git a/native_client_sdk/doc_generated/faq.html b/native_client_sdk/doc_generated/faq.html
index 3931d8d..8282066 100644
--- a/native_client_sdk/doc_generated/faq.html
+++ b/native_client_sdk/doc_generated/faq.html
@@ -2,7 +2,7 @@
<section id="frequently-asked-questions">
<h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#what-is-native-client-good-for" id="id3">What is Native Client Good For?</a></p>
<ul class="small-gap">
@@ -69,8 +69,8 @@
</ul>
</li>
</ul>
-</div>
-<p>This document answers some frequently asked questions about Native
+
+</div><p>This document answers some frequently asked questions about Native
Client (NaCl) and Portable Native Client (PNaCl, pronounced
&#8220;pinnacle&#8221;). For a high-level overview of Native Client, see the
<a class="reference internal" href="/native-client/overview.html"><em>Technical Overview</em></a>.</p>
diff --git a/native_client_sdk/doc_generated/nacl-and-pnacl.html b/native_client_sdk/doc_generated/nacl-and-pnacl.html
index a49707b..b88ca9a 100644
--- a/native_client_sdk/doc_generated/nacl-and-pnacl.html
+++ b/native_client_sdk/doc_generated/nacl-and-pnacl.html
@@ -4,15 +4,15 @@
<span id="id1"></span><h1 id="nacl-and-pnacl"><span id="id1"></span>NaCl and PNaCl</h1>
<p>This document describes the differences between <strong>Native Client</strong> and
<strong>Portable Native Client</strong>, and provides recommendations for when to use each.</p>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#native-client-nacl" id="id3">Native Client (NaCl)</a></li>
<li><a class="reference internal" href="#portable-native-client-pnacl" id="id4">Portable Native Client (PNaCl)</a></li>
<li><a class="reference internal" href="#when-to-use-pnacl" id="id5">When to use PNaCl</a></li>
<li><a class="reference internal" href="#when-to-use-nacl" id="id6">When to use NaCl</a></li>
</ul>
-</div>
-<section id="native-client-nacl">
+
+</div><section id="native-client-nacl">
<h2 id="native-client-nacl">Native Client (NaCl)</h2>
<p>Native Client enables the execution of native code
securely inside web applications through the use of advanced
diff --git a/native_client_sdk/doc_generated/overview.html b/native_client_sdk/doc_generated/overview.html
index 4e72f57d..4687419 100644
--- a/native_client_sdk/doc_generated/overview.html
+++ b/native_client_sdk/doc_generated/overview.html
@@ -2,7 +2,7 @@
<section id="technical-overview">
<span id="overview"></span><h1 id="technical-overview"><span id="overview"></span>Technical Overview</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id2">Introduction</a></li>
<li><a class="reference internal" href="#why-use-native-client" id="id3">Why use Native Client?</a></li>
@@ -22,8 +22,8 @@
<li><a class="reference internal" href="#versioning" id="id11">Versioning</a></li>
<li><a class="reference internal" href="#where-to-start" id="id12">Where to start</a></li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p><strong>Native Client</strong> (NaCl) is an open-source technology for running native
compiled code in the browser, with the goal of maintaining the portability
diff --git a/native_client_sdk/doc_generated/reference/nacl-manifest-format.html b/native_client_sdk/doc_generated/reference/nacl-manifest-format.html
index 109e86c..8165c0c 100644
--- a/native_client_sdk/doc_generated/reference/nacl-manifest-format.html
+++ b/native_client_sdk/doc_generated/reference/nacl-manifest-format.html
@@ -2,7 +2,7 @@
<section id="native-client-manifest-nmf-format">
<h1 id="native-client-manifest-nmf-format">Native Client Manifest (nmf) Format</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
<li><a class="reference internal" href="#field-summary" id="id2">Field summary</a></li>
@@ -22,8 +22,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="overview">
+
+</div><section id="overview">
<h2 id="overview">Overview</h2>
<p>Every Native Client application has a <a class="reference external" href="http://www.json.org/">JSON-formatted</a>
NaCl Manifest File (<code>nmf</code>). The <code>nmf</code> tells the browser where to
diff --git a/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html b/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
index 4c5a714..bdc0be9 100644
--- a/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
+++ b/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
@@ -2,7 +2,7 @@
<section id="pnacl-bitcode-reference-manual">
<h1 id="pnacl-bitcode-reference-manual">PNaCl Bitcode Reference Manual</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#introduction" id="id1">Introduction</a></li>
<li><p class="first"><a class="reference internal" href="#high-level-structure" id="id2">High Level Structure</a></p>
@@ -51,8 +51,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="introduction">
+
+</div><section id="introduction">
<h2 id="introduction">Introduction</h2>
<p>This document is a reference manual for the PNaCl bitcode format. It describes
the bitcode on a <em>semantic</em> level; the physical encoding level will be described
diff --git a/native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html b/native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html
index 4179c94..1ec228a 100644
--- a/native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html
+++ b/native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html
@@ -2,7 +2,7 @@
<section id="pnacl-c-c-language-support">
<h1 id="pnacl-c-c-language-support">PNaCl C/C++ Language Support</h1>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><p class="first"><a class="reference internal" href="#source-language-support" id="id2">Source language support</a></p>
<ul class="small-gap">
@@ -29,8 +29,8 @@
</ul>
</li>
</ul>
-</div>
-<section id="source-language-support">
+
+</div><section id="source-language-support">
<h2 id="source-language-support">Source language support</h2>
<p>The currently supported languages are C and C++. The PNaCl toolchain is
based on Clang 3.3, which fully supports C++11 and most of C11. A
diff --git a/native_client_sdk/doc_generated/rest-devsite-examples.html b/native_client_sdk/doc_generated/rest-devsite-examples.html
index ee86706..636105d 100644
--- a/native_client_sdk/doc_generated/rest-devsite-examples.html
+++ b/native_client_sdk/doc_generated/rest-devsite-examples.html
@@ -5,7 +5,7 @@
<p>This is an auto-generated table of contents for this document. <code>:local:</code> and
<code>:backlinks: none</code> are required to make the devsite look consistent;
<code>:depth:</code> level can be controlled.</p>
-<div class="contents local topic" id="contents">
+<div class="contents local" id="contents" style="display: none">
<ul class="small-gap">
<li><a class="reference internal" href="#document-structure" id="id1">Document structure</a></li>
<li><p class="first"><a class="reference internal" href="#basic-markup" id="id2">Basic markup</a></p>
@@ -37,8 +37,8 @@
<li><a class="reference internal" href="#lists" id="id16">Lists</a></li>
<li><a class="reference internal" href="#tables" id="id17">Tables</a></li>
</ul>
-</div>
-<section id="document-structure">
+
+</div><section id="document-structure">
<h2 id="document-structure">Document structure</h2>
<p>A document starts with a Sphinx target which serves as the document name
throughout the tree. It can serve as a link target in other documents that want
diff --git a/native_client_sdk/src/doc/_sphinxext/chromesite_builder.py b/native_client_sdk/src/doc/_sphinxext/chromesite_builder.py
index 4b3cac3..5a54369 100644
--- a/native_client_sdk/src/doc/_sphinxext/chromesite_builder.py
+++ b/native_client_sdk/src/doc/_sphinxext/chromesite_builder.py
@@ -53,6 +53,8 @@ class ChromesiteHTMLTranslator(HTMLTranslator):
# direct parent invocation.
HTMLTranslator.__init__(self, builder, *args, **kwds)
+ self.within_toc = False
+
def visit_bullet_list(self, node):
# Use our own class attribute for <ul>. Don't care about compacted lists.
self.body.append(self.starttag(node, 'ul', **{'class': 'small-gap'}))
@@ -128,6 +130,25 @@ class ChromesiteHTMLTranslator(HTMLTranslator):
else:
HTMLTranslator.depart_reference(self, node)
+ def visit_topic(self, node):
+ if 'contents' in node['classes']:
+ # TODO(binji):
+ # Detect a TOC: we want to hide these from chromesite, but still keep
+ # them in devsite. An easy hack is to add display: none to the element
+ # here.
+ # When we remove devsite support, we can remove this hack.
+ self.within_toc = True
+ attrs = {'style': 'display: none'}
+ self.body.append(self.starttag(node, 'div', **attrs))
+ else:
+ HTMLTranslator.visit_topic(self, node)
+
+ def depart_topic(self, node):
+ if self.within_toc:
+ self.body.append('\n</div>')
+ else:
+ HTMLTranslator.visit_topic(self, node)
+
def write_colspecs(self):
# Override this method from docutils to do nothing. We don't need those
# pesky <col width=NN /> tags in our markup.