Paths for publication stylesheet and index are relative #20
Open
by Ghost opened 4 years ago
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Following up on the last post of #18, I grabbed the
etherpump-live
repo. I don't think they're current; the stylesheet is very different from the one on the live website. The templates in this repo, though, are more current and contain the fancy index, so I used that.One problem I ran into was when running these commands, copied from
cron.sh
:This produces files which reference, for instance,
~/etherpump/testpublication/testpublication/p/Graffiti.raw.html
for the index (which 404s), and~/etherpump/testpublication/p/testpublication/stylesheet.css
for the individual pads (which also doesn't load until edited to the proper path).While this is likely acceptable behaviour if the paths are relative to the location of the pads or the index on purpose rather than relative to where the command is being run, it should still be documented behaviour.
Running from
~/etherpump
and not referencing relative paths works fine and produced this from test input. Editing this template should work fine for my planned use case, though documentation on the syntax would be welcome.Some comments:
pad
link if the instance isn't public, or remove themagicwords
link?