Spaces:
Running
Running
File size: 370 Bytes
f3f2a15 e841ba5 f3f2a15 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import os
from components.legacy.Docs import Docs
def resolve(relative_path: str):
return os.path.join(os.path.dirname(__file__), relative_path)
docs = Docs(
__file__,
markdown_files=([
filename for filename in os.listdir(resolve('.'))
if filename.endswith(".md")
]),
)
if __name__ == "__main__":
docs.render().queue().launch()
|