Update mkdocs site creation rules

This commit is contained in:
Michael Mintz 2020-09-09 10:02:35 -04:00
parent 0bf5179146
commit 5bfd9f1801
2 changed files with 1 additions and 4 deletions

View File

@ -815,7 +815,7 @@ Additionally, you can use the ``@retry_on_exception()`` decorator to specificall
<div><b>If you like us, give us a star!</b></div>
<div><a href="https://github.com/seleniumbase/SeleniumBase/stargazers"><img src="https://img.shields.io/github/stars/seleniumbase/seleniumbase.svg?color=888CFA" title="Stargazers" /></a></div>
</p>
<div><!--not_for_site--><iframe src="https://seleniumbase.io/help_docs/ReadMe/" title="Docs"></iframe></div>
<div><iframe src="https://seleniumbase.io/help_docs/ReadMe/" title="Docs"></iframe></div>
<p><div><a href="https://github.com/mdmintz">https://github.com/mdmintz</a></div></p>
<div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/sb_logo_b.png" title="SeleniumBase" width="290" /></a></div>

View File

@ -115,9 +115,6 @@ def main(*args, **kwargs):
'title="SeleniumBase" width="20" /> SeleniumBase Docs '
'<img src="https://seleniumbase.io/img/sb_icon.png" '
'title="SeleniumBase" width="20" /></h2>')
if "<!--not_for_site--><iframe" in line and "</iframe>" in line:
changed = True
line = ("")
seleniumbase_lines.append(line)
if changed:
out_file = codecs.open(readme_file, "w+", encoding='utf-8')