abakan-zz / ablog

ABlog for blogging with Sphinx
ablog.readthedocs.org
Other
122 stars 35 forks source link

Disable comments for the current post #64

Closed ninmesara closed 8 years ago

ninmesara commented 8 years ago

User can now disable comments for the current post.

Example:

.. post:: 15 Apr, 2013
   :tags: tips, ablog, directive
   :category: Example, How To
   :author: Ahmet, Durden
   :nocomments:
ninmesara commented 8 years ago

I'd like to be able to disable comments for specific pages, but I'm not familiar enough with Sphinx to do it properly. Maybe we could add a

nocomments = ['page-1', 'page-2', 'page-3']

Configuration options, but it seems inelegant. There should be some way to disable comments in the document itself.

abakan-zz commented 8 years ago

Thanks, this looks good. There is just one typo in documentation page.

ninmesara commented 8 years ago

Done.

abakan-zz commented 8 years ago

Thanks!