Repository navigation
Split the README into a front page and docs/ pages - #4
Merged
Merged
Conversation
The README was 681 lines. It is now 57: what fanbase is, how to install it, how to use it with Fandango, a first look, and a table that says which page to read for what. The rest is moved, not rewritten, into docs/: using-specs, writing-specs, evaluating, publishing, private-record and registries. Every other line of the old README is in the new files; three cross references that pointed to another section now point to its page. The links in the README are absolute, because PyPI shows it as the package's page.
Merged
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 README was 681 lines, with the reference for every command in it. It is now a 57-line front page, and the rest is one page per topic in
docs/.README (what is kept is the original text): what fanbase is, install, using specs with Fandango. New: a four-line first look, and a table that says which page to read for what. Its links are absolute, because PyPI shows this file as the package's page and relative links would break there (they work once this is on
main).docs/, moved and not rewritten:using-specs.mdlist,search,show,install,outdated,diff,cite,uninstall,update, andfanbase.lockwriting-specs.mdextends), and contributing a spec (new,fork,rebase,check,changes,publish)evaluating.mdevaluate, targets,--coverage,quality.jsonand--compare-withpublishing.mdsign/verify,site,doiprivate-record.mdincidentsregistries.mdformat.yml,metadata.yml), andreindexHow was it tested?
By a script, not by reading: every non-blank line of the old README is in the new files, except three lines I changed on purpose (a heading that moved down or up a level is the same line). Those three pointed to something that is now on another page: "as above" (now a link to
using-specs.md), "see below" in theformat.ymlexample (now "see evaluating.md"), and the#building-on-other-specslink (nowwriting-specs.md#...). Every link and anchor in the new files resolves, every command in the table exists in the CLI, and the package builds and passestwine check.