Skip to content

Remove leftover MkDocs infrastructure#40

Open
Jayanaka-98 wants to merge 1 commit into
jaseci-labs:mainfrom
Jayanaka-98:remove-mkdocs-clean
Open

Remove leftover MkDocs infrastructure#40
Jayanaka-98 wants to merge 1 commit into
jaseci-labs:mainfrom
Jayanaka-98:remove-mkdocs-clean

Conversation

@Jayanaka-98

Copy link
Copy Markdown
Collaborator

What

The site is now a Jac web app (main.jac + jac-client/jac-scale); the MkDocs build/serve stack is dead weight. This removes it. Branched fresh from main, so the diff is only the MkDocs removal.

Removed (~3.5k lines):

  • Config/build: mkdocs.yml, setup.py, jac_syntax_highlighter.py (Pygments lexer used only by MkDocs), Dockerfile + .dockerignore (ran mkdocs_serve.py; deploy uses jac-scale)
  • Scripts: scripts/mkdocs_serve.py, scripts/inject_excerpt_peek.py (its excerpt logic is reimplemented in main.jac as extract_peek_markdown)
  • Front-end assets only MkDocs referenced: docs/extra.css, docs/js/*, docs/playground/language-configuration.json, docs/index.md, docs/blog/index.md

Kept (verified still used):

  • scripts/handle_jac_compile_data.py — wired as an MkDocs hook, but it generates docs/playground/jaclang.zip that main.jac serves to the in-browser Pyodide runner; runs fine standalone.
  • Editorial scheduling (schedule_lib.py, workflows, tests) and all docs/blog/ content + docs/assets/ are untouched.

Docs / comments:

  • Rewrote README.md and CLAUDE.md for the Jac app (install/run/deploy, project structure).
  • The category allowlist comment in main.jac (ALLOWED_CATEGORIES) no longer points at the deleted mkdocs.yml; CLAUDE.md now documents ALLOWED_CATEGORIES as the source of truth.

Verified no live .jac/.py/.toml/workflow code references any removed file.

Follow-up (not in this PR)

deploy.yml runs jac start main.jac --scale but never generates jaclang.zip (the MkDocs hook only ran during mkdocs build). Consider adding a step to run handle_jac_compile_data.py before deploy so runnable code blocks have the runtime in-pod.

The site is now a Jac web app (main.jac + jac-client/jac-scale); the
MkDocs build/serve stack is dead. Remove it:

- Config/build: mkdocs.yml, setup.py, jac_syntax_highlighter.py (Pygments
  lexer used only by MkDocs), Dockerfile + .dockerignore (ran mkdocs_serve.py;
  deploy uses jac-scale).
- Scripts: scripts/mkdocs_serve.py and scripts/inject_excerpt_peek.py (its
  excerpt logic is reimplemented in main.jac as extract_peek_markdown).
- Front-end assets only MkDocs referenced: docs/extra.css, docs/js/*,
  docs/playground/language-configuration.json, docs/index.md,
  docs/blog/index.md.

Kept scripts/handle_jac_compile_data.py: although it was wired as an MkDocs
hook, it generates docs/playground/jaclang.zip that main.jac serves to the
in-browser Pyodide runner, and it runs fine standalone. Editorial scheduling
(schedule_lib.py, workflows, tests) and docs/blog content are untouched.

Updated README.md and CLAUDE.md to document the Jac app instead of MkDocs
(install/run/deploy, project structure, and free-form categories now derived
by the GetCategories walker rather than an mkdocs.yml allowlist).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant