Repository navigation
docs: Natural Language Inference — retitle, orange AI First Design asides, BYO likelihood - #1589
Merged
Merged
Conversation
…ides, BYO likelihood - "Inference with Natural Language" -> "Natural Language Inference", updated at the page title and all three references (index.md x2, python_api.md). - Dropped the "An LLM can help write a fitting script..." paragraph. - New "Bring Your Own Likelihood" section before Contents: point the assistant at an existing likelihood function and it handles the integration, with the natural-language prompt to do it. - The five "AI First Design" asides now render in the project accent (orange). They were also malformed: `**AI First Design: ... **PyAutoFit** ...` nests bold inside bold, which breaks the emphasis. Each is now a `container` directive with a fixed bold label. - "HowToFit" -> "HowToFit / Teacher Mode", and its teacher-mode prompt moves from a fenced code block to a blockquote, matching every other natural-language prompt on the page (it was rendering as code). Styling lands in a new docs/_static/pyautofit.css rather than pyauto.css, which is byte-identical across PyAutoFit/PyAutoGalaxy/PyAutoLens by contract. Colour comes from Furo's --color-brand-content, so it follows the light/dark accent already set in conf.py. Sphinx: 30 warnings, unchanged against the baseline, and the warning set is byte-identical to the pre-change build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk
Merged
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up polish on the overview page from #1588.
index.md×2,python_api.md).Two defects fixed along the way
The asides were malformed markdown. Each read
**AI First Design: … **PyAutoFit** …**— bold opened inside bold, which terminates the emphasis early rather than nesting. They have never rendered as intended. Each is now acontainerdirective with a fixed**AI First Design:**label.The teacher-mode prompt was in a fenced code block, so a natural-language prompt was rendering as source code. Every other prompt on the page is a
>blockquote; this one now matches.Styling
The orange lands in a new
docs/_static/pyautofit.css, not inpyauto.css— that file states in its own header that it is identical across PyAutoFit / PyAutoGalaxy / PyAutoLens, so a PyAutoFit-only rule there would silently diverge the three. Colour comes from Furo's--color-brand-content, so it follows the light/dark accent already configured inconf.py(#c2410c/#f28c38) instead of hard-coding a second orange.Test Plan
python -m sphinx -b html docs …→ 30 warnings, baseline 30, and the warning set is byte-identical to the pre-change build (diffed, not just counted).<div class="ai-first-design docutils container">, andpyautofit.cssis linked from the built page.<title>isNatural Language Inference - PyAutoFit; no reference to the old title remains indocs/.Companion PR: PyAutoLabs/autofit_assistant#34 mirrors the same changes in the README.
🤖 Generated with Claude Code
https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk