Made i18n a post, and added multiple posting draft.

This commit is contained in:
Ahmet Bakan 2014-07-29 23:04:28 -07:00
parent 416d089343
commit 50ba0a493f
3 changed files with 50 additions and 12 deletions

View file

@ -54,7 +54,8 @@ blog_locations = {
}
blog_authors = {
'Ahmet': ('Ahmet Bakan', 'http://ahmetbakan.com'),
'Napi': ('Lord Napi', 'http://ahmetbakan.com'),
'Luc': ('Luc Saffre', 'http://saffre-rumma.net/luc/'),
}
disqus_shortname = 'ablogforsphinx'
disqus_pages = True

View file

@ -1,10 +1,16 @@
Add i18n to ablog
=================
ABlog Internationalization
==========================
ABlog automatically generates certain strings like "Recent posts",
"Categories". If these strings appear in English on your blog although you specified another language, then this page is for you.
.. post:: Jun 10, 2014
:tags: i18n
:category: Manual
:author: Luc
These strings need to be translated. Ablog needs your help.
ABlog automatically generates certain labels like :ref:`blog-posts` and
:ref:`blog-categories`. If these labels appear in English on your blog
although you specified another language, then this page is for you.
These labels need to be translated. ABlog needs your help.
.. _extract_messages: http://babel.edgewall.org/wiki/Documentation/setup.html#extract-messages

View file

@ -0,0 +1,31 @@
Multiple Posting
================
.. post:: Jun 10, 2014
:tags: directive
:category: Manual
:location: SF
:author: Ahmet
:rst:dir:`post` directive now can be used multiple times in a single page
to create multiple posts of different sections of the document.
Posting a Section
-----------------
.. post:: Jun 10, 2014
:tags: directive
:category: Manual
:location: SF
:author: Ahmet
Second time a document is posted, post title and excerpt will be extracted
from the section in which the :rst:dir:`post` directive resides.
The section post will be treated like any other document post, except:
* Next and previous links at the bottom will only regard the first post
in the document,
* ...