code: def _buildTemplates(self):
          
  
          # Ontology - MAIN PAGE
          contents = self._renderTemplate(
              "markdown/markdown_ontoinfo.md", extraContext=None)
          FILE_NAME = "index.md"
          main_url = self._save2File(contents, FILE_NAME, self.output_path)
  
          browser_output_path = self.output_path
  
          if self.ontospy_graph.all_classes:
  
              # BROWSER PAGES - CLASSES ======
              for entity in self.ontospy_graph.all_classes:
                  extra_context = {
                      "main_entity": entity,
                      "main_entity_type": "class",
                      "ontograph": self.ontospy_graph
                  }
                  contents = self._renderTemplate(
                      "markdown/markdown_classinfo.md",
                      extraContext=extra_context)
                  FILE_NAME = entity.slug + ".md"
                  self._save2File(contents, FILE_NAME, browser_output_path)
  
          if self.ontospy_graph.all_properties:
  
              # BROWSER PAGES - PROPERTIES ======
              for entity in self.ontospy_graph.all_properties:
                  extra_context = {
                      "main_entity": entity,
                      "main_entity_type": "property",
                      "ontograph": self.ontospy_graph
                  }
                  contents = self._renderTemplate(
                      "markdown/markdown_propinfo.md",
                      extraContext=extra_context)
                  FILE_NAME = entity.slug + ".md"
                  self._save2File(contents, FILE_NAME, browser_output_path)
  
          if self.ontospy_graph.all_skos_concepts:
  
              # BROWSER PAGES - CONCEPTS ======
              for entity in self.ontospy_graph.all_skos_concepts:
                  extra_context = {
                      "main_entity": entity,
                      "main_entity_type": "concept",
                      "ontograph": self.ontospy_graph
                  }
                  contents = self._renderTemplate(
                      "markdown/markdown_conceptinfo.md",
                      extraContext=extra_context)
                  FILE_NAME = entity.slug + ".ms"
                  self._save2File(contents, FILE_NAME, browser_output_path)
  
          return main_url
docs: OVERRIDING THIS METHOD from Factory