Hi,
I've created a package 'ellipsis-msg' and uploaded it to Racket Package Index.
It has the same setup as 'columns-pane', but somehow the documentation is generated for 'columns-pane', but not for 'ellipsis-msg'.
Still, if I install 'ellipsis-msg' from using the package manager on windows, there's documentation in my local help desk.
Is there something I'm missing?
Also the documentation for 'columns-pane' does not get updated anymore...
When I attempt to install, I get an error.
raco setup: 0 running: <pkgs>/ellipsis-msg/scribblings/ellipsis-msg.scrbl
decode-flow: contract violation
expected: pre-flow?
given: (part-start* 0 #f '((part "Example_code")) (style #f '()) '("Example code") (index-desc '#hash((kind . "part") (part? . #t))))
in: an element of
the 1st argument of
(-> (listof pre-flow?) (listof block?))
contract from:
<pkgs>/scribble-lib/scribble/decode.rkt
blaming: <pkgs>/scribble-lib/scribble/private/manual-class.rkt
(assuming the contract is correct)
at: <pkgs>/scribble-lib/scribble/decode.rkt:75:2
context...:
/Applications/Racket v8.15/collects/racket/contract/private/blame.rkt:350:0: raise-blame-error
/Applications/Racket v8.15/collects/racket/contract/private/list.rkt:215:14
/Applications/Racket v8.15/collects/racket/contract/private/arrow-val-first.rkt:486:18
/Applications/Racket v8.15/share/pkgs/scribble-lib/scribble/private/manual-class.rkt:172:0: *include-class
body of "/Users/Knoble/Library/Racket/8.15/pkgs/ellipsis-msg/scribblings/ellipsis-msg.scrbl"
context...:
/Applications/Racket v8.15/collects/setup/parallel-do.rkt:344:4: work-done method in list-queue%
/Applications/Racket v8.15/collects/setup/parallel-do.rkt:292:17
/Applications/Racket v8.15/collects/setup/parallel-do.rkt:246:4
/Applications/Racket v8.15/share/pkgs/racket-index/setup/scribble.rkt:139:0: setup-scribblings
/Applications/Racket v8.15/collects/setup/setup.rkt:78:3
/Applications/Racket v8.15/collects/pkg/main.rkt:18:0: setup
body of (submod "/Applications/Racket v8.15/collects/pkg/main.rkt" main)
/Applications/Racket v8.15/collects/raco/raco.rkt:41:0
body of "/Applications/Racket v8.15/collects/raco/raco.rkt"
body of "/Applications/Racket v8.15/collects/raco/main.rkt"
That’s new…I’ll fix it tomorrow.
Followup-question. I added a video in the scribble documentation:
@(require
scribble/example
scribble/core
scribble/html-properties
(for-label racket/gui)
@(for-label ellipsis-msg))
@(define(add-video video)
(make-element
(make-style #f
(list
(make-alt-tag "video")
(make-attributes (list (cons 'controls "")
(cons 'width "400")
(cons 'src video)))
)
)
null))
(...)
@add-video{../../resources/example.mp4}
@add-video{https://github.com/hdijkema/ellipsis-msg/raw/refs/heads/main/resources/example.mp4}
Of which the second one probably works, but I'd rather work with a local (package) dependency.
The one I added (../../resources/example.mp4) seems to work on Windows, but not so via the racket packages index.
Any ideas?