GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — libprocessing/docs/gen_ref_pages.py at python-api · processing/libprocessing Expand file tree/ Copy pathgen_ref_pages.pyMore file actions 22 lines (18 loc) · 777 Bytes / Copy pathgen_ref_pages.pyFile metadata and controls22 lines (18 loc) · 777 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 from pathlib import Path import mkdocs_gen_files readme = Path("crates/processing_pyo3/README.md").read_text(encoding="utf-8") with mkdocs_gen_files.open("index.md", "w") as f: f.write(readme) modules = { "reference/index.md": ("API Reference", "mewnala", {"show_submodules": False}), "reference/math.md": ("mewnala.math", "mewnala.math", {}), # "reference/color.md": ("mewnala.color", "mewnala.color", {}), } for path, (title, module, options) in modules.items(): with mkdocs_gen_files.open(path, "w") as f: f.write(f"# {title}\n\n") if options: opts = "\n".join(f" {k}: {v}" for k, v in options.items()) f.write(f"::: {module}\n options:\n{opts}\n") else: f.write(f"::: {module}\n") |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |