mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-24 17:06:37 +02:00
355d65b3ba
I created a first implementation for the mdbook-slide-evaluator I described in #2234. One has to run a WebDriver compatible browser (e.g. selenium-chromium) so the slides can be rendered. The browser can access the file either via a file:// or http:// uri. The tool grabs the configurable element from that page and evaluates the size of this element. Output can be stored in a csv file or at stdout and looks like this at the moment: ``` $ mdbook-slide-evaluator book/html/android/aidl book/html/android/aidl/birthday-service.html: 750x134 book/html/android/aidl/example-service/changing-definition.html: 750x555 book/html/android/aidl/example-service/changing-implementation.html: 750x786 book/html/android/aidl/example-service/client.html: 750x1096 book/html/android/aidl/example-service/deploy.html: 750x635 book/html/android/aidl/example-service/interface.html: 750x570 book/html/android/aidl/example-service/server.html: 750x837 book/html/android/aidl/example-service/service-bindings.html: 750x483 book/html/android/aidl/example-service/service.html: 750x711 book/html/android/aidl/types/arrays.html: 750x291 book/html/android/aidl/types/file-descriptor.html: 750x1114 book/html/android/aidl/types/objects.html: 750x1258 book/html/android/aidl/types/parcelables.html: 750x637 book/html/android/aidl/types/primitives.html: 750x366 book/html/android/aidl/types.html: 750x197 ``` --------- Co-authored-by: Martin Geisler <martin@geisler.net>
33 lines
418 B
Plaintext
33 lines
418 B
Plaintext
# Build artifacts
|
|
/book/
|
|
target/
|
|
*.bin
|
|
|
|
# Translation artifacts
|
|
po/*.mo
|
|
po/*.po~
|
|
|
|
# macOS artifacts
|
|
.DS_Store
|
|
|
|
# Jetbrains IDEs project files
|
|
.idea/
|
|
.iml
|
|
.iws
|
|
count.dat
|
|
|
|
# Nodejs Files (dprint)
|
|
node_modules/
|
|
package.json
|
|
pnpm-lock.yaml
|
|
|
|
# Crowdin Config (Contains API Keys)
|
|
crowdin.yml
|
|
|
|
# Google's Project IDX files and VSCode
|
|
.idx/
|
|
.vscode/
|
|
|
|
# Python virtualenv (for mdbook-slide-evaluator local installation)
|
|
.venv/
|