test: fix documentation tests

This commit is contained in:
Krrish Dholakia 2024-11-26 13:44:36 +05:30
parent 8ec0e8cbc4
commit 195112565d
2 changed files with 6 additions and 2 deletions

View file

@ -45,7 +45,9 @@ print(env_keys)
# Parse the documentation to extract documented keys
repo_base = "./"
print(os.listdir(repo_base))
docs_path = "./docs/my-website/docs/proxy/configs.md" # Path to the documentation
docs_path = (
"../docs/my-website/docs/proxy/config_settings.md" # Path to the documentation
)
documented_keys = set()
try:
with open(docs_path, "r", encoding="utf-8") as docs_file:

View file

@ -34,7 +34,9 @@ for root, dirs, files in os.walk(repo_base):
# Parse the documentation to extract documented keys
repo_base = "./"
print(os.listdir(repo_base))
docs_path = "./docs/my-website/docs/proxy/configs.md" # Path to the documentation
docs_path = (
"./docs/my-website/docs/proxy/config_settings.md" # Path to the documentation
)
documented_keys = set()
try:
with open(docs_path, "r", encoding="utf-8") as docs_file: