Commits

Juri Pakaste committed fe118c1

So bitbucket doesn't support code-block in reStructuredText. Does just code work?

Comments (0)

Files changed (1)

 
 To install, use ``setup.py``:
 
-.. code-block:: bash
+.. code:: bash
 
  $ sudo python ./setup.py install
 
 
 Call ``nsstringfromenumgen`` with one or more Objective-C source files. It parses them and outputs NSStringFromEnum functions for each enumeration found. It tries to be smart with typedefs and enum names and if it finds both names, it produces two functions. It also outputs an extern declaration for each function:
 
-.. code-block:: bash
+.. code:: bash
 
  $ nsstringfromenumgen Foo.h
 
-.. code-block:: objc
+.. code:: objc
 
  extern NSString* NSStringFromAnEnum(AnEnum v);
  NSString* NSStringFromAnEnum(AnEnum v) {
 
 If your enums have values defined, they will be included too:
 
-.. code-block:: objc
+.. code:: objc
 
  extern NSString* NSStringFromValuesEnum(ValuesEnum v);
  NSString* NSStringFromValuesEnum(ValuesEnum v) {
 
 You can also instruct ``nsstringfromenumgen`` to treat your enums as options for a bitmask by including the ``--mask`` flag:
 
-.. code-block:: bash
+.. code:: bash
 
  $ nsstringfromenumgen Foo.h --mask
 
-.. code-block:: objc
+.. code:: objc
 
  extern NSString* NSStringFromMaskEnum(enum MaskEnum v);
  NSString* NSStringFromMaskEnum(enum MaskEnum v) {
 
 If that sounds right and you install it as a service, you can feed it code blocks like:
 
-.. code-block:: objc
+.. code:: objc
 
    typedef NS_ENUM(NSInteger, AnEnum) {
      AnEnumFirstValue,
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.