mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
Remove style.css to avoid unsafe links
Documentation shown inside Plinth is not effected by this as it includes its own styling. Documentation that is opened by user directly from /usr/share/doc/plinth is effected.
This commit is contained in:
parent
b5bfb388e9
commit
76717a6f08
12
doc/Makefile
12
doc/Makefile
@ -94,18 +94,18 @@ latex: $(LATEX)
|
|||||||
csplit -s -f $@ $@01 '/<\/body>/'
|
csplit -s -f $@ $@01 '/<\/body>/'
|
||||||
mv $@00 $@
|
mv $@00 $@
|
||||||
rm $@01
|
rm $@01
|
||||||
%.html: %.mdwn header.html footer.html style.css Makefile
|
%.html: %.mdwn header.html footer.html Makefile
|
||||||
$(PANDOC) -s --toc -c style.css -f markdown -o $@ header.html $< footer.html
|
$(PANDOC) -s --toc -f markdown -o $@ header.html $< footer.html
|
||||||
|
|
||||||
hacking.html: hacking.mdwn ../TODO style.css Makefile
|
hacking.html: hacking.mdwn ../TODO Makefile
|
||||||
$(PANDOC) -s --toc -c style.css -o $@ -f markdown hacking.mdwn ../TODO
|
$(PANDOC) -s --toc -o $@ -f markdown hacking.mdwn ../TODO
|
||||||
|
|
||||||
#plinth.html: $(NEWLINE_SOURCES) ../TODO style.css Makefile
|
#plinth.html: $(NEWLINE_SOURCES) ../TODO style.css Makefile
|
||||||
# $(PANDOC) -s --toc -c style.css -o $@ -f markdown $(NEWLINE_SOURCES)
|
# $(PANDOC) -s --toc -c style.css -o $@ -f markdown $(NEWLINE_SOURCES)
|
||||||
|
|
||||||
plinth.html: $(NEWLINE_SOURCES) ../TODO style.css Makefile
|
plinth.html: $(NEWLINE_SOURCES) ../TODO Makefile
|
||||||
@csplit -s -f copyright_notice COPYING.mdwn '/##/'
|
@csplit -s -f copyright_notice COPYING.mdwn '/##/'
|
||||||
$(PANDOC) -s --toc -c style.css -o $@ -f markdown $(NEWLINE_MAN_SOURCES)
|
$(PANDOC) -s --toc -o $@ -f markdown $(NEWLINE_MAN_SOURCES)
|
||||||
@rm -f copyright_notice0? .make_man
|
@rm -f copyright_notice0? .make_man
|
||||||
|
|
||||||
html: $(HTML) $(HTML_PART)
|
html: $(HTML) $(HTML_PART)
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
../static/theme/bootstrap/css/bootstrap.min.css
|
|
||||||
Loading…
x
Reference in New Issue
Block a user