Re: Images in freebsd-doc

看板FB_questions作者時間11年前 (2014/07/06 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
On Sat, 5 Jul 2014, Carl Johnson wrote: > I usually prefer to use local documentation, so I have the > en-freebsd-doc package installed (the freebsd-doc-en port). My browser > doesn't show any images and it turns out that they have really screwy > paths to those images. For example, the image for figure 2.4 in section > 2.5.1 is (warning: *long* line) > 'file:///wrkdirs/usr/ports/misc/freebsd-doc-en/work/doc/share/images/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png. > The actual path for the image is > file:///usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png, > but the relative location is just > bsdinstall/bsdinstall-keymap-select-default.png. > > Is there a reason for using that kind of path for the image when the > installed path isn't remotely like that? Should I munge apache to > somehow get to that path, or should I file a PR to try to get something > reasonable? When I build that port, the image link points (correctly) to file:///usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png What options are set for the port? I tried only HTML and HTML-SPLIT. Could you have an entry in /etc/make.conf that is interfering? Maybe NO_STAGE, or some non-default directory for building or installing? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JkASIh9 (FB_questions)
文章代碼(AID): #1JkASIh9 (FB_questions)