README
author amit
Fri, 15 Oct 2010 16:14:20 +0530
changeset 0 980530aeb560
permissions -rw-r--r--
First Commit of Commenting system for sphinx
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     1
.. -*- restructuredtext -*-
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     2
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     3
=================
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     4
README for sphinx-simplecomment
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     5
=================
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     6
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     7
The Project
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     8
===========
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
     9
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    10
The project is inspired by django book and hg book. It allows us 
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    11
to comment on sphinx documentation. It basically contains a builder
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    12
file called simplecomment.py. This script creates id tags on all paragraphs 
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    13
of all html output. The javascipt file simplecomment.js and sphinx_django 
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    14
app are used to track all the comments and DOM-manipulation.
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    15
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    16
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    17
Installing
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    18
==========
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    19
The installation procedure is supposed to be something like ::
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    20
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    21
sphinx-quickstart
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    22
make simplecomment
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    23
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    24
Copy the paragraph_id.py file created in project/_build/commenthtml/ to sphinx_django app .
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    25
Also copy the simplecomment.js javascript file to project/_build/commenthtml/_static/
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    26
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    27
Change the urls.py to point to the whereever your commenthtml/ directory is .
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    28
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    29
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    30
This should be it.
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    31
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    32
The most important TO-DO is to smoothen all these processes.
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    33
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    34
980530aeb560 First Commit of Commenting system for sphinx
amit
parents:
diff changeset
    35