Repository navigation
A short website that gets people running, checked against the code in CI - #22
Merged
Merged
Conversation
…unning The fourteen MkDocs pages become one landing page (an install line, a command builder for each pangenome tool, a one-minute example with the counts it gives, the example report to click through, the one setting that matters and the first questions people ask) and one filterable reference page, in plain HTML under docs/ with no build step. tools/check_site.py runs in the documentation workflow and fails on a dead link, an option the site shows that recore --help lacks, a wrong default, or an example run whose counts differ from the page's. The long-form pages stay as markdown rendered on GitHub, cleaned of MkDocs-only syntax, and the tutorial no longer says the report has to be served: it opens from disk in Chrome and in Safari's engine.
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.
The documentation was fourteen MkDocs pages and 23,000 words. This replaces the site with two pages meant to get someone running in a couple of minutes, and keeps the long versions as markdown on GitHub.
The website (
docs/index.htmlanddocs/reference.html: plain HTML, CSS and JavaScript, no build step, nothing loaded from another host)cargo install --git https://github.com/PathoGenOmics-Lab/recore --locked.docs/getting-started/inputs.mdchecked on real output.Kept honest in CI (
tools/check_site.py, run by the Documentation / Build job; the names are unchanged for the Dependabot gate)recore --help, the reference lists every option, and its defaults are the binary's;summary.txtmust give the counts the page promises.Broken on purpose six ways (an unknown option in the builder, a wrong default, a dead anchor, an option missing from the reference, a remote stylesheet, a wrong promised count), it failed each time.
Removed and moved
mkdocs.yml,requirements-docs.txt, the MkDocs home, installation, quick start and changelog pages, and the pip entry independabot.yml. The workflow no longer deploys: GitHub Pages can servedocs/as it is (Settings, Pages,mainand/docs) once the repository is public, anddocs/.nojekyllkeeps Jekyll out of it.++key++shortcuts) so they read properly on GitHub, and their links to removed pages point at the README.Checked by running it
cargo install --git https://github.com/PathoGenOmics-Lab/recore --lockedinto a clean directory, then the Try-it commands with the dataset script on its own: Rescued 11, Matrix-corrected 8.The old
gh-pagesbranch with the last MkDocs build is still on the remote and can be deleted.