parameters: (docs_static_dir: str)
docstring: Changes home url of documentation page, so it points to landing page.
docstring_summary: Changes home url of documentation page, so it points to landing page.
docstring_tokens: Changes home url of documentation page so it points to landing page .
function: def change_url_to_landing_page(docs_static_dir: str) -> None:
      """ Changes home url of documentation page, so it points to landing page.
      """
      index_html = os.path.join(docs_static_dir, 'index.html')
      with open(index_html, 'r') as index_read:
        index_str = index_read.read()
      repl_url = index_str.replace('<a href="#" class="icon icon-home"> TriBITS',
                     '<a href="../index.html" class="icon icon-home"> TriBITS')
      with open(index_html, 'w') as index_write:
        index_write.write(repl_url)
function_tokens: def change_url_to_landing_page ( docs_static_dir : str ) -> None : index_html = os . path . join ( docs_static_dir , 'index.html' ) with open ( index_html , 'r' ) as index_read : index_str = index_read . read ( ) repl_url = index_str . replace ( '<a href="#" class="icon icon-home"> TriBITS' , '<a href="../index.html" class="icon icon-home"> TriBITS' ) with open ( index_html , 'w' ) as index_write : index_write . write ( repl_url )