Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

little things to readme and sections

  • Loading branch information...
commit eb177f8aae61197d494d2356dada78bab72f76c4 1 parent 4020dad
@fitzgen authored
Showing with 7 additions and 7 deletions.
  1. +3 −3 README
  2. +4 −4 pycco/main.py
View
6 README
@@ -10,9 +10,9 @@
Y8b d88P
"Y88P"
-Pycco is a Python port of Docco: the original quick-and-dirty,
-hundred-line-long, literate-programming-style documentation generator. For more
-information, see:
+Pycco is a Python port of Docco: the original quick-and-dirty, hundred-line-
+long, literate-programming-style documentation generator. For more information,
+see:
http://fitzgen.github.com/pycco/
View
8 pycco/main.py
@@ -140,7 +140,7 @@ def save(docs, code):
return sections
# === Preprocessing the comments ===
-#
+
# Add cross-references before having the text processed by markdown. It's
# possible to reference another file, like this : `[[main.py]]` which renders
# [[main.py]]. You can also reference a specific section of another file, like
@@ -182,7 +182,7 @@ def replace_section_name(match):
return comment
# === Highlighting the source code ===
-#
+
# Highlights a single chunk of code using the **Pygments** module, and runs the
# text of its corresponding comment through **Markdown**.
#
@@ -213,7 +213,7 @@ def highlight(source, sections, preserve_paths=True, outdir=None):
section["num"] = i
# === HTML Code generation ===
-#
+
# Once all of the code is finished highlighting, we can generate the HTML file
# and write out the documentation. Pass the completed sections into the template
# found in `resources/pycco.html`
@@ -232,7 +232,7 @@ def generate_html(source, sections, preserve_paths=True, outdir=None):
"destination" : destination
}).encode("utf-8")
-#### Helpers & Setup
+# === Helpers & Setup ===
# This module contains all of our static resources.
import pycco_resources
Please sign in to comment.
Something went wrong with that request. Please try again.