Unverified Commit dedf1dff authored by Sebastian Kaspari's avatar Sebastian Kaspari
Browse files

Issue #1995: Remove unneeded generate_reference_page.py script.

parent 9be1e53d
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys
import os
def add_version_to_reference_page(version):
with open('docs/reference.md', 'r') as f:
content = f.read()
content = content.replace(
"<!-- MARKER -->",
"<!-- MARKER -->\n## [%s](../api/%s/index)" % (version, version))
with open('docs/reference.md', 'w') as f:
def main():
version = sys.argv[1]
if __name__ == "__main__":
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment