Skip to content

Point to the docs pages and keep the points of the website - #390

Merged
DL6ER merged 7 commits into
masterfrom
docs/readme-review-fixes
Dec 4, 2026
Merged

DL6ER merged 7 commits into
masterfrom
docs/readme-review-fixes

Conversation

@DL6ER

@DL6ER DL6ER commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Follows up #387.

  1. The API description and docker-compose.yml point to the sections on docs/setup.md, and a test checks every pointer to a section of the guides as GitHub reads it.
  2. The README says again that printers not found are added in the Settings and where the model of the demo printer is chosen.
  3. The website keeps its points and leaves out the line of the README that says the same right below them.
  4. tools/flow_gif.py and the tests share one isolation, so the demo label of the tool stays out of the working tree.
The top of the website before and after

DL6ER added 6 commits December 3, 2026 17:09
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>
Copilot AI balanced review requested due to automatic review settings December 3, 2026 20:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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>
@DL6ER
DL6ER merged commit b1318e4 into master Dec 4, 2026
9 checks passed
@DL6ER
DL6ER deleted the docs/readme-review-fixes branch December 4, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants