for testing purposes
diff --git a/scripts/describe_apis.py b/scripts/describe.py old mode 100755 new mode 100644 similarity index 99% rename from scripts/describe_apis.py rename to scripts/describe.py index e5ca214..0992b22 --- a/scripts/describe_apis.py +++ b/scripts/describe.py
@@ -39,6 +39,7 @@ DISCOVERY_DOC_DIR = ( pathlib.Path(__file__).parent.resolve() + / ".." / "googleapiclient" / "discovery_cache" / "documents" @@ -134,7 +135,7 @@ <code><a href="#$name">$name($params)</a></code></p> <p class="firstline">$firstline</p>""" -BASE = pathlib.Path(__file__).parent.resolve() / "docs" / "dyn" +BASE = pathlib.Path(__file__).parent.resolve() / ".." / "docs" / "dyn" DIRECTORY_URI = "https://www.googleapis.com/discovery/v1/apis"
diff --git a/scripts/updatediscoveryartifacts.py b/scripts/updatediscoveryartifacts.py index af8e173..a4d9ef3 100644 --- a/scripts/updatediscoveryartifacts.py +++ b/scripts/updatediscoveryartifacts.py
@@ -20,7 +20,7 @@ import changesummary -import describe_apis +import describe SCRIPTS_DIR = pathlib.Path(__file__).parent.resolve() DISCOVERY_DOC_DIR = ( @@ -45,7 +45,7 @@ shutil.copytree(DISCOVERY_DOC_DIR, current_discovery_doc_dir, dirs_exist_ok=True) # Download discovery artifacts and generate documentation - describe_apis.generate_all_api_documents() + describe.generate_all_api_documents() # Get a list of files changed using `git diff` git_diff_output = subprocess.check_output(