class_docstr: This custom Renderer is heavily based on the `MarkdownRenderer`,
  it just prepends a front matter so that the output can be published
  directly to readme.io.
class_docstr_tok: ["This","custom","Renderer","is","heavily","based","on","the","`","MarkdownRenderer","`",",","it","just","prepends","a","front","matter","so","that","the","output","can","be","published","directly","to","readme.io","."]
docstr: Returns the docs version.
docstr_tok: ["Returns","the","docs","version","."]
code: def _doc_version(self) -> str:
      """
      Returns the docs version.
      """
      root = Path(__file__).absolute().parent.parent.parent
      full_version = (root / "VERSION.txt").read_text()
      major, minor = full_version.split(".")[:2]
      if "rc0" in full_version:
          return f"v{major}.{minor}-unstable"
      return f"v{major}.{minor}"
  
imports: import os
  import sys
  import io
  import dataclasses
  import typing
  import base64
  import warnings
  from pathlib import Path
  import requests
  import docspec
  from pydoc_markdown.interfaces import Context, Renderer
  from pydoc_markdown.contrib.renderers.markdown import MarkdownRenderer
label_desc: Use image node_id 2 for calling the ReadmeRenderer obj's underlying member method code with example usage: obj._doc_version() and returns: str, major, str, minor, str, major, str, minor, str