docs: def _make_module_refnode(self, builder, fromdocname, name, contnode):
          """Helper function to generate new xref node based on
          current environment.
          """
          # Get additional info for modules.
          docname, synopsis, platform, deprecated = self.data['modules'][name]
          title = name
          if synopsis:
              title += ': ' + synopsis
          if deprecated:
              title += _(' (deprecated)')
          if platform:
              title += ' (' + platform + ')'
          return make_refnode(builder, fromdocname, docname,
                              'module-' + name, contnode, title)