se elimina debug_paths.py
parent
2f458c16d2
commit
df6574a8cb
|
@ -1,30 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
# Directorio base desde donde se ejecuta mkdocs
|
||||
base_dir = os.getcwd()
|
||||
print(f"Directorio base: {base_dir}\n")
|
||||
|
||||
# Rutas a comprobar
|
||||
snippet_paths = [
|
||||
"sections/oggui-grupos.md",
|
||||
"sections/oggui-acciones.md",
|
||||
"sections/oggui-cierre.md"
|
||||
]
|
||||
|
||||
# Posibles directorios base para los snippets
|
||||
base_paths = [
|
||||
base_dir,
|
||||
os.path.join(base_dir, "docs"),
|
||||
os.path.join(base_dir, "docs/es/administration"),
|
||||
os.path.join(base_dir, "docs/en/administration"),
|
||||
# Añade más rutas si es necesario
|
||||
]
|
||||
|
||||
print("Comprobando rutas de snippets:")
|
||||
for base_path in base_paths:
|
||||
print(f"\nDesde base: {base_path}")
|
||||
for snippet in snippet_paths:
|
||||
full_path = os.path.join(base_path, snippet)
|
||||
exists = os.path.exists(full_path)
|
||||
print(f" - {full_path} {'EXISTE' if exists else 'NO EXISTE'}")
|
Loading…
Reference in New Issue