code: def get_codeblock(language, text):
      
      rst = "\n\n.. code-block:: " + language + "\n\n"
      for line in text.splitlines():
          rst += "\t" + line + "\n"
  
      rst += "\n"
      return rst
docs: Generates rst codeblock for given text and language