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 — Search the manuals on the site itself (instead of Qwant), with ⌘K jump-to-page by tombouctou · Pull Request #29 · FeynCalc/feyncalc.github.io ConversationThe search box in the top bar currently sends the query to Qwant with What changes for a reader
How it worksThe engine is sitesearch, a small dependency-free static-site search. It is attached as a git submodule over https, which GitHub Pages fetches itself; in a fresh clone run
What is indexed, and the size
Testing
Known limits
Related#28 fixes 76 manual/example pages where a code cell is shown as raw "```mathematica" text. If #28 is merged first, the indexes here should be rebuilt ( 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…o jump to a page The search box in the top bar sent the query to Qwant with "site:feyncalc.github.io". It now goes to a search page on the site itself (/search), which searches the FeynCalc manual (stable and development), the FeynHelpers manual and the example gallery entirely in the browser: no third-party service, nothing sent anywhere, works offline and on a local `jekyll serve`. The engine is sitesearch (https://github.com/tombouctou/sitesearch), attached as a git submodule over https so that GitHub Pages fetches it. - _pages/search.html: the search page. Pages whose name matches come first (nav-index.json is read first), then the paragraphs mentioning it. - _includes/head.html: palette.js on every page. ⌘K / Ctrl-K (or "/") opens a jump-to-page palette over the names of all manual pages and examples; a query no name matches falls through to the full text. Its button sits in the top bar next to the search box (#nav-jump). - tools/search-index.js: the manuals are pandoc HTML that Jekyll does not read, so their indexes are built by this script (Node, no dependencies) and committed: <book>/search-index.json + search-index-text/ (two-tier: a word map plus chunks of text fetched per query) and nav-index.json. Rerun it after regenerating the manuals. - _data/sitesearch.yml: the site's own Markdown pages are indexed by Jekyll (sitesearch/jekyll/search-index.json -> /search-index.json), which names the manuals' indexes as shards. - _config.yml: the submodule's docs and checks and tools/ are excluded from the site; the old forum archive stays out of the index. - css/hyde.css: the palette and the results in the site's colours. Co-Authored-By: Claude Opus 5.5 <[email protected]> - sitesearch -> 387daa9: formulas are found however they are spelled
(γ^μγ^ν finds \bar{\gamma}^{\mu } \bar{\gamma}^{\nu }, \[Mu] is μ),
and queries with punctuation (Passarino-Veltman, DiracTrace[) now work
in two-tier indexes.
- tools/search-index.js keeps displayed formulas (the output cells), which
html.js now hands over as TeX. Only the displayed formulas over 1000
characters are dropped (232 of 12 181, a quarter of all the TeX): past
600 characters the engine shows a formula as cut TeX anyway, and no query
is answered only by a three-screen expression.
- /search: KaTeX (0.16.11 from jsDelivr, pinned with SRI) draws formulas in
the results — without it they are shown as TeX; symbols.js lets a reader
type \gam or pick from a Σ grid to enter a symbol.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ex.js) Generated; rerun the script after regenerating the manuals. Co-Authored-By: Claude Opus 5.5 <[email protected]> …prompt Co-Authored-By: Claude Opus 5.5 <[email protected]> This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||||||||
| 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. |