Repository navigation
Point to the docs pages and keep the points of the website - #390
Merged
Merged
Conversation
1. The API description and the comment in `docker-compose.yml` name the sections on `docs/setup.md`, and a test checks that nothing sends readers to a README section that is gone. 2. The website is also built when `docs/` or `LICENSE` change, as the README links to them. 3. The README says again that printers not found are added in the Settings, where the model of the demo printer is chosen and that the 450 Duo prints on its label side. 4. `tools/flow_gif.py` keeps to itself as the tests do, with one isolation both use, so its demo label no longer lands in `simulated_labels/`. 5. The website drops the points above the intro, which the README now says right below them, and the code for dark screenshots no README shows anymore. Signed-off-by: DL6ER <dl6er@dl6er.de>
1. `isolate()` also leaves the printers on `/dev/usb` alone and takes its patch function as `patch`, so the GIF tool needs nothing besides it. A browser test runs the tool with a real printer in `PRINTERS`. 2. A test checks every link with an anchor and every quoted section name in `docs/<page>.md` against the headings, with the anchors GitHub gives them, and matches the paths of the website build as patterns. 3. The API description links Host names on GitHub, as the container has no `docs/`. 4. Only pull requests build the website for changes in `docs/` and `LICENSE`; master deploys it as before. Signed-off-by: DL6ER <dl6er@dl6er.de>
The tests are isolated from the printers on `/dev/usb` of the machine they run on now, so those that fake one name it. Signed-off-by: DL6ER <dl6er@dl6er.de>
…fixes Signed-off-by: DL6ER <dl6er@dl6er.de> # Conflicts: # tests/conftest.py
…off it The website says what the line of the README says in its points right above it, so the build leaves out a paragraph of the README marked as not on the website. Signed-off-by: DL6ER <dl6er@dl6er.de>
1. The anchors of the docs test leave out code blocks and number a heading that comes again as GitHub does, each page is read once, and the path filters of the website build match as on GitHub. 2. `tools/flow_gif.py` builds its label designer in `make_app()`, which a server test checks for the demo printer alone instead of recording the GIF. 3. The browser tests and the USB detection tests take their isolation from one place, and `docs/printers.md` words the 450 Duo as the README does. Signed-off-by: DL6ER <dl6er@dl6er.de>
1. The docs test reads headings and fences as GitHub does: a heading needs a space after its marks, its closing marks are dropped, a fence ends only with one of its kind and length, and copies of a heading are numbered per name. A link of the README or the guides to a file that is gone fails it too, as the website build is not required. 2. The website leaves out a marked paragraph however the mark is spaced or the lines end, and stops at a mark without a paragraph after it. 3. `tools/flow_gif.py` takes Labelburg's defaults, not `instance/application.py` or the variables of the machine, and a test checks it in a process of its own, without the isolation of the tests around it. 4. The tests drop their own copies of the USB isolation, which `isolate()` does for all. Signed-off-by: DL6ER <dl6er@dl6er.de>
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.
Follows up #387.
docker-compose.ymlpoint to the sections ondocs/setup.md, and a test checks every pointer to a section of the guides as GitHub reads it.tools/flow_gif.pyand the tests share one isolation, so the demo label of the tool stays out of the working tree.