[pypy-svn] pypy default: (dmalcolm, lac, necaris): Remove sectnum directives from docs to avoid ugliness in top-level index
dmalcolm
commits-noreply at bitbucket.org
Thu Mar 17 18:55:52 CET 2011
Author: David Malcolm <dmalcolm at redhat.com>
Branch:
Changeset: r42743:0aa953aafa8f
Date: 2011-03-14 13:40 -0400
http://bitbucket.org/pypy/pypy/changeset/0aa953aafa8f/
Log: (dmalcolm, lac, necaris): Remove sectnum directives from docs to
avoid ugliness in top-level index
diff --git a/pypy/doc/getting-started.txt b/pypy/doc/getting-started.txt
--- a/pypy/doc/getting-started.txt
+++ b/pypy/doc/getting-started.txt
@@ -2,9 +2,6 @@
PyPy - Getting Started
==================================
-.. contents::
-.. sectnum::
-
.. _howtopypy:
What is PyPy ?
diff --git a/pypy/doc/interpreter.txt b/pypy/doc/interpreter.txt
--- a/pypy/doc/interpreter.txt
+++ b/pypy/doc/interpreter.txt
@@ -3,7 +3,7 @@
===================================
.. contents::
-.. sectnum::
+
Introduction and Overview
diff --git a/pypy/doc/docindex.txt b/pypy/doc/docindex.txt
--- a/pypy/doc/docindex.txt
+++ b/pypy/doc/docindex.txt
@@ -4,7 +4,7 @@
.. _Python: http://www.python.org/doc/2.5.2/
-.. sectnum::
+
.. contents:: :depth: 1
diff --git a/pypy/doc/coding-guide.txt b/pypy/doc/coding-guide.txt
--- a/pypy/doc/coding-guide.txt
+++ b/pypy/doc/coding-guide.txt
@@ -3,7 +3,7 @@
=====================================
.. contents::
-.. sectnum::
+
This document describes coding requirements and conventions for
diff --git a/pypy/doc/garbage_collection.txt b/pypy/doc/garbage_collection.txt
--- a/pypy/doc/garbage_collection.txt
+++ b/pypy/doc/garbage_collection.txt
@@ -3,7 +3,7 @@
==========================
.. contents::
-.. sectnum::
+
Introduction
============
diff --git a/pypy/doc/objspace-proxies.txt b/pypy/doc/objspace-proxies.txt
--- a/pypy/doc/objspace-proxies.txt
+++ b/pypy/doc/objspace-proxies.txt
@@ -3,7 +3,7 @@
=================================
.. contents::
-.. sectnum::
+
Thanks to the `Object Space`_ architecture, any feature that is
diff --git a/pypy/doc/rtyper.txt b/pypy/doc/rtyper.txt
--- a/pypy/doc/rtyper.txt
+++ b/pypy/doc/rtyper.txt
@@ -2,7 +2,7 @@
=================
.. contents::
-.. sectnum::
+
The RPython Typer lives in the directory `pypy/rpython/`_.
diff --git a/pypy/doc/getting-started-python.txt b/pypy/doc/getting-started-python.txt
--- a/pypy/doc/getting-started-python.txt
+++ b/pypy/doc/getting-started-python.txt
@@ -3,7 +3,7 @@
==============================================
.. contents::
-.. sectnum::
+
PyPy's Python interpreter is a very compliant Python
interpreter implemented in Python. When translated to C, it passes most of
diff --git a/pypy/doc/translation-aspects.txt b/pypy/doc/translation-aspects.txt
--- a/pypy/doc/translation-aspects.txt
+++ b/pypy/doc/translation-aspects.txt
@@ -3,7 +3,7 @@
==========================================================================================
.. contents::
-.. sectnum::
+
Introduction
=============
diff --git a/pypy/doc/architecture.txt b/pypy/doc/architecture.txt
--- a/pypy/doc/architecture.txt
+++ b/pypy/doc/architecture.txt
@@ -3,7 +3,7 @@
==================================================
.. contents::
-.. sectnum::
+
This document gives an overview of the goals and architecture of PyPy.
See `getting started`_ for a practical introduction and starting points.
diff --git a/pypy/doc/translation.txt b/pypy/doc/translation.txt
--- a/pypy/doc/translation.txt
+++ b/pypy/doc/translation.txt
@@ -3,7 +3,7 @@
=====================
.. contents::
-.. sectnum::
+
This document describes the tool chain that we have developed to analyze
and "compile" RPython_ programs (like PyPy itself) to various target
diff --git a/pypy/doc/getting-started-dev.txt b/pypy/doc/getting-started-dev.txt
--- a/pypy/doc/getting-started-dev.txt
+++ b/pypy/doc/getting-started-dev.txt
@@ -3,7 +3,7 @@
===============================================================================
.. contents::
-.. sectnum::
+
.. _`try out the translator`:
diff --git a/pypy/doc/theory.txt b/pypy/doc/theory.txt
--- a/pypy/doc/theory.txt
+++ b/pypy/doc/theory.txt
@@ -3,7 +3,7 @@
===================================
.. contents::
-.. sectnum::
+
.. _`abstract interpretation`:
diff --git a/pypy/doc/low-level-encapsulation.txt b/pypy/doc/low-level-encapsulation.txt
--- a/pypy/doc/low-level-encapsulation.txt
+++ b/pypy/doc/low-level-encapsulation.txt
@@ -3,7 +3,7 @@
============================================================
.. contents::
-.. sectnum::
+
Abstract
diff --git a/pypy/doc/objspace.txt b/pypy/doc/objspace.txt
--- a/pypy/doc/objspace.txt
+++ b/pypy/doc/objspace.txt
@@ -3,7 +3,7 @@
======================
.. contents::
-.. sectnum::
+
.. _`objectspace`:
.. _`Object Space`:
More information about the Pypy-commit
mailing list