Skip to content

Remove leftover MkDocs infrastructure#39

Closed
Jayanaka-98 wants to merge 8 commits into
jaseci-labs:mainfrom
Jayanaka-98:remove-mkdocs
Closed

Remove leftover MkDocs infrastructure#39
Jayanaka-98 wants to merge 8 commits into
jaseci-labs:mainfrom
Jayanaka-98:remove-mkdocs

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.

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: rewrote README.md and CLAUDE.md for the Jac app (install/run/deploy, structure, and free-form categories now derived by the GetCategories walker rather than an mkdocs.yml allowlist).

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

Note on diff size

main does not yet contain the blog-rewrite migration, so this PR also carries those preceding commits. The MkDocs removal itself is the final commit (Remove leftover MkDocs infrastructure).

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.

Jayanaka-98 and others added 8 commits June 1, 2026 04:46
# Conflicts:
#	docs/blog/posts/building_agentic_ai_with_jac.md
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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).
@Jayanaka-98

Copy link
Copy Markdown
Collaborator Author

Superseded by #40, which branches fresh from main so the diff is only the MkDocs removal (the migration commits this PR carried are already in main via an earlier squash).

@Jayanaka-98
Jayanaka-98 deleted the remove-mkdocs branch June 22, 2026 17:09
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