[Groonga-commit] groonga/groonga at 773f10f [master] doc: fix code block syntax

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 16 15:34:38 JST 2013


Kouhei Sutou	2013-12-16 15:34:38 +0900 (Mon, 16 Dec 2013)

  New Revision: 773f10f53bf2ea4d87af183374c2c63c47a4fdbf
  https://github.com/groonga/groonga/commit/773f10f53bf2ea4d87af183374c2c63c47a4fdbf

  Message:
    doc: fix code block syntax

  Modified files:
    doc/source/reference/api/grn_column.txt

  Modified: doc/source/reference/api/grn_column.txt (+15 -15)
===================================================================
--- doc/source/reference/api/grn_column.txt    2013-12-16 15:26:35 +0900 (67b9470)
+++ doc/source/reference/api/grn_column.txt    2013-12-16 15:34:38 +0900 (e44c4fb)
@@ -23,10 +23,10 @@ Reference
    It returns the name of :doc:`/reference/pseudo_column` ``_id``.
 
    It is useful to use with :c:macro:`GRN_COLUMN_NAME_ID_LEN` like
-   the following:
+   the following::
 
-       grn_obj *id_column;
-       id_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_ID, GRN_COLUMN_NAME_ID_LEN);
+     grn_obj *id_column;
+     id_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_ID, GRN_COLUMN_NAME_ID_LEN);
 
    Since 3.1.1.
 
@@ -41,10 +41,10 @@ Reference
    It returns the name of :doc:`/reference/pseudo_column` ``_key``.
 
    It is useful to use with :c:macro:`GRN_COLUMN_NAME_KEY_LEN` like
-   the following:
+   the following::
 
-       grn_obj *key_column;
-       key_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_KEY, GRN_COLUMN_NAME_KEY_LEN);
+     grn_obj *key_column;
+     key_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_KEY, GRN_COLUMN_NAME_KEY_LEN);
 
    Since 3.1.1.
 
@@ -59,10 +59,10 @@ Reference
    It returns the name of :doc:`/reference/pseudo_column` ``_value``.
 
    It is useful to use with :c:macro:`GRN_COLUMN_NAME_VALUE_LEN` like
-   the following:
+   the following::
 
-       grn_obj *value_column;
-       value_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_VALUE, GRN_COLUMN_NAME_VALUE_LEN);
+     grn_obj *value_column;
+     value_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_VALUE, GRN_COLUMN_NAME_VALUE_LEN);
 
    Since 3.1.1.
 
@@ -77,10 +77,10 @@ Reference
    It returns the name of :doc:`/reference/pseudo_column` ``_score``.
 
    It is useful to use with :c:macro:`GRN_COLUMN_NAME_SCORE_LEN` like
-   the following:
+   the following::
 
-       grn_obj *score_column;
-       score_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_SCORE, GRN_COLUMN_NAME_SCORE_LEN);
+     grn_obj *score_column;
+     score_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_SCORE, GRN_COLUMN_NAME_SCORE_LEN);
 
    Since 3.1.1.
 
@@ -95,10 +95,10 @@ Reference
    It returns the name of :doc:`/reference/pseudo_column` ``_nsubrecs``.
 
    It is useful to use with :c:macro:`GRN_COLUMN_NAME_NSUBRECS_LEN` like
-   the following:
+   the following::
 
-       grn_obj *nsubrecs_column;
-       nsubrecs_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_NSUBRECS, GRN_COLUMN_NAME_NSUBRECS_LEN);
+     grn_obj *nsubrecs_column;
+     nsubrecs_column = grn_ctx_get(ctx, GRN_COLUMN_NAME_NSUBRECS, GRN_COLUMN_NAME_NSUBRECS_LEN);
 
    Since 3.1.1.
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index