9. I18N WITH LITERAL BLOCK

CORRECT LITERAL BLOCK:

this is
literal block

MISSING LITERAL BLOCK:

System Message: WARNING/2 (/Users/tkomiya/work/sphinx/tests/build/test-intl/literalblock.txt, line 13)

Literal block expected; none found.

THAT’S ALL.

10. CODE-BLOCKS

def main
   'result'
end
#include <stdlib.h>
int main(int argc, char** argv)
{
    return 0;
}
#include <stdio.h>
int main(int argc, char** argv)
{
    return 0;
}

11. DOCTEST-BLOCKS

>>> import sys  # sys importing
>>> def main():  # define main function
...     sys.stdout.write('hello')  # call write method of stdout object
>>>
>>> if __name__ == '__main__':  # if run this py file as python script
...     main()  # call main