summaryrefslogtreecommitdiff
path: root/docs/conventions.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-27 03:46:22 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-27 03:46:22 +0000
commit878328bdfc3b5ac832f1728e4a0461e3129cf8d4 (patch)
tree3ef62304ccaf4ecbead0d124e9de8e1acf3f9416 /docs/conventions.rst
parent8be78e06c8395587617f6a4f9d4e5ad74a907d7e (diff)
downloadpyramid-878328bdfc3b5ac832f1728e4a0461e3129cf8d4.tar.gz
pyramid-878328bdfc3b5ac832f1728e4a0461e3129cf8d4.tar.bz2
pyramid-878328bdfc3b5ac832f1728e4a0461e3129cf8d4.zip
Latex rendering.
Documentation licensing.
Diffstat (limited to 'docs/conventions.rst')
-rw-r--r--docs/conventions.rst63
1 files changed, 63 insertions, 0 deletions
diff --git a/docs/conventions.rst b/docs/conventions.rst
new file mode 100644
index 000000000..23c0017b6
--- /dev/null
+++ b/docs/conventions.rst
@@ -0,0 +1,63 @@
+Typographical Conventions
+=========================
+
+The following typographical conventions are used within this guide.
+
+Literals, filenames and function arguments are presented using the
+following style:
+
+ ``argument1``
+
+Warnings, which represent limitations and need-to-know information
+related to a topic or concept are presented in the following style:
+
+ .. warning::
+
+ This is a warning.
+
+Notes, which represent additional information related to a topic or
+concept are presented in the following style:
+
+.. note::
+
+ This is a note.
+
+We present Python class names using the following style:
+
+ :class:`Python.class.name`
+
+We present Python method names using the following style:
+
+ :meth:`Python.method_name`.
+
+We present Python module names using the following style:
+
+ :mod:`Python.module.name`.
+
+We present Python attributes and global variables using the following
+style:
+
+ :data:`Python.attribute`.
+
+References ot glossary terms and other document sections are presented
+using the following style:
+
+ :term:`Repoze`.
+
+Python code blocks are presented in the following style:
+
+ .. code-block:: python
+ :linenos:
+
+ def foo(abc):
+ pass
+
+Blocks of XML markup are presented in the following style:
+
+ .. code-block:: xml
+ :linenos:
+
+ <root>
+ <!-- ... more XML .. -->
+ </root>
+