Skip to content

Commit

Permalink
docs,man: Fix codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Jun 30, 2020
1 parent fe3f312 commit b8a4d24
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/contributions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ You can write a parser with regex patterns.
a parser written in regex patterns into C source code.

The `man` parser is one example described in regex patterns.
See the output of the following command line for details:
See the output of the following command line for details::

`git show 0a9e78a8a40e8595b3899e2ad249c8f2c3819c8a^..89aa548`
git show 0a9e78a8a40e8595b3899e2ad249c8f2c3819c8a^..89aa548

Translated C code is also committed to our git repository. The
translated code is useful for building ctags on the platforms where
Expand Down
2 changes: 1 addition & 1 deletion docs/man/ctags.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ imbalance results from following a #if conditional branch.

ctags will also try to specially handle arguments lists
enclosed in double sets of parentheses in order to accept the following
conditional construct:
conditional construct::

extern void foo __ARGS((int one, char two));

Expand Down
8 changes: 4 additions & 4 deletions docs/optlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ passed through command line.

The following file is an example of an option file:

.. code-block:: python
.. code-block::
# Exclude directories that don't contain real code
--exclude=Units
Expand All @@ -44,9 +44,9 @@ Whitespaces at the start of lines are ignored during loading.

And it works exactly as if we had called:

```sh
ctags --exclude=Units --exclude=tinst-root --exclude=Tmain
```
.. code-block:: sh
ctags --exclude=Units --exclude=tinst-root --exclude=Tmain
There are two categories of option files, though they both contain command
line options: **preload** and **optlib** option files.
Expand Down
2 changes: 1 addition & 1 deletion man/ctags.1.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ imbalance results from following a #if conditional branch.

@CTAGS_NAME_EXECUTABLE@ will also try to specially handle arguments lists
enclosed in double sets of parentheses in order to accept the following
conditional construct:
conditional construct::

extern void foo __ARGS((int one, char two));

Expand Down

0 comments on commit b8a4d24

Please sign in to comment.